WlanQueryInterface function wlanapi

int WlanQueryInterface(
  1. HANDLE hClientHandle,
  2. Pointer<GUID> pInterfaceGuid,
  3. WLAN_INTF_OPCODE opCode,
  4. Pointer<Uint32> pdwDataSize,
  5. Pointer<Pointer<NativeType>> ppData,
  6. Pointer<Int32>? pWlanOpcodeValueType,
)

Queries various parameters of a specified interface.

To learn more, see learn.microsoft.com/windows/win32/api/wlanapi/nf-wlanapi-wlanqueryinterface.

Implementation

@pragma('vm:prefer-inline')
int WlanQueryInterface(
  HANDLE hClientHandle,
  Pointer<GUID> pInterfaceGuid,
  WLAN_INTF_OPCODE opCode,
  Pointer<Uint32> pdwDataSize,
  Pointer<Pointer> ppData,
  Pointer<Int32>? pWlanOpcodeValueType,
) => _WlanQueryInterface(
  hClientHandle,
  pInterfaceGuid,
  opCode,
  nullptr,
  pdwDataSize,
  ppData,
  pWlanOpcodeValueType ?? nullptr,
);