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.