CmEmbedded_4c_transp CmSetLastErrorCode

Description

CmSetLastErrorCode sets an error code into the internal global error code variable.

information_weiss_klein26

Please note that with CodeMeter Version 6.10 for programming in C#  the function CmSetLastErrorCode has become obsolete. Please use the new function CmSetLastErrorCode2 instead.

If using a CodeMeter Version smaller than 6.10 please use function CmGetLastErrorCode.

  • C, C++

Syntax

void CMAPIENTRY CmSetLastErrorCode(int idError)

Parameter

idError specifies the error code to be set.