NdisResetEvent function

The NdisResetEvent function clears the Signaled state of a given event.

Syntax

void NdisResetEvent(
  PNDIS_EVENT Event
);

Parameters

Event

A pointer to an initialized event object for which the caller provided the storage.

Return Value

None

Remarks

NdisResetEvent explicitly sets the state of the given event to not-signaled.

When an event is set to the signaled state with the NdisSetEvent function, it remains in that state until an explicit call to NdisResetEvent occurs. While an event remains in the signaled state, callers of the NdisWaitEvent function on that event are dispatched for execution without waiting.

Requirements

   
Minimum supported client Supported for NDIS 6.0 and NDIS 5.1 drivers (see NdisResetEvent (NDIS 5.1)) in Windows Vista. Supported for NDIS 5.1 drivers (see NdisResetEvent (NDIS 5.1)) in Windows XP.
Target Platform Universal
Header ndis.h (include Ndis.h)
Library Ndis.lib
IRQL "<= DISPATCH_LEVEL"
DDI compliance rules Irql_Synch_Function

See Also

NdisInitializeEvent

NdisSetEvent

NdisWaitEvent