Previous Next

NdisSetEvent

NdisSetEvent sets a given event to the signaled state if it was not already Signaled.

VOID
  NdisSetEvent(
    IN PNDIS_EVENT  Event
    );

Parameters

Event
Pointer to an initialized event object for which the caller provides the storage.

Headers

Declared in Ndis.h. Include Ndis.h.

Comments

When an event attains the Signaled state, it causes waits on the event to be satisfied and any waiters to be dispatched for execution.

After a call to NdisSetEvent, the event remains in the Signaled state until the driver calls NdisResetEvent.

Callers of NdisSetEvent run at IRQL <= DISPATCH_LEVEL.

See Also

NdisInitializeEvent, NdisResetEvent, NdisWaitEvent