Partager via


IRDA_DEVICE_INFO (Windows CE 5.0)

Send Feedback

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

typedef struct IRDA_DEVICE_INFO {u_charirdaDeviceID[4];char irdaDeviceName[22];u_charReserved[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

OS Versions: Windows CE 1.0 and later.
Header: af_irda.h.

See Also

IrDA Reference | Infrared Communications | IrDA Application Development

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.