TwclMessageBroadcaster.Post(Integer,TwclMessage) Method
Posts a Message to a message receiver with specified ID.
public class function Post(const Id: Integer; const Message: TwclMessage): Integer;
Parameters
- Id
- Type: Integer
A message receiver ID.
- Message
- Type: TwclMessage
The TwclMessage object represents the message. A caller is responsible to free the
Messageobject 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.