VOID
NdisInitializeEvent(
IN PNDIS_EVENT Event
);
NdisInitializeEvent sets up an event object during driver initialization to be used subsequently as a synchronization mechanism.
The Event pointer passed to NdisInitializeEvent is a required parameter to all other Ndis..Event functions.
While driver functions that run at IRQL <= DISPATCH_LEVEL can call NdisSetEvent and NdisResetEvent, calling NdisWaitEvent from any IRQL > PASSIVE_LEVEL is a fatal error.
Callers of NdisInitializeEvent run at IRQL PASSIVE_LEVEL.
MiniportInitialize, NdisResetEvent, NdisSetEvent, NdisWaitEvent