IOCTL_IR_TRANSMIT 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_TRANSMIT request is used to send IR data to control a set-top box.
This request transmits the given IR stream on the given ports at the given carrier frequency. This IOCTL is synchronous. It does not return until the IR has actually been transmitted.
Input Parameters
Irp->AssociatedIrp.SystemBuffer points to an IR_TRANSMIT_PARAMS structure, describing the state the device should be in while the data is transmitted.
Irp->MdlAddress contains a variable length IR_TRANSMIT_CHUNK structure.
Output Parameters
None.
I/O Status Block
The Information field is set to the total number of bytes written.
The Status field is set to STATUS_SUCCESS if the operation is completed successfully. It can also be the following value:
- STATUS_INVALID_PARAMETER
The carrier period in the parameters structure is zero, but the flags do not specify Pulse mode or DC mode.
Remarks
The IOCTL_IR_TRANSMIT 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) |
See also