NdisInitializeEvent

VOID
NdisInitializeEvent(
IN PNDIS_EVENT Event
);

NdisInitializeEvent sets up an event object during driver initialization to be used subsequently as a synchronization mechanism.

Parameters

Event

Points to caller-supplied storage for the event object, which is opaque to drivers.

Comments

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.

See Also

MiniportInitialize, NdisResetEvent, NdisSetEvent, NdisWaitEvent