NdisWaitEvent (Windows Embedded CE 6.0)
1/6/2010
This function puts the caller into a wait state until the given event is set to the Signaled state or the wait times out.
Syntax
BOOLEAN NdisWaitEvent(
PNDIS_EVENT Event,
UINT MsToWait
);
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 Value
- 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
Header | ndis.h |
Windows Embedded CE | Windows CE .NET 4.0 and later |
See Also
Reference
NDIS Library Functions
NdisInitializeEvent
NdisResetEvent
NdisSetEvent