WlanSaveTemporaryProfile function wlanapi

int WlanSaveTemporaryProfile(
  1. int hClientHandle,
  2. Pointer<GUID> pInterfaceGuid,
  3. Pointer<Utf16> strProfileName,
  4. Pointer<Utf16> strAllUserProfileSecurity,
  5. int dwFlags,
  6. int bOverWrite,
  7. Pointer<NativeType> pReserved
)

The WlanSaveTemporaryProfile function saves a temporary profile to the profile store.

DWORD WlanSaveTemporaryProfile(
  HANDLE     hClientHandle,
  const GUID *pInterfaceGuid,
  LPCWSTR    strProfileName,
  LPCWSTR    strAllUserProfileSecurity,
  DWORD      dwFlags,
  BOOL       bOverWrite,
  PVOID      pReserved
);

Implementation

int WlanSaveTemporaryProfile(
        int hClientHandle,
        Pointer<GUID> pInterfaceGuid,
        Pointer<Utf16> strProfileName,
        Pointer<Utf16> strAllUserProfileSecurity,
        int dwFlags,
        int bOverWrite,
        Pointer pReserved) =>
    _WlanSaveTemporaryProfile(hClientHandle, pInterfaceGuid, strProfileName,
        strAllUserProfileSecurity, dwFlags, bOverWrite, pReserved);