Sets the a thread specific last error code along with additional data that is supposed to provide extra information about the error.
- Parameters
-
nError | is a full chsvlib error code. |
pExtraInfo | is an optionally provided generic pointer to a memory buffer containing data describing the error. The data may be omitted by setting pExtraInfo to NULL and cbExtraInfo to 0. In this case the function acts just like the SetLastChsvError function. If the pExtraInfo is not NULL the function copies the content of the pExtraInfo to internal data structures as plain text. |
cbExtraInfo | is a byte size of data pointed to by the pExtraInfo. If the pExtraInfo is NULL the cbExtraInfo must be 0. |
- See also
- SetLastChsvError(chsverror_t nError);
GetLastChsvError();
GetLastChsvErrorInfo().