IOCTL_HID_ACTIVATE_DEVICE control code
The IOCTL_HID_ACTIVATE_DEVICE control code activates a HIDClass device, which makes it ready for I/O operations.
Input Buffer
The driver calls IWDFIoRequest::GetInputMemory to retrieve the buffer that contains a collection identifier, as a ULONG value, of the collection to activate or deactivate.
Input Buffer Length
The size of a ULONG value.
Output Buffer
None.
Output Buffer Length
None.
Status block
HID minidrivers that carry out the I/O request to the device must also:
- Call IWDFIoRequest::SetInformation to set the number of bytes to zero.
- 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 |
Hidport.h |
See also