上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 36 下一页
摘要: The operating system, drivers, and device installation components store information about drivers and devices in the registry. In general, drivers and device installation components should use the reg... 阅读全文
posted @ 2009-07-22 11:10 Fan Zhang 阅读(507) 评论(0) 推荐(0)
摘要: 会注册GUID_DEVINTERFACE_HID(GUID_CLASS_INPUT),和GUID_DEVINTERFACE_USB_DEVICE(GUID_CLASS_USB_DEVICE)其中USBView就是利用注册GUID_CLASS_USB_DEVICE来实现观察USB设备的 阅读全文
posted @ 2009-07-22 00:52 Fan Zhang 阅读(276) 评论(0) 推荐(0)
摘要: 安装设备时候可以用这个命令devcon install xx.inf “hardward id”注册表HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class,代表这个设备所属的类别HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceClasses,代表... 阅读全文
posted @ 2009-07-22 00:29 Fan Zhang 阅读(241) 评论(0) 推荐(0)
摘要: HKCRAbbreviation for HKEY_CLASSES_ROOTHKCUAbbreviation for HKEY_CURRENT_USERHKLMAbbreviation for HKEY_LOCAL_MACHINEHKUAbbreviation for HKEY_USERSHKRRelative root − that is, keys specified using ... 阅读全文
posted @ 2009-07-20 14:39 Fan Zhang 阅读(455) 评论(0) 推荐(0)
摘要: 在Interface Descriptor中,Class被设为HID,SubClass被设为Subclass Code Description 0 No Subclass 1 Boot Interface Subclass 2 - 255 Reserved而具体是鼠标还是键盘,这些不用Class描述,而用HID Report Descriptor描述 阅读全文
posted @ 2009-07-20 10:24 Fan Zhang 阅读(328) 评论(0) 推荐(0)
摘要: USB HID设备所需要的描述符 其中 Physical descriptor是可选的,一般不用。 阅读全文
posted @ 2009-07-17 17:58 Fan Zhang 阅读(576) 评论(0) 推荐(0)
摘要: Using USB terminology, a device may send or receive a transaction every USB frame (1 millisecond). A transaction may be made up of multiple packets (token, data, handshake) but is limited in size to 8... 阅读全文
posted @ 2009-07-17 17:36 Fan Zhang 阅读(314) 评论(0) 推荐(0)
摘要: software key A system-generated, device-specific, registry subkey that contains information about the driver software associated with a device. Also called a driver key.hardware key A system-generated... 阅读全文
posted @ 2009-07-16 14:47 Fan Zhang 阅读(269) 评论(0) 推荐(0)
摘要: The following trees in the registry are of particular interest to driver writers (where HKLM represents HKEY_LOCAL_MACHINE):The HKLM\SYSTEM\CurrentControlSet\Services TreeThe HKLM\SYSTEM\CurrentContro... 阅读全文
posted @ 2009-07-16 14:39 Fan Zhang 阅读(247) 评论(0) 推荐(0)
摘要: 1.Registry Key Object RoutinesA driver can manipulate a registry-key object by performing the following steps:Open a handle to the registry-key object. For more information, see Opening a Handle to a ... 阅读全文
posted @ 2009-07-16 14:28 Fan Zhang 阅读(400) 评论(0) 推荐(0)
上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 36 下一页