In order to register your USB device to work with WinDriver, you can perform one of two of the following:
You can add the following entry to the registry (can be added to your
platform.reg file):
[HKEY_LOCAL_MACHINE\DRIVERS\USB\LoadClients\<ID>\Default\Default\WDR]:
"DLL"="windrvr6.dll"
<ID> consists of your vendor ID and product ID, separated by
an underscore character: <MY VENDOR ID>_<MY PRODUCT
ID>.
Insert your device specific information to this key. The key registers your device with Windows CE Plug-and-Play (USB driver) and enables identification of the device during boot. You can refer to the registry after calling WDU_Init() and then this key will exist. From that moment the device will be recognized by CE. If your device has a persistent registry, this addition will remain until you remove it.
For more information, refer to the Microsoft Development Network (MSDN) Library, under the USB Driver Registry Settings section.
The following registry example shows how to register your device with the PCI bus driver (can be added to your platform.reg file).
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCI\Template\MyCard] "Class"=dword:04 "SubClass"=dword:01 "ProgIF"=dword:00 "VendorID"=multi_sz:"1234","1234" "DeviceID"=multi_sz:"1111","2222"
For more information, refer to MSDN Library, under PCI Bus Driver Registry Settings section.