TwclMessageBroadcaster.Wait(THandle) Method

Waits until the specified event is in the signaled state.

Namespace: wclMessaging
public
 class function Wait(const Event: THandle): Integer; overload;

Parameters

Event
Type: THandle

A handle to the event.

Return Value

Type: Integer

If the function succeed the returns value is wclErrors.WCL_E_SUCCESS. Otherwise the function returns one of the WCL error codes.