hidport.h header

Definitions that are common to all HID minidrivers.

For more information, see:

hidport.h contains the following programming interfaces:

IOCTLs

 
IOCTL_HID_ACTIVATE_DEVICE

The IOCTL_HID_ACTIVATE_DEVICE request activates a HIDClass device, which makes it ready for I/O operations.
IOCTL_HID_DEACTIVATE_DEVICE

The IOCTL_HID_DEACTIVATE_DEVICE request deactivates a HIDClass device, which causes it to stop operations and terminate all outstanding I/O requests.
IOCTL_HID_GET_DEVICE_ATTRIBUTES

The IOCTL_HID_GET_DEVICE_ATTRIBUTES request obtains a HIDClass device's attributes in a HID_DEVICE_ATTRIBUTES structure.
IOCTL_HID_GET_DEVICE_DESCRIPTOR

The IOCTL_HID_GET_DEVICE_DESCRIPTOR request obtains a HIDClass device's HID descriptor.
IOCTL_HID_GET_REPORT_DESCRIPTOR

The IOCTL_HID_GET_REPORT_DESCRIPTOR request obtains the report descriptor for a HIDClass device.
IOCTL_HID_GET_STRING

The IOCTL_HID_GET_STRING request obtains a manufacturer ID, product ID, or serial number for a top-level collection. The retrieved string is a NULL-terminated wide character string in a human-readable format.
IOCTL_HID_READ_REPORT

The IOCTL_HID_READ_REPORT request transfers an input report from a HIDClass device into the HID class driver's buffer.
IOCTL_HID_SEND_IDLE_NOTIFICATION_REQUEST

The IOCTL_HID_SEND_IDLE_NOTIFICATION_REQUEST control code is the IOCTL of the idle notification request IRP that HIDClass sends to HID mini drivers, such as HIDUSB, to inform the bus driver that the device is now idle.
IOCTL_HID_WRITE_REPORT

The IOCTL_HID_WRITE_REPORT request sends a HID report to a HIDClass device.
IOCTL_UMDF_GET_PHYSICAL_DESCRIPTOR

The IOCTL_UMDF_GET_PHYSICAL_DESCRIPTOR control code obtains the physical descriptor of a HIDClass device.
IOCTL_UMDF_HID_GET_FEATURE

The IOCTL_UMDF_HID_GET_FEATURE control code obtains a feature report from a HIDClass device.
IOCTL_UMDF_HID_GET_INPUT_REPORT

The IOCTL_UMDF_HID_GET_INPUT_REPORT control code returns an input report from a HIDClass device.
IOCTL_UMDF_HID_SET_FEATURE

The IOCTL_UMDF_HID_GET_FEATURE control code sends a feature report to a HIDClass device.
IOCTL_UMDF_HID_SET_OUTPUT_REPORT

The IOCTL_UMDF_HID_SET_OUTPUT_REPORT control code sends an output report to a top-level collection.

Functions

 
HidNotifyPresence

The HidNotifyPresence function is reserved for the HID driver internal framework
HidRegisterMinidriver

The HidRegisterMinidriver routine is called by HID minidrivers, during their initialization, to register with the HID class driver.

Structures

 
HID_DESCRIPTOR

The HID_DESCRIPTOR structure represents a HID descriptor for a HIDClass device.
HID_DEVICE_ATTRIBUTES

The HID_DEVICE_ATTRIBUTES structure contains information about a HIDClass device.
HID_DEVICE_EXTENSION

The HID_DEVICE_EXTENSION structure is used by a HID minidriver as its layout for the device extension of a HIDClass device's functional device object.
HID_MINIDRIVER_REGISTRATION

The HID_MINIDRIVER_REGISTRATION structure contains registration information that a HID minidriver passes to the HID Client Drivers when the minidriver registers with the class driver.