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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
|
;/*++
;
;Copyright (c) 2010 Microsoft Corporation All rights Reserved
;
;Module Name:
;
; SerialBusWdk.INF
;
;Abstract:
; INF file for installing a serial bus driver over UART transport
;
;Installation Notes:
; For testing purpose, use Devcon.exe to install
;
; "devcon install SerialBusWdk.inf SerialBusWdk_RootEnum"
;
;--*/
[Version]
Signature="$WINDOWS NT$"
Class=System
ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider=%ProviderString%
DriverVer=06/21/2006,6.2.7923.0
CatalogFile=SerialBusWdk.cat
PnpLockdown=1
[DestinationDirs]
DefaultDestDir = 12
[SourceDisksNames]
1 = %DiskId1%,,,""
[SourceDisksFiles]
SerialBusWdk.sys = 1,,
[ControlFlags]
ExcludeFromSelect=*
[Manufacturer]
%StdMfg%=VendorModels,NT$ARCH$
;*****************************************
; Serial bus driver install Section
;*****************************************
[VendorModels.NT$ARCH$]
%Bus.DeviceDesc%=Bus_Vendor, SerialBusWdk_RootEnum
[Bus_Vendor.NT]
CopyFiles=Bus.CopyFiles
[Bus.CopyFiles]
SerialBusWdk.sys
[Bus_Vendor.NT.HW]
AddReg=Bus_Vendor.NT.AddReg
[Bus_Vendor.NT.AddReg]
; Reference: http://msdn.microsoft.com/en-us/library/ff546320.aspx
HKR,,DeviceCharacteristics,0x10001,0x0100 ; Use same security checks on relative opens
; Reference: http://msdn.microsoft.com/en-us/library/windows/hardware/ff563667(v=vs.85).aspx
HKR,,Security,,"D:P(A;;GA;;;BA)(A;;GA;;;SY)(A;;GA;;;LS)" ; DACL Protected to allow generic-all access to built-in Admin group, system, and Local Service.
;-------------- Service installation
[Bus_Vendor.NT.Services]
AddService = SerialBusWdk,%SPSVCINST_ASSOCSERVICE%, Bus_Service_Inst
; -------------- statbus driver install sections
[Bus_Service_Inst]
DisplayName = %Bus.SVCDESC%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\SerialBusWdk.sys
[Strings]
;Non-Localizable
SPSVCINST_ASSOCSERVICE= 0x00000002
;Localizable
ProviderString = "TODO-Set-Provider"
StdMfg = "(Standard system devices)"
DiskId1 = "Serial Bus Driver over UART Installation Disk #1"
Bus.DeviceDesc = "Serial Bus Driver over UART Bus Enumerator"
Bus.SVCDESC = "Serial Bus Driver over UART Bus Enumerator"
|