chsvlib
chsv helper source code

◆ GetLastChsvErrorInfo()

const CHSV_ERROR_INFO* Chusov::GetLastChsvErrorInfo ( )
noexcept

Returns a pointer to the CHSV_ERROR_INFO structure containing definition of the last chsvlib error code.

Returns
A pointer to the CHSV_ERROR_INFO structure containing definition of the last chsvlib error code.
Remarks
If the last error has been set with no additional descriptions, i.e. by a call to the SetLastChsvError() or to the SetLastChsvErrorInfo() with pExtraInfo parameter set to NULL, the pErrorExtraInfo field of the returned CHSV_ERROR_INFO structure would be NULL.
By default the functions returns CHSVERROR_SUCCESS error code without extra definition.
Declared in chsverr.h.
See also
SetLastChsvErrorInfo();
SetLastChsvError(chsverror_t nError);
GetLastChsvError().