Prototype:
Sends event. Event is not sent if status (member of MSM_WEvent/MS_OEvent) is non-zero before this method is called or set to non-zero during execution of this function.
Wide character:
error_code_t (TM_Context* pCtx,MSM_WEvent* pWEvent)
Narrow character:
error_code_t MSM_SendOEvent(TM_Context* pCtx,MSM_OEvent* pOEvent)
TM_Context* pCtx: Pointer to TM_Context returned by TM_Init
MSM_WEvent* pWEvent /MSM_OEvent* pOEvent: Pointer to MSM_WEvent/MSM_OEvent returned by MSM_CreateWEvent/ MSM_CreateOEvent
Value of error_code_t:
- (ERROR_OK) (success)
- Non-zero value (failure)