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 |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for