NetDeviceInitConfig - NtDoc

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

NTSTATUS NetDeviceInitConfig(
  [_Inout_] PWDFDEVICE_INIT DeviceInit
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-netdevice-netdeviceinitconfig)

NetDeviceInitConfig function

Description

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

Parameters

DeviceInit [_Inout_]

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.

See also

EvtDriverDeviceAdd

WdfDeviceCreate