WlanSaveTemporaryProfile function wlanapi
Saves a temporary profile to the profile store.
To learn more, see learn.microsoft.com/windows/win32/api/wlanapi/nf-wlanapi-wlansavetemporaryprofile.
Implementation
@pragma('vm:prefer-inline')
int WlanSaveTemporaryProfile(
HANDLE hClientHandle,
Pointer<GUID> pInterfaceGuid,
PCWSTR strProfileName,
PCWSTR? strAllUserProfileSecurity,
int dwFlags,
bool bOverWrite,
) => _WlanSaveTemporaryProfile(
hClientHandle,
pInterfaceGuid,
strProfileName,
strAllUserProfileSecurity ?? nullptr,
dwFlags,
bOverWrite ? TRUE : FALSE,
nullptr,
);