WlanHostedNetworkQuerySecondaryKey function wlanapi

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

The WlanHostedNetworkQuerySecondaryKey function queries the secondary security key that is configured to be used by the wireless Hosted Network.

DWORD WlanHostedNetworkQuerySecondaryKey(
  HANDLE                      hClientHandle,
  PDWORD                      pdwKeyLength,
  PUCHAR                      *ppucKeyData,
  PBOOL                       pbIsPassPhrase,
  PBOOL                       pbPersistent,
  PWLAN_HOSTED_NETWORK_REASON pFailReason,
  PVOID                       pvReserved
);

Implementation

int WlanHostedNetworkQuerySecondaryKey(
        int hClientHandle,
        Pointer<Uint32> pdwKeyLength,
        Pointer<Pointer<Uint8>> ppucKeyData,
        Pointer<Int32> pbIsPassPhrase,
        Pointer<Int32> pbPersistent,
        Pointer<Int32> pFailReason,
        Pointer pvReserved) =>
    _WlanHostedNetworkQuerySecondaryKey(hClientHandle, pdwKeyLength,
        ppucKeyData, pbIsPassPhrase, pbPersistent, pFailReason, pvReserved);