WiFi Framework C++ Edition

◆ WaitOne() [2/2]

virtual unsigned long WaitOne ( const unsigned long Timeout)
protectedvirtual

Waits until the object is in the signaled state or the time-out interval elapses.

Parameters
TimeoutThe wait timeout value.
Returns
If the wait completed with success the returning value is WCL_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 WCL_WAIT_ABANDONED. If the time-out elapsed the returning value is WCL_WAIT_TIMEOUT. If the wait failed the returning value is WCL_WAIT_FAILED.
See also
WCL_WAIT_OBJECT_0, WCL_WAIT_ABANDONED, WCL_WAIT_TIMEOUT, WCL_WAIT_FAILED

Reimplemented in CwclEvent.