NdisResetEvent function (ndis.h)

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

Syntax

void NdisResetEvent(
  [in] PNDIS_EVENT Event
);

Parameters

[in] 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

Requirement Value
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(ndis)

See also

NdisInitializeEvent

NdisSetEvent

NdisWaitEvent