LabWindows/CVI

CVIXMLGetLastErrorInfo

CVIXMLStatus CVIXMLGetLastErrorInfo (ERRORINFO *errorInformation);

Purpose

Gets the extended error information last set in the current thread.

Parameters

Output
Name Type Description
errorInformation ERRORINFO Pass the address of an ERRORINFO structure. You can pass NULL if you do not want to get the error information but want to check whether error information is available.

Return Value

Name Type Description
status CVIXMLStatus Indicates whether the function was successful.

A negative value indicates failure. On success, zero indicates that error information is available, and one indicates that error information is not available.

You can call CVIXMLGetErrorString to obtain textual descriptions of error codes. Among the more commonly encountered errors are:

E_OUTOFMEMORY Out of memory.
E_INVALIDARG Invalid argument to a function.

Additional Information

Library: CVIXML

Include file: toolbox\cvixml.h

LabWindows/CVI compatibility: LabWindows/CVI 7.0 and later

Log in to get a better experience