TraceMgrRecordGetFirst (FUN)ΒΆ
FUNCTION TraceMgrRecordGetFirst : RTS_IEC_HANDLE
Returns the first trace record of a trace packet. This function can be used together with TraceMgrRecordGetNext to iterate through all trace records of a packet.
- InOut:
Scope
Name
Type
Comment
Return
TraceMgrRecordGetFirstRTS_IEC_HANDLE- Returns the runtime system error code (see CmpErrors.library):
ERR_PARAMETER if hPacket is not a valid packet handle
ERR_NO_OBJECT if the packet has no trace record
Input
hPacketRTS_IEC_HANDLEThe trace packet handle
Inout
pResultRTS_IEC_RESULTThe result code (out)