LogMark
The method creates a marker for the transferred marker group ID. The marker type is transferred using the constants from TcLogMark.h (see Constants).
Optionally, the event ID can be used to distinguish between different user events or to display additional data (formatted as USHORT) in the TwinCAT 3 Realtime Monitor display.
virtual HRESULT LogMark(USHORT GroupId, USHORT EventId, ULONG CtrlId);