IOCTL_HID_GET_COLLECTION_INFORMATION - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// hidclass.h

// CTL_CODE(0x000b, 0x06a, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_HID_GET_COLLECTION_INFORMATION 0x000B01A8

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

IOCTL_HID_GET_COLLECTION_INFORMATION IOCTL

Description

The IOCTL_HID_GET_COLLECTION_INFORMATION request obtains a top-level collection's HID_COLLECTION_INFORMATION structure. This information includes the size, in bytes, of a collection's preparsed data.

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

Input buffer length

Greater than or equal to sizeof(HID_COLLECTION_INFORMATION).

Output buffer

Irp->AssociatedIrp.SystemBuffer points to a buffer that will receive the collection information. This data will be formatted in the requester-supplied buffer as a HID_COLLECTION_INFORMATION structure.

Output buffer length

The size of a HID_COLLECTION_INFORMATION structure.

Input/output buffer

Input/output buffer length

Status block

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

See also

HID_COLLECTION_INFORMATION