Indy 9
|
TIdLocalEvent = class(TEvent)
TIdLocalEvent is created using the default Event attributes to allow inheritance of the security attributes of the process that creates the event. TIdLocalEvent can be automatically reset when the single thread that waits on the signal is released. TIdLocalEvent is not created to access an existing named TEvent object instance. TIdLocalEvent is also created with the initial event signal state cleared.
constructor Create(const AInitialState: Boolean = False; const AManualReset: Boolean = False); reintroduce;
TIdLocalEvent is created using the default Event attributes to allow inheritance of the security attributes of the process that creates the event.
When AInitialState is False, the TIdLocalEvent is created with the initial event signal state cleared (not set).
When AManualReset is False, the TIdLocalEvent can be automatically reset when the single thread that waits on the signal is released. It does not require a call to ResetEvent.
TIdLocalEvent is not created to access an existing named TEvent object instance.
function WaitFor: TWaitResult; overload;
Check the LastError property for an error code giving more information.