WinUSB driver development using XP

  • Thread starter Thread starter Wolfbane
  • Start date Start date
W

Wolfbane

I am converting an existing USB driver to VISTA with the use of WinUSB.
However, I am developing the driver using WinXP. I have been through the
example INF file only to find that the file makes reference to WINUSB.NT and
WINUSB.INF there is a further reference to WinUsb.sys. None of the
aforementioned files exist in the current WINDDK (6000). The CoInstallers are
present but the "How to Install WinUsb.sys as a function driver" tutorial
makes the assumption that the files are available.



Are these files available? if so where can I get them?



The lines making reference to these files are highlighted with (*****)



Example INF:-



[Version]

Signature = "$Windows NT$"

Class = MyDeviceClass

ClassGuid={78A1C341-4539-11d3-B88D-00C04FAD5171}

Provider = %ProviderName%

CatalogFile=MyCatFile.cat



; ========== Manufacturer/Models sections ===========



[Manufacturer]

%ProviderName% = MyDevice_WinUSB,NTx86,NTamd64



[MyDevice_WinUSB.NTx86]

%USB\MyDevice.DeviceDesc% =USB_Install, USB\VID_0547&PID_1002



[MyDevice_WinUSB.NTamd64]

%USB\MyDevice.DeviceDesc% =USB_Install, USB\VID_0547&PID_1002



; =================== Installation ===================



;[1]

[USB_Install]

Include=winusb.inf (*****)

Needs=WINUSB.NT (*****)



;[2]

[USB_Install.Services]

Include=winusb.inf (*****)

AddService=WinUSB,0x00000002,WinUSB_ServiceInstall



;[3]

[WinUSB_ServiceInstall]

DisplayName = %WinUSB_SvcDesc%

ServiceType = 1

StartType = 3

ErrorControl = 1

ServiceBinary = %12%\WinUSB.sys (*****)







Etc,Etc
 
Back
Top