ParsecClientSendMessage
ParsecStatusParsecClientSendMessage(Parsec *ps,const ParsecMessage *msg)
Send an input message to the host.
This function sends one of the input types defined in ParsecMessageType
set in the type
member of the ParsecMessage
msg
parameter. The indicated message type is then filled out in the appropriate Message
struct in msg
.
Parameters
Direction | Name | Description |
---|---|---|
in | ps | Parsec instance returned by ParsecInit . |
in | msg | Generic input message than can represet any message type. |
Returns
PARSEC_OK
if the message was sent successfully, otherwise a ParsecStatus
error value.