RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SyncObjs.TWaitResult Enumeration

TWaitResult indicates the reason an event object stopped waiting for its signal.

Pascal
TWaitResult = (
  wrSignaled,
  wrTimeout,
  wrAbandoned,
  wrError
);
C++
enum TWaitResult {
  wrSignaled,
  wrTimeout,
  wrAbandoned,
  wrError
};

SyncObjs

TWaitResult includes the following values:

Value 
Meaning 
wrSignaled  
The signal of the event object was set.  
wrTimeOut  
The time specified by the TimeOut parameter elapsed without the signal being set.  
wrAbandoned  
The event object was destroyed before the TimeOut period elapsed.  
wrError  
An error occurred while waiting. Check the LastError property for an error code giving more information.  

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!