2008年11月11日星期二

USB Host Class Client Driver Registry Setting

在Windows Mobile上,当HUB感受到有新设备插入时,Host Controller的Driver会试图枚举注册表。例如
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\4817_4099\Default\8\Mass_Storage_Class]
他们的含义如下
HKEY_LOCAL_MACHINE
Drivers
USB
LoadClients
VendorId_ProductId_ReleaseNumber
DeviceClass_DeviceSubClass_DeviceProtocol
Interface_Class_InterfaceSubClass_InterfaceProtocol
Client_Class
如上所示,如果没有特别定义,就用Default,每一个Key包含3个类别,可以制定任意几个