WRAPI Documentation

WRAPIGetAssociatedAP

Use the WRAPIGetAssociatedAP method to get the MAC address of the access point to which the station is associated.

HRESULT WRAPIGetAssociatedAP(
  MAC_ADDR mac_addr    
);

Parameters

mac_addr
[out] Receives the MAC address of the access point.

Return Values

The WRAPIGetAssociatedAP method returns an HRESULT indicating the status of the method call. The return value can be interpreted by using the WRAPIGetErrorInfo method.

Requirements

  Windows XP
  Windows 95/98/Me: Unsupported.
  Header: Declared in WRAPIExports.h.
  Library: Use wrapi.lib.