Hardware Dev Center

NdisResetEvent function

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

Syntax


VOID NdisResetEvent(
  _In_ PNDIS_EVENT Event
);

Parameters

Event [in]

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

Target platform

Universal

Version

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.

Header

Ndis.h (include Ndis.h)

IRQL

<= DISPATCH_LEVEL

DDI compliance rules

Irql_Synch_Function

See also

NdisInitializeEvent
NdisSetEvent
NdisWaitEvent

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft