WlanQueryInterface function Null safety wlanapi

int WlanQueryInterface(
  1. int hClientHandle,
  2. Pointer<GUID> pInterfaceGuid,
  3. int OpCode,
  4. Pointer<NativeType> pReserved,
  5. Pointer<Uint32> pdwDataSize,
  6. Pointer<Pointer<NativeType>> ppData,
  7. Pointer<Uint32> pWlanOpcodeValueType
)

The WlanQueryInterface function queries various parameters of a specified interface.

DWORD WlanQueryInterface(
  HANDLE                  hClientHandle,
  const GUID              *pInterfaceGuid,
  WLAN_INTF_OPCODE        OpCode,
  PVOID                   pReserved,
  PDWORD                  pdwDataSize,
  PVOID                   *ppData,
  PWLAN_OPCODE_VALUE_TYPE pWlanOpcodeValueType
);

Implementation

int WlanQueryInterface(
        int hClientHandle,
        Pointer<GUID> pInterfaceGuid,
        int OpCode,
        Pointer pReserved,
        Pointer<Uint32> pdwDataSize,
        Pointer<Pointer> ppData,
        Pointer<Uint32> pWlanOpcodeValueType) =>
    _WlanQueryInterface(hClientHandle, pInterfaceGuid, OpCode, pReserved,
        pdwDataSize, ppData, pWlanOpcodeValueType);