WlanSetProfileList function Null safety wlanapi

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

The WlanSetProfileList function sets the preference order of profiles for a given interface.

DWORD WlanSetProfileList(
  HANDLE     hClientHandle,
  const GUID *pInterfaceGuid,
  DWORD      dwItems,
  LPCWSTR    *strProfileNames,
  PVOID      pReserved
);

Implementation

int WlanSetProfileList(
        int hClientHandle,
        Pointer<GUID> pInterfaceGuid,
        int dwItems,
        Pointer<Pointer<Utf16>> strProfileNames,
        Pointer pReserved) =>
    _WlanSetProfileList(
        hClientHandle, pInterfaceGuid, dwItems, strProfileNames, pReserved);