forked from cezanne/usbip-win
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathusbip_stub.inx
67 lines (54 loc) · 1.91 KB
/
usbip_stub.inx
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
;/*++
;
; INF file for installing USB/IP stub driver
;
;--*/
[Version]
Signature="$WINDOWS NT$"
; USB class cannot be installed via legacy hardware. It can be done via devcon
;Class=USB
;ClassGUID={36FC9E60-C465-11CF-8056-444553540000}
Class=System
ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider=%OpenSource%
CatalogFile=usbip_stub.cat
DriverVer = 06/21/2018,0.3.0.0
[Manufacturer]
%StdMfg%=Standard,NTamd64
[Standard.NTamd64]
%DeviceDesc%=usbip_stub_Device, %hwid%
[DestinationDirs]
DefaultDestDir = 12
[SourceDisksNames]
1 = %DiskId1%,,,""
[SourceDisksFiles]
usbip_stub.sys = 1,,
[Drivers_Dir]
usbip_stub.sys
[usbip_stub_Device.NTamd64]
CopyFiles=Drivers_Dir
[usbip_stub_Device.NTamd64.HW]
AddReg=usbip_stub_Device_AddReg
[usbip_stub_Device_AddReg]
HKR,,DeviceCharacteristics,0x10001,0x0100 ; Use same security checks on relative opens
;Using default permissions so comment out next lines
;HKR,,Security,,"D:P(A;;GA;;;SY)(A;;GRGWGX;;;BA)(A;;GRGWGX;;;WD)(A;;GRGWGX;;;RC)" ; Allow generic-all access to all users
;HKR,,Security,,"D:P(A;;GA;;;BA)(A;;GA;;;SY)" ; Allow generic-all access to Built-in administrators and Local system
;-------------- Service installation
[usbip_stub_Device.NTamd64.Services]
AddService = usbip_stub,%SPSVCINST_ASSOCSERVICE%, usbip_stub_Service_Inst
; -------------- stub driver install sections
[usbip_stub_Service_Inst]
DisplayName = %ServiceDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\usbip_stub.sys
LoadOrderGroup = Extended Base
[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
OpenSource = "Open Source"
StdMfg = "USB/IP Project"
DiskId1 = "USB/IP STUB Disk"
DeviceDesc = "USB/IP STUB"
ServiceDesc = "USB/IP STUB Service"