wclWaitableSyncObjectWaitOne(UInt32) Method |
Waits until the object is in the signaled state or the
time-out interval elapses.
Namespace: wclSyncAssembly: wclCommon (in wclCommon.dll) Version: 7.13.7.0 (7.13.7.0)
Syntaxprotected virtual uint WaitOne(
uint Timeout
)
Protected Overridable Function WaitOne (
Timeout As UInteger
) As UInteger
protected:
virtual unsigned int WaitOne(
unsigned int Timeout
)
Parameters
- Timeout UInt32
- The wait timeout value.
Return Value
UInt32 If the wait completed with success the returning value is
WAIT_OBJECT_0. If the wait operation completed
with success the waitable object is a mutex and the thread that owned
that mutex has exited without releasing the mutex the returning value
is
WAIT_ABANDONED. If the time-out elapsed the
returning value is
WAIT_TIMEOUT. If the wait failed
the returning value is
WAIT_FAILED.
See Also