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.
Parameters
NdisWrapperHandle
Points to the caller-supplied variable in which this function returns the handle that the NDIS interface library associates with its wrapper.
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.
SystemSpecific1
Points to a first OS-specific type.
SystemSpecific2
Points to a second OS-specific type.
SystemSpecific3
Points to a third OS-specific type. For Windows NT drivers, this pointer should be NULL.
Comments
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.
See Also