Share via


IR_RECEIVE_PARAMS structure

Infrared deprecation warning

Important

The Infrared driver stack is deprecated starting in Windows 10, version 1803 and should no longer be used.

The IR_RECEIVE_PARAMS structure is used with the IOCTL_IR_RECEIVE IOCTL to read Run Length Coded (RLC) IR data from a device.

Syntax

typedef struct _IR_RECEIVE_PARAMS {
  ULONG_PTR DataEnd;
  ULONG_PTR ByteCount;
  LONG      Data[1];
} IR_RECEIVE_PARAMS, *PIR_RECEIVE_PARAMS;

Members

  • DataEnd
    A value that, when the IOCTL completes, indicates whether or not this data buffer was completed because of an IR time-out, or "data end". Set this member to TRUE if it was completed because of a time-out or FALSE otherwise.

  • ByteCount
    The number of bytes in the variable length Data[] portion. The caller sets this member.

  • Data
    The first byte in the ByteCount data buffer.

Remarks

The IR_RECEIVE_PARAMS structure 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_RECEIVE

 

 

Send comments about this topic to Microsoft