Sets the value of errno.
#include <windows.h> VOID SetLastError ( DWORD dwErrCode );
(IN) Specifies the error code to place in errno. For a list of defined values for errno, see POSIX and ANSI Return Values
in Volume 1.
The SetLastError function is not a preferred interface. If possible, use the functions found in dlfcn.h.