TwclMessageBroadcaster.Broadcast(TwclMessage) Method
Broadcasts a Message to all message receivers.
public class function Broadcast(const Message: TwclMessage): Integer;
Parameters
- Message
- Type: TwclMessage
The TwclMessage object represents the message. A caller is responsible to free the
Message
object after procedure the call.
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.