Share via


IOCTL_IR_ENTER_PRIORITY_RECEIVE 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_ENTER_PRIORITY_RECEIVE request puts the IR receiver into learning mode. This learning can be a 10-foot learn (parse-and-match) or a 2-foot learn from the learning receiver.

This request is sent to prepare the port to enter Priority Receive mode. While the device is in Priority Receive mode, all IOCTL_IR_RECEIVE requests should be starved and IOCTL_IR_PRIORITY_RECEIVE requests should be completed.

Input Parameters

Irp->AssociatedIrp.SystemBuffer points to an IR_ENTER_PRIORITY_RECEIVE_PARAMS structure that contains parameters for the Priority Receive operation.

Output Parameters

None.

I/O Status Block

The Information field is set to zero.

The Status field is set to STATUS_SUCCESS or an appropriate error status.

Remarks

The IOCTL_IR_ENTER_PRIORITY_RECEIVE 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

IOCTL_IR_EXIT_PRIORITY_RECEIVE

IOCTL_IR_PRIORITY_RECEIVE

IOCTL_IR_RECEIVE

IR_ENTER_PRIORITY_RECEIVE_PARAMS

 

 

Send comments about this topic to Microsoft