![]() ![]() The IOCTL_HID_READ_REPORT request transfers an input report from a HIDClass device into the HID class driver's buffer. The retrieved string is a NULL-terminated wide character string in a human-readable format. The IOCTL_HID_GET_STRING request obtains a manufacturer ID, product ID, or serial number for a top-level collection. The IOCTL_HID_GET_REPORT_DESCRIPTOR request obtains the report descriptor for a HIDClass device. The IOCTL_HID_GET_DEVICE_DESCRIPTOR request obtains a HIDClass device's HID descriptor. The IOCTL_HID_GET_DEVICE_ATTRIBUTES request obtains a HIDClass device's attributes in a HID_DEVICE_ATTRIBUTES structure. The IOCTL_HID_DEACTIVATE_DEVICE request deactivates a HIDClass device, which causes it to stop operations and terminate all outstanding I/O requests. The IOCTL_HID_ACTIVATE_DEVICE request activates a HIDClass device, which makes it ready for I/O operations. User-mode applications and other kernel-mode drivers can only communicate with HID collections by using the HIDClass support routines and HID class driver IOCTLs. Only the HID class driver sends these IOCTLs to a HID minidriver. HID Minidriver IOCTLsĪ HID minidriver must handle a set of IOCTLs. ![]() The header defines IOCTLs that a HID minidriver must support. HID minidrivers use only the HidRegisterMinidriver routine.įor Windows 8.1 Microsoft introduced the new API which lets you write Windows apps that access HID devices. However, kernel-mode drivers can only call HidP_Xxx routines. There are system-supplied routines that user-mode applications, kernel-mode drivers, and HID minidrivers use to operate devices in the HIDClass device setup class.Īs a general rule, user-mode applications can use the HidD_Xxx and HidP_Xxx routines. Typically, these are devices that humans use to directly control the operation of computer systems. This section contains the programming interfaces related to Human Interface Devices (or HID). To develop Human Interface Devices (HID), you need these headers:įor the programming guide, see Human Interface Devices (HID).įor Win32 HID programming APIs, see Win32 Human Interface Devices Reference. Overview of the Human Interface Devices (HID) technology. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |