WlanHostedNetworkQuerySecondaryKey function wlanapi

int WlanHostedNetworkQuerySecondaryKey(
  1. HANDLE hClientHandle,
  2. Pointer<Uint32> pdwKeyLength,
  3. Pointer<Pointer<Uint8>> ppucKeyData,
  4. Pointer<Int32> pbIsPassPhrase,
  5. Pointer<Int32> pbPersistent,
  6. Pointer<Int32>? pFailReason,
)

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,
);