SetLastError - Set the current thread's last error code value
|Top Previous Next|
SetLastError( <nErrorCode> )
The last error code to be set for the calling thread.
SetLastError is a substitute for the SetLastError function exported by kernel32.dll for applications using Cockpit. It sets the error code for the calling thread as if it was set during a DllExecuteCallEx call. This error code can be retrieved with GetLastError. For transparency reasons SetLastError also calls the SetLastError function exported by kernel32.dll.
Library: cckptcor.lib / cckptcor.dll