API Buffer Error Codes

API Buffer error codes are defined in the ApiBufferErrorCode class. Functions in the ApiBuffer class may return these errors.

Error

Code (Decimal)

Code (Hex)

Description

Resolution

OverMaxLevel

73728

0x12000

Maximum nesting level exceeded.

Implement flow control logic for the API buffer using less nesting levels (currently, up to 100 nesting levels are supported).

InvalidLevel

73729

0x12001

Invalid nesting level. Verify that flow control operations are added to the buffer in the correct order.

Verify that flow control operations are added to the buffer in the correct order.

InvalidBuffControl

73730

0x12002

Invalid control for API buffer. API buffer function cannot be used.

Restart the engine, or restart the PC. Verify that the correct version of the IMDll.dll is used.

InvalidWatchTriggerRoutineChannel

73731

0x12003

Watch trigger routine channel is out of range.

Verify that the watch trigger routine channel is within range.

WatchTriggerRoutineChannelSameAsExecChannel

73732

0x12004

Watch trigger routine channel cannot be the same as the execution channel.

Verify that the watch trigger routine channel is different from the channel the watch is defined for.

RewindFailedFirstCommandOverwritten

73733

0x12005

Failed to rewind. The first command in the buffer was overwritten.

This error is returned if the rewind operation fails because one or more commands in the buffer were overwritten by other commands added to the buffer. To prevent this error, do not add more commands to the buffer after executing the API buffer.

AlreadyRecordingForSpecifiedChannel

73734

0x12006

Already recording API functions for specified channel.

Verify that API functions are not being recorded already for the specified channel.

NotRecording

73735

0x12007

Not recording API functions.

Verify that API functions are being recorded.

RequestModeChangeTimeout

73736

0x12008

Mode change request timed out.

Verify that the API Buffer channel is in a valid state.