WlanSetProfileList function wlanapi

int WlanSetProfileList(
  1. HANDLE hClientHandle,
  2. Pointer<GUID> pInterfaceGuid,
  3. int dwItems,
  4. Pointer<Pointer<Utf16>> strProfileNames,
)

Sets the preference order of profiles.

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

Implementation

@pragma('vm:prefer-inline')
int WlanSetProfileList(
  HANDLE hClientHandle,
  Pointer<GUID> pInterfaceGuid,
  int dwItems,
  Pointer<Pointer<Utf16>> strProfileNames,
) => _WlanSetProfileList(
  hClientHandle,
  pInterfaceGuid,
  dwItems,
  strProfileNames,
  nullptr,
);