Bewerken

Delen via


WifiAdapterGetPortId function (wificx.h)

The WifiAdapterGetPortId function gets the Wi-Fi adapter port ID.

Syntax

ULONG WifiAdapterGetPortId(
  NETADAPTER Adapter
);

Parameters

Adapter

[In] A handle to a NETADAPTER object that the client driver obtained from a previous call to NetAdapterCreate.

Return value

Returns the Wi-Fi adapter port ID.

Requirements

Requirement Value
Minimum supported client Windows 11
Minimum supported server Windows Server 2022
Header wificx.h
IRQL PASSIVE_LEVEL