Share via


IR_DEV_CAPS 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_DEV_CAPS structure is used in conjunction with the IOCTL_IR_GET_DEV_CAPS IOCTL to retrieve the capability information of the device.

Syntax

typedef struct _IR_DEV_CAPS {
  ULONG_PTR ProtocolVersion;
  ULONG_PTR NumTransmitPorts;
  ULONG_PTR NumReceivePorts;
  ULONG_PTR LearningReceiverMask;
  ULONG_PTR DevCapsFlags;
} IR_DEV_CAPS, *PIR_DEV_CAPS;

Members

  • ProtocolVersion
    The protocol version. Currently, this member must be 100 (1.0).

  • NumTransmitPorts
    The number of transmit ports (0-32).

  • NumReceivePorts
    The number of receive ports (0-32). Typically, this number will be 1 (for a receive-only device with a long-range receiver) or 2 (for a transmit/receive device with a long-range receiver and a wide-band receiver).

  • LearningReceiverMask
    A bitmask that identifies which receivers are learning receivers.

  • DevCapsFlags

Remarks

The IR_DEV_CAPS 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_FLASH_RECEIVER

IOCTL_IR_GET_DEV_CAPS

 

 

Send comments about this topic to Microsoft