VOID
NdisInitializeWrapper(
OUT PNDIS_HANDLE NdisWrapperHandle,
IN PVOID SystemSpecific1,
IN PVOID SystemSpecific2,
IN PVOID SystemSpecific3
);
NdisInitializeWrapper is called by a NIC driver from its DriverEntry routine to register itself with the NDIS library.
For Windows NT drivers, the next two parameters refer to the driver object and
configuration registry path that the operating system passes to the DriverEntry
function of the NIC driver.
This is the first NdisXxx function called in the DriverEntry routine of full-NIC drivers.
NdisInitializeWrapper allocates resources and initializes data structures that the NDIS library associates with the NIC driver. After this function returns, the driver calls NdisRegisterMac to register network interface cards.
Callers of NdisInitializeWrapper run at IRQL PASSIVE_LEVEL.