NdisSetEvent (NDIS 5.1) function

Note   NDIS 5. x has been deprecated and is superseded by NDIS 6. x. For new NDIS driver development, see Network Drivers Starting with Windows Vista. For information about porting NDIS 5. x drivers to NDIS 6. x, see Porting NDIS 5.x Drivers to NDIS 6.0.

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

Syntax

VOID NdisSetEvent(
  _In_ PNDIS_EVENT Event
);

Parameters

  • Event [in]
    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 NdisResetEvent.

Requirements

Target platform

Universal

Version

See NdisSetEvent.

Header

Ndis.h (include Ndis.h)

Library

Ndis.lib

IRQL

<= DISPATCH_LEVEL

See also

NdisInitializeEvent

NdisResetEvent

NdisWaitEvent

 

 

Send comments about this topic to Microsoft