summaryrefslogtreecommitdiff
path: root/usb/UcmCxUcsi/UcmCxUcsi.inf
blob: e238ba06dbb8ffe837ef2595c4b827f05330c085 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
;
; Copyright (c) Microsoft Corporation. All rights reserved.
;
; INF Name:
;
;     UcmCxUcsi.inf
;
; Abstract:
;
;     INF for installing the USB Connector Manager sample client driver for
;     UCSI-compatible systems.
;
; Important:
;     This INF depends on features for the Driver Store DIRIDs which are available starting Windows 10 1709
;

[Version]
Signature="$WINDOWS NT$"
Class=UCM
ClassGuid={e6f1aa1c-7f3b-4473-b2e8-c97d8ac71d53}
Provider=%ManufacturerName%
CatalogFile=UcmCxUcsi.cat
PnpLockdown = 1

[DestinationDirs]
DefaultDestDir = 13

;*****************************************
; Install Section
;*****************************************

[Manufacturer]
%ManufacturerName%=Standard,NT$ARCH$.10.0...16299

[Standard.NT$ARCH$.10.0...16299]
%UcmCxUcsi.DeviceDesc%=UcmCxUcsi_Device, ACPI\USBC000, ACPI\PNP0CA0 ; TODO: edit hw-id to match your device.

[UcmCxUcsi_Device.NT]
CopyFiles=Drivers_Dir

[Drivers_Dir]
UcmCxUcsi.sys

;-------------- Service installation
[UcmCxUcsi_Device.NT.Services]
AddService = UcmCxUcsi,%SPSVCINST_ASSOCSERVICE%, UcmCxUcsi_Service_Inst

; -------------- UcmCxUcsi driver install sections
[UcmCxUcsi_Service_Inst]
DisplayName    = %UcmCxUcsi.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %13%\UcmCxUcsi.sys
Dependencies   = UcmCx

[SourceDisksNames]
3426 = windows cd

[SourceDisksFiles]
UcmCxUcsi.sys = 3426

[UcmCxUcsi_Device.NT.Wdf]
KmdfService =  UcmCxUcsi, UcmCxUcsi_wdfsect

[UcmCxUcsi_wdfsect]
KmdfLibraryVersion = $KMDFVERSION$

[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
ManufacturerName="<Your manufacturer name>" ;TODO: Replace with your manufacturer name
DiskName = "UcmCxUcsi Installation Disk"
UcmCxUcsi.DeviceDesc = "UcmCxUcsi Sample Device"
UcmCxUcsi.SVCDESC = "UcmCxUcsi Sample Service"