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
|
;
; This INF file instructs Windows to load winusb.sys against the USB devices
; implemented by the test gadget that don't implement a standard USB class.
;
[Version]
Signature = "$Windows NT$"
Class = USBDevice
ClassGUID = {88BAE032-5A81-49f0-BC3D-A4FF138216D6}
Provider = %ManufacturerName%
CatalogFile = WinUSBInstallation.cat
DriverVer = 09/04/2012,13.54.20.543
; ========== Manufacturer/Models sections ===========
[Manufacturer]
%ManufacturerName% = Standard,NTx86,NTia64,NTamd64
[Standard.NTx86]
%USB\DefaultDevice.DeviceDesc% = USB_Install,USB\VID_18D1&PID_58F0
%USB\EchoDevice.DeviceDesc% = USB_Install,USB\VID_18D1&PID_58F4
[Standard.NTia64]
%USB\DefaultDevice.DeviceDesc% = USB_Install,USB\VID_18D1&PID_58F0
%USB\EchoDevice.DeviceDesc% = USB_Install,USB\VID_18D1&PID_58F4
[Standard.NTamd64]
%USB\DefaultDevice.DeviceDesc% = USB_Install,USB\VID_18D1&PID_58F0
%USB\EchoDevice.DeviceDesc% = USB_Install,USB\VID_18D1&PID_58F4
; ========== Class definition ===========
[ClassInstall32]
AddReg = ClassInstall_AddReg
[ClassInstall_AddReg]
HKR,,,,%ClassName%
HKR,,NoInstallClass,,1
HKR,,IconPath,%REG_MULTI_SZ%,"%systemroot%\system32\setupapi.dll,-20"
HKR,,LowerLogoVersion,,5.2
; =================== Installation ===================
[USB_Install]
Include = winusb.inf
Needs = WINUSB.NT
[USB_Install.Services]
Include = winusb.inf
Needs = WINUSB.NT.Services
[USB_Install.HW]
AddReg = Dev_AddReg
[Dev_AddReg]
HKR,,DeviceInterfaceGUIDs,0x10000,"{9f543223-cede-4fa3-b376-a25ce9a30e74}"
; =================== Strings ===================
[Strings]
ManufacturerName = "Google, Inc."
ClassName = "USB Test Devices"
USB\DefaultDevice.DeviceDesc = "Test Gadget"
USB\EchoDevice.DeviceDesc = "Echo Gadget"
|