Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
A version of this page is also available for
4/8/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_IRDAstructure.
- irdaDeviceName
-
Name of the IrDA device.
- Reserved
-
This member is reserved.
Remarks
To look up available services, an application must call the getsockoptfunction 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 DEVICELISTstructure.
An IrSock-capable device has a device identifier associated with it, so a successful query returns one or more IRDA_DEVICE_INFOstructures containing the device ID of each device discovered.
Requirements
Header | af_irda.h |
Windows Embedded CE | Windows CE 1.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |