Bewerken

Delen via


WifiDeviceInitConfig function (wificx.h)

The WifiDeviceInitConfig function initializes WiFiCx device initialization operations when the Plug and Play (PnP) manager reports the existence of a device.

Syntax

NTSTATUS WifiDeviceInitConfig(
  PWDFDEVICE_INIT DeviceInit
);

Parameters

DeviceInit

[Inout] A pointer to a WDFDEVICE_INIT object that the client driver received in its EVT_WDF_DRIVER_DEVICE_ADD routine.

Return value

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

Remarks

In its EVT_WDF_DRIVER_DEVICE_ADD callback function, a WifiCx client driver calls WifiDeviceInitConfig after calling NetDeviceInitConfig but before calling WdfDeviceCreate.

The driver must reference the same WDFDEVICE_INIT object passed in by the framework.

Requirements

Requirement Value
Minimum supported client Windows 11
Minimum supported server Windows Server 2022
Header wificx.h
IRQL PASSIVE_LEVEL

See also

WDFDEVICE_INIT

EVT_WDF_DRIVER_DEVICE_ADD

NetDeviceInitConfig

WdfDeviceCreate