// hidclass.h
// CTL_CODE(0x000b, 0x068, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_GET_NUM_DEVICE_INPUT_BUFFERS 0x000B01A0
View the official Windows Driver Kit DDI referenceNo description available.
The IOCTL_GET_NUM_DEVICE_INPUT_BUFFERS request obtains the size of the input report queue for a top-level collection.
The input report queue is implemented as a ring buffer. If a collection transmits data to the HID class driver faster than the input reports are read, reports can be lost. The size of the input report queue can be adjusted using IOCTL_SET_NUM_DEVICE_INPUT_BUFFERS.
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).
The size of the buffer is sizeof(ULONG).
Irp->AssociatedIrp.SystemBuffer points to a buffer that will receive the size of the report input queue.
The size of the buffer is sizeof(ULONG).
The HID class driver sets the following fields of Irp->IoStatus: