TraceMgrPacketGetNext (FUN)

FUNCTION TraceMgrPacketGetNext : RTS_IEC_HANDLE

Returns the next trace packet. This function can be used together with TraceMgrPacketGetFirst to iterate through all trace packets.

InOut:

Scope

Name

Type

Comment

Return

TraceMgrPacketGetNext

RTS_IEC_HANDLE

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

  • ERR_NO_OBJECT if hPrevPacket is the last trace packet

Input

hPrevPacket

RTS_IEC_HANDLE

The packet handle of the current trace packet

Inout

pResult

RTS_IEC_RESULT

The result code