WifiDeviceInitialize - NtDoc

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

NTSTATUS WifiDeviceInitialize(
  WDFDEVICE          Device,
  WIFI_DEVICE_CONFIG *Config
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wificx-wifideviceinitialize)

Description

The WifiDeviceInitialize function registers the client driver's WiFiCx-specific callback functions.

Parameters

Device

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

Config

[_In_] A pointer to a client driver-allocated and initialized WIFI_DEVICE_CONFIG structure.

Return value

Returns STATUS_SUCCESS if the operation succeeds. Otherwise, this function may return an appropriate NTSTATUS error code.

Remarks

The client driver must call WifiDeviceInitialize from EVT_WDF_DRIVER_DEVICE_ADD, after calling NetDeviceInitConfig but before calling WdfDeviceCreate.

For an example of how to initialize a WifiCx device, see Writing a WiFiCx client driver.

See also

Writing a WiFiCx client driver

NetDeviceInitConfig

WdfDeviceCreate

WIFI_DEVICE_CONFIG