WlanScan function wlanapi

int WlanScan(
  1. HANDLE hClientHandle,
  2. Pointer<GUID> pInterfaceGuid,
  3. Pointer<DOT11_SSID>? pDot11Ssid,
  4. Pointer<WLAN_RAW_DATA>? pIeData,
)

Requests a scan for available networks on the indicated interface.

To learn more, see learn.microsoft.com/windows/win32/api/wlanapi/nf-wlanapi-wlanscan.

Implementation

@pragma('vm:prefer-inline')
int WlanScan(
  HANDLE hClientHandle,
  Pointer<GUID> pInterfaceGuid,
  Pointer<DOT11_SSID>? pDot11Ssid,
  Pointer<WLAN_RAW_DATA>? pIeData,
) => _WlanScan(
  hClientHandle,
  pInterfaceGuid,
  pDot11Ssid ?? nullptr,
  pIeData ?? nullptr,
  nullptr,
);