IrDA Framework C++ Edition

◆ Discover()

int Discover ( wclIrDADevices Devices)

Discovers nearby IrDA devices.

Parameters
DevicesThe array of found IrDA devices. An application is responsible to release the memory allocated for the Devices dynamic array.
Returns
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.

The method executes discovering on all connected IrDA adapters.

Even if method succeed the Devices parameter can be set to NULL if no one IrDA device was found. An application must always check the returned valid of the Devices parameter.

This method can be called from separate thread.

See also
wclIrDADevices