WiFi Framework C++ Edition

◆ GetAdapterId()

int GetAdapterId ( GUID & Id) const

Reads the ID of the network adapter used by this connection.

Parameters
IdOn output contains a GUID that specifies the adapter ID of the TCP/IP interface used by this network connection.
Returns
If the function succeeded the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.