WlanGetNetworkBssList function wlanapi

int WlanGetNetworkBssList(
  1. HANDLE hClientHandle,
  2. Pointer<GUID> pInterfaceGuid,
  3. Pointer<DOT11_SSID>? pDot11Ssid,
  4. DOT11_BSS_TYPE dot11BssType,
  5. bool bSecurityEnabled,
  6. Pointer<Pointer<WLAN_BSS_LIST>> ppWlanBssList,
)

Retrieves a list of the basic service set (BSS) entries of the wireless network or networks on a given wireless LAN interface.

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

Implementation

@pragma('vm:prefer-inline')
int WlanGetNetworkBssList(
  HANDLE hClientHandle,
  Pointer<GUID> pInterfaceGuid,
  Pointer<DOT11_SSID>? pDot11Ssid,
  DOT11_BSS_TYPE dot11BssType,
  bool bSecurityEnabled,
  Pointer<Pointer<WLAN_BSS_LIST>> ppWlanBssList,
) => _WlanGetNetworkBssList(
  hClientHandle,
  pInterfaceGuid,
  pDot11Ssid ?? nullptr,
  dot11BssType,
  bSecurityEnabled ? TRUE : FALSE,
  nullptr,
  ppWlanBssList,
);