TraceMgrPacketComplete (FUN) ¶ FUNCTION TraceMgrPacketComplete : RTS_IEC_RESULT Completes a trace packet and finishes the configuration. This function must be called after all records have been added to the packet. InOut: Scope Name Type Comment Return TraceMgrPacketComplete RTS_IEC_RESULT Returns the runtime system error code (see CmpErrors.library): ERR_PARAMETER if hPacket is not a valid handle Input hPacket RTS_IEC_HANDLE The trace packet handle
TraceMgrPacketCreate (FUN) ¶ FUNCTION TraceMgrPacketCreate : RTS_IEC_HANDLE Creates a new trace packet. The returned handle must be deleted with TraceMgrPacketDelete when the packet is no longer needed. InOut: Scope Name Type Comment Return TraceMgrPacketCreate RTS_IEC_HANDLE Returns the runtime system error code (see CmpErrors.library): ERR_PARAMETER if pConfiguration.pszName is 0 ERR_DUPLICATE if a packet with the given name already exists ERR_NOMEMORY if the available memory is not sufficient to create the packet Inout pConfiguration TracePacketConfiguration The trace packet configuration (in) pResult RTS_IEC_RESULT The result code (out)
TraceMgrPacketDelete (FUN) ¶ FUNCTION TraceMgrPacketDelete : RTS_IEC_RESULT Deletes an existing handle. The handle must have been created with TraceMgrPacketCreate. InOut: Scope Name Type Comment Return TraceMgrPacketDelete RTS_IEC_RESULT Returns the runtime system error code (see CmpErrors.library): ERR_PARAMETER if hPacket is not a valid packet handle Input hPacket RTS_IEC_HANDLE The trace packet handle
TraceMgrPacketDisable (FUN) ¶ FUNCTION TraceMgrPacketDisable : RTS_IEC_RESULT Disables a trace packet. Does nothing if the trace packet is disabled. InOut: Scope Name Type Comment Return TraceMgrPacketDisable RTS_IEC_RESULT Returns the runtime system error code (see CmpErrors.library): ERR_PARAMETER if hPacket is not a valid packet handle Input hPacket RTS_IEC_HANDLE The trace packet handle
TraceMgrPacketDisableTrigger (FUN) ¶ FUNCTION TraceMgrPacketDisableTrigger : RTS_IEC_RESULT Disables the trigger of a trace packet. InOut: Scope Name Type Comment Return TraceMgrPacketDisableTrigger RTS_IEC_RESULT Returns the runtime system error code (see CmpErrors.library): ERR_PARAMETER if hPacket is not a valid packet handle Input hPacket RTS_IEC_HANDLE The trace packet handle
TraceMgrPacketEnable (FUN) ¶ FUNCTION TraceMgrPacketEnable : RTS_IEC_RESULT Enables a trace packet. Does nothing if the trace packet is enabled. InOut: Scope Name Type Comment Return TraceMgrPacketEnable RTS_IEC_RESULT Returns the runtime system error code (see CmpErrors.library): ERR_PARAMETER if hPacket is not a valid packet handle Input hPacket RTS_IEC_HANDLE The trace packet handle
TraceMgrPacketEnableTrigger (FUN) ¶ FUNCTION TraceMgrPacketEnableTrigger : RTS_IEC_RESULT Enables the trigger of a trace packet. Note This function should be called if the trigger is currently disabled. If the trigger has already fired, call TraceMgrPacketResetTrigger to reset the trigger, instead. InOut: Scope Name Type Comment Return TraceMgrPacketEnableTrigger RTS_IEC_RESULT Returns the runtime system error code (see CmpErrors.library): ERR_PARAMETER if hPacket is not a valid packet handle Input hPacket RTS_IEC_HANDLE The trace packet handle
TraceMgrPacketGetAbsoluteStartTime (FUN) ¶ FUNCTION TraceMgrPacketGetAbsoluteStartTime : RTS_IEC_RESULT Returns the absolute start time of a trace packet or 0 if trace packet has not been started yet. Note The start time is the time when the packet was started for the first time. InOut: Scope Name Type Comment Return TraceMgrPacketGetAbsoluteStartTime RTS_IEC_RESULT Returns the runtime system error code (see CmpErrors.library): ERR_PARAMETER if hPacket is not a valid handle Input hPacket RTS_IEC_HANDLE The trace packet handle Inout pStartTime SYSTIME The start time (out)
TraceMgrPacketGetChangeTimestamp (FUN) ¶ FUNCTION TraceMgrPacketGetChangeTimestamp : RTS_IEC_RESULT Returns the timestamp of a trace packet’s last modification. InOut: Scope Name Type Comment Return TraceMgrPacketGetChangeTimestamp RTS_IEC_RESULT Returns the runtime system error code (see CmpErrors.library): ERR_PARAMETER if hPacket is not a valid packet handle Input hPacket RTS_IEC_HANDLE The trace packet handle Inout pdwTimestamp DWORD The modification timestamp (out)
TraceMgrPacketGetConfig (FUN) ¶ FUNCTION TraceMgrPacketGetConfig : RTS_IEC_RESULT Queries the configuration of a trace packet. InOut: Scope Name Type Comment Return TraceMgrPacketGetConfig RTS_IEC_RESULT Returns the runtime system error code (see CmpErrors.library): ERR_PARAMETER if hPacket is not a valid handle Input hPacket RTS_IEC_HANDLE The trace packet handle Inout pConfiguration TracePacketConfiguration The packet configuration (out)