The LMX_GetError function returns an error structure containing the complete error message.
Prototype
const LMX_ERROR_INFO *LMX_GetError
(
LMX_HANDLE LmxHandle
);
Parameters
LmxHandle
[in/out] LM-X handle.
Return Values
The return value is a pointer to a structure containing the error information. See the lmx.h header file for details on this structure.
Remarks
This function is useful for custom error processing, when you want to display the error message from LM-X in a custom format.
For each error message, you can retrieve a feature name to which the error applies, a context-specific error and an internal error code. Typically, the context-specific error and internal error code are used only by X-Formation for support purposes.
Note: LMX_GetErrorMessage (See "LMX_GetErrorMessage" on page ) prints the same error information, but the output is formatted.