HM_ExtAPI::GetLastErrorCode()

Returns the code of the last error occurred during the call to any of the functions of HM_ExtAPI interface.

Syntax

int GetLastErrorCode(void);

Type

HyperMesh Ext API Function

Description

Most of HM_ExtAPI interface functions return value of true to indicate that their execution was successful or the value of false to indicate that some error occurred during their execution. The function GetLastErrorCode can be used to get more detailed error information.

The function returns the value of the last error code.

Requires including hm_extapi.h.

Errors

None.