Share via


IRDA_DEVICE_INFO (Windows Embedded CE 6.0)

1/6/2010

This structure contains information about a device that has been discovered by the infrared transceiver.

Syntax

typedef struct IRDA_DEVICE_INFO {
  u_char irdaDeviceID[4];
  char irdaDeviceName[22];
  u_char Reserved[2];
} _IRDA_DEVICE_INFO;

Members

  • irdaDeviceID
    Identifier of the IrDA device. This member corresponds to the member of the same name in the SOCKADDR_IRDA structure.
  • irdaDeviceName
    Name of the IrDA device.
  • Reserved
    This member is reserved.

Remarks

To look up available services, an application must call the getsockopt function with the IRLMP_ENUMDEVICES option set. This call discovers devices within the infrared range for registered applications.

If services are found, they are returned in a DEVICELIST structure.

An IrSock-capable device has a device identifier associated with it, so a successful query returns one or more IRDA_DEVICE_INFO structures containing the device ID of each device discovered.

Requirements

Header af_irda.h
Windows Embedded CE Windows CE 1.0 and later

See Also

Reference

IrDA Structures

Concepts

IrDA Reference
IrDA Application Development

Other Resources

Infrared Communications