Typical usage is to call this function before calling some other Xpdf
library function, and then if the library function returns an error,
getWin32ErrorCode to see if the
error was caused by a Win32 API function failure.
Each thread has its own, independent saved error function and code.
This function is only available on Windows.