TwclEvent.WaitOne Method
Waits until the object is in the signaled state.
public function WaitOne: Cardinal; overload; override;
Return Value
Type: Cardinal
If the wait completed with success the returning value is WCL_WAIT_OBJECT_0. If the wait failed the returning value is WCL_WAIT_FAILED.