IOCTL_HID_GET_INDEXED_STRING control code
The IOCTL_HID_GET_INDEXED_STRING control code obtains a specified embedded string for a top-level collection. The retrieved string is a NULL-terminated, wide character string in a human-readable format.
Input Parameters
The driver calls IWDFRequest::GetInputMemory to retrieve the buffer that contains an INT value that describes the string to be retrieved. The two most significant bytes of the INT value contain the language ID of the string to be retrieved. For example, a value of 1033 indicates English. The two least significant bytes of the INT value contain the string index.
Output Parameters
The driver calls IWDFRequest::GetOutputMemory to retrieve the output buffer and fills it with the retrieved string (a NULL-terminated, wide character string).
I/O Status Block
HID minidrivers that carry out the I/O request to the device must also:
- Call IWDFIoRequest::SetInformation with the number of bytes transferred from the device.
- Call IWDFIoRequest::Complete with S_OK to complete the request without error. Otherwise, set the appropriate HRESULT error code.
Requirements
Minimum UMDF version |
1.11 |
Header |
Hidclass.h |
See also