Adds affected table as an event parameter. Tablename is not added if status (member of MSM_WEvent/ MSM_OEvent) is non-zero before this method is called or set to non-zero during execution of this function. For multi-value events, call MSM_AddWTable/ MSM_AddOTable n number of times to add n number of tables.
error_code_t MSM_AddWTable(TM_Context* pCtx, MSM_WEvent* pWEvent,wchar_t* table)
error_code_t MSM_AddOTable(TM_Context* pCtx, MSM_OEvent* pOEvent,char* table)
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
wchar_t* table / char* table: Pointer to a string for tablenameValue of error_code_t:
- 0 (ERROR_OK) (success)
- Non-zero value (failure)