// wificx.h
NTSTATUS WifiDeviceInitConfig(
PWDFDEVICE_INIT DeviceInit
);
View the official Windows Driver Kit DDI referenceNo description available.
The WifiDeviceInitConfig function initializes WiFiCx device initialization operations when the Plug and Play (PnP) manager reports the existence of a device.
DeviceInit[_Inout_] A pointer to a WDFDEVICE_INIT object that the client driver received in its EVT_WDF_DRIVER_DEVICE_ADD routine.
Returns STATUS_SUCCESS if the operation succeeds. Otherwise, this function may return an appropriate NTSTATUS error code.
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.