IOCTL_IR_RESET_DEVICE control code
Infrared deprecation warning
Important
The Infrared driver stack is deprecated starting in Windows 10, version 1803 and should no longer be used.
The IOCTL_IR_RESET_DEVICE request resets the given device. When a device is reset, the port driver cancels all pending transmit and receive IOCTLs. Additionally, the power driver should re-initialize the hardware to the default state.
Input Parameters
None.
Output Parameters
None.
I/O Status Block
The Information field is set to zero.
The Status field is set to STATUS_SUCCESS if the operation is successful. This request also returns an appropriate error if communication with the device fails.
Remarks
The IOCTL_IR_RESET_DEVICE IOCTL is available on x86-based and x64-based computers with the Windows Vista operating system.
Requirements
Header |
Irclass_ioctl.h (include Irclass_ioctl.h) |