NdisSetEvent function (ndis.h)

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

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

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

See also

NdisInitializeEvent

NdisResetEvent

NdisWaitEvent