chsvlib
chsv helper source code

◆ GetLastChsvErrorWin32()

unsigned long Chusov::GetLastChsvErrorWin32 ( )
noexcept

Returns last Windows error code.

Warning
It is not an alias of the SDK GetLastError function. It uses own thread local storages. So if the caller sets the error using SDK SetLastError function then this error can only be retrieved by a call to the SDK GetLastError function. When the error is set using the chsvlib mechanism, then only the Get functions of the chsvlib mechanism can retrieve the error.
Remarks
Declared in chsverr.h.
Deprecated:
The function is deprecated as non-portable.