Compartilhar via


NdisWaitEvent (Windows CE 5.0)

Send Feedback

This function puts the caller into a wait state until the given event is set to the Signaled state or the wait times out.

BOOLEAN NdisWaitEvent(PNDIS_EVENTEvent,UINTMsToWait);

Parameters

  • Event
    [in] Points to an initialized event object for which the caller provides the storage.
  • MsToWait
    [in] Specifies the number of milliseconds the caller will wait if the event is not set to the Signaled state within that interval. A value of 0 specifies that the caller will wait for the event indefinitely.

Return Values

  • TRUE
    If the event is in the Signaled state when the wait is satisfied.

Remarks

NdisWaitEvent returns control to its caller when the given event is signaled or the given MsToWait interval expires, whichever is sooner. If the event is currently in the Signaled state when this call occurs, NdisWaitEvent returns control immediately.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Ndis.h.

See Also

NdisInitializeEvent | NdisResetEvent | NdisSetEvent

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.