// hidclass.h
// CTL_CODE(0x000b, 0x066, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_HID_GET_POLL_FREQUENCY_MSEC 0x000B0198
View the official Windows Driver Kit DDI referenceNo description available.
The IOCTL_HID_GET_POLL_FREQUENCY_MSEC request obtains the current polling frequency, in milliseconds, of a top-level collection.
For general information about HIDClass devices, see HID Collections.
Parameters.DeviceIoControl.OutputBufferLength in the I/O stack location of the IRP indicates the size, in bytes, of the output buffer, which must be >= sizeof(ULONG).
Greater than or equal to sizeof(ULONG).
Irp->AssociatedIrp.SystemBuffer points to a buffer that will receive the polling frequency.
The HID class driver sets the following fields of Irp->IoStatus:
IOCTL_HID_SET_POLL_FREQUENCY_MSEC