Specifications
Remote Control and Receiver-Transceiver Specifications and Requirements
for Windows Media Center in Windows Operating Systems
157
IOCTL_IR_RESET_DEVICE
User Scenario
Not documented in this release.
Operation
Resets the given device. When a device is reset, all pending transmit and receive IOCTLs are
canceled by the port driver. Additionally, the power driver should re-initialize the hardware to the
default state.
Input
None.
Output
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. May also return an
appropriate error if communication with the device fails.
IOCTL_IR_TRANSMIT
User Scenario
Used to send IR data to control a set-top box.
Operation
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
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
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 may
also be the following value:
STATUS_INVALID_PARAMETER - The carrier period in the parameters structure is zero, or
some other parameter is incorrect.
For more information, see IR_TRANSMIT_PARAMS and IR_TRANSMIT_CHUNK.
IOCTL_IR_USER_CLOSE
User Scenario










