EVT_WIFI_DEVICE_CREATE_ADAPTER - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wificx.h

EVT_WIFI_DEVICE_CREATE_ADAPTER EvtWifiDeviceCreateAdapter;

NTSTATUS EvtWifiDeviceCreateAdapter(
  WDFDEVICE Device,
  NETADAPTER_INIT *AdapterInit
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-wificx-evt_wifi_device_create_adapter)

Description

WiFiCx client drivers implement EvtWifiDeviceCreateAdapter to create a NETADAPTER object.

Parameters

Device

[_In_] A handle to a framework device object that the client driver obtained from a previous call to WdfDeviceCreate.

AdapterInit

[_Inout_] A pointer to a NETADAPTER_INIT object that describes the initialization information for the NETADAPTER.

Return value

This callback function returns STATUS_SUCCESS if the operation was successful. Otherwise, it returns an appropriate NTSTATUS error code.

Remarks

A WiFiCx client driver must register an EvtWifiDeviceCreateAdapter callback function by calling WifiDeviceInitialize.

In its EvtWifiDeviceCreateAdapter callback, the client driver must:

  1. Call NetAdapterCreate to create the new NetAdapter object.

  2. Call WifiAdapterInitialize to initialize the WiFiCx context and associate it with this NetAdapter object.

  3. Call NetAdapterStart to start the adapter.

For more information, see Writing a WiFiCx client driver.

See also

WdfDeviceCreate

WifiDeviceInitialize

NetAdapterCreate

WifiAdapterInitialize

NetAdapterStart

Writing a WiFiCx client driver