// wificx.h
ULONG WifiAdapterGetPortId(
NETADAPTER Adapter
);
View the official Windows Driver Kit DDI referenceNo description available.
The WifiAdapterGetPortId function gets the Wi-Fi adapter port ID.
Adapter[_In_] A handle to a NETADAPTER object that the client driver obtained from a previous call to NetAdapterCreate.
Returns the Wi-Fi adapter port ID.