WifiAdapterGetType function (wificx.h)
Gets the Wi-Fi adapter type.
Syntax
WIFI_ADAPTER_TYPE WifiAdapterGetType(
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 a WIFI_ADAPTER_TYPE object that defines the Wi-Fi adapter type.
Remarks
If the client driver needs to query the adapter type from the NETADAPTER_INIT object before the adapter is created, call WifiAdapterInitGetType instead.
For a code example that uses WifiAdapterGetType during adapter creation, see Event callback for adapter creation.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 11 |
Minimum supported server | Windows Server 2022 |
Header | wificx.h |
IRQL | PASSIVE_LEVEL |