IOCTL_GET_NUM_DEVICE_INPUT_BUFFERS - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ni-hidclass-ioctl_get_num_device_input_buffers)

IOCTL_GET_NUM_DEVICE_INPUT_BUFFERS IOCTL

Description

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

Major code

Input buffer

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).

Input buffer length

The size of the buffer is sizeof(ULONG).

Output buffer

Irp->AssociatedIrp.SystemBuffer points to a buffer that will receive the size of the report input queue.

Output buffer length

The size of the buffer is sizeof(ULONG).

Input/output buffer

Input/output buffer length

Status block

The HID class driver sets the following fields of Irp->IoStatus:

See also

HidD_SetNumInputBuffers