WlanHostedNetworkQuerySecondaryKey function wlanapi
Queries the secondary security key that is configured to be used by the wireless Hosted Network.
To learn more, see learn.microsoft.com/windows/win32/api/wlanapi/nf-wlanapi-wlanhostednetworkquerysecondarykey.
Implementation
@pragma('vm:prefer-inline')
int WlanHostedNetworkQuerySecondaryKey(
HANDLE hClientHandle,
Pointer<Uint32> pdwKeyLength,
Pointer<Pointer<Uint8>> ppucKeyData,
Pointer<Int32> pbIsPassPhrase,
Pointer<Int32> pbPersistent,
Pointer<Int32>? pFailReason,
) => _WlanHostedNetworkQuerySecondaryKey(
hClientHandle,
pdwKeyLength,
ppucKeyData,
pbIsPassPhrase,
pbPersistent,
pFailReason ?? nullptr,
nullptr,
);