NdisSetEvent function

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

Syntax

void NdisSetEvent(
  PNDIS_EVENT Event
);

Parameters

Event

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

Return Value

None

Remarks

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 the NdisResetEvent function.

Requirements

   
Minimum supported client Supported for NDIS 6.0 and NDIS 5.1 drivers (see NdisSetEvent (NDIS 5.1)) in Windows Vista. Supported for NDIS 5.1 drivers (see NdisSetEvent (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

NdisResetEvent

NdisWaitEvent