mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-14 17:47:33 -05:00
Invent a win_strerror() function which behaves as much like Unix
strerror as I can arrange, wrapping up all the ugly FormatMessage nonsense and caching previously looked-up messages for reuse so that callers can treat them as static. [originally from svn r9956]
This commit is contained in:
@ -461,6 +461,7 @@ void show_help(HWND hwnd);
|
||||
extern OSVERSIONINFO osVersion;
|
||||
BOOL init_winver(void);
|
||||
HMODULE load_system32_dll(const char *libname);
|
||||
const char *win_strerror(int error);
|
||||
|
||||
/*
|
||||
* Exports from sizetip.c.
|
||||
|
Reference in New Issue
Block a user