TraceMgrRecordGetNext (FUN)

FUNCTION TraceMgrRecordGetNext : RTS_IEC_HANDLE

Returns the next trace record of a trace packet. This function can be used together with TraceMgrRecordGetFirst to iterate through all trace records of a packet.

InOut:

Scope

Name

Type

Comment

Return

TraceMgrRecordGetNext

RTS_IEC_HANDLE

Returns the runtime system error code (see CmpErrors.library):
  • ERR_PARAMETER if hPacket or hPrevRecord is not a valid handle

  • ERR_NO_OBJECT if the packet has no next trace record

Input

hPacket

RTS_IEC_HANDLE

The trace packet handle

hPrevRecord

RTS_IEC_HANDLE

The trace record handle of the current record

Inout

pResult

RTS_IEC_RESULT

The result code (out)