Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The NetDeviceInitConfig function initializes device initialization operations when the Plug and Play (PnP) manager reports the existence of a device.
Syntax
NTSTATUS NetDeviceInitConfig(
[_Inout_] PWDFDEVICE_INIT DeviceInit
);
Parameters
[_Inout_] DeviceInit
A pointer to a WDFDEVICE_INIT object that the client driver received in its EvtDriverDeviceAdd routine.
Return value
Returns STATUS_SUCCESS if the operation succeeds. Otherwise, this function may return an appropriate NTSTATUS error code.
Remarks
A client driver calls this function in its EvtDriverDeviceAdd callback before it calls WdfDeviceCreate.
When a client driver calls NetDeviceInitConfig, the system-supplied NetAdapterCx.sys driver calls the following functions on behalf of the client. The client driver should not call these functions directly. Doing so may result in undefined behavior.
- WdfDeviceInitSetReleaseHardwareOrderOnFailure
- WdfDeviceInitSetDeviceType
- WdfDeviceInitSetCharacteristics
- WdfDeviceInitSetIoType
- WdfDeviceInitSetPowerPageable
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 2004 |
Target Platform | Universal |
Minimum UMDF version | 2.33 |
Header | netdevice.h (include netadaptercx.h) |
Library | netadaptercxstub.lib |
IRQL | PASSIVE_LEVEL |