WiFi Framework C++ Edition

◆ IsPaired()

int IsPaired ( const tstring Id,
bool &  Paired 
)

Gets The WiFi Direct device's pairing status.

Parameters
IdThe WiFi Direct device's ID.
PairedIf the method completed with success on output contains information about WiFi Direct pairing status. True if the WiFi Direct device is paired. False otherwise.
Returns
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.