NdisSetEvent function

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

Syntax


VOID NdisSetEvent(
  _In_  PNDIS_EVENT Event
);

Parameters

Event [in]

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

Version

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.

Header

Ndis.h (include Ndis.h)

IRQL

<= DISPATCH_LEVEL

DDI compliance rules

Irql_Synch_Function

See also

NdisInitializeEvent
NdisResetEvent
NdisWaitEvent

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft