IOCTL_HID_GET_HARDWARE_ID IOCTL (hidclass.h)
The IOCTL_HID_GET_HARDWARE_ID request obtains the Plug and Play hardware ID of a top-level collection.
For general information about HIDClass devices, see HID Collections.
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.
Input buffer length
The length of the buffer.
Output buffer
Irp->MdlAddress points to a buffer to receive the number of device input buffers.
Output buffer length
The length of the buffer.
Status block
The HID class driver sets the following fields of Irp->IoStatus:
- Information is set to the number of bytes of registry information retrieved when the IOCTL succeeds.
- Status is set to STATUS_SUCCESS if the transfer completed without error. Otherwise, it is set to an appropriate NTSTATUS error code.
Requirements
Requirement | Value |
---|---|
Header | hidclass.h (include Hidclass.h) |