mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-02 03:52:49 -05:00
Create, and use for all loads of system DLLs, a wrapper function
called load_system32_dll() which constructs a full pathname for the DLL using GetSystemDirectory. The only DLL load not covered by this change is the one for gssapi32.dll, because that one's not in the system32 directory. [originally from svn r8993]
This commit is contained in:
@ -5019,7 +5019,7 @@ DECL_WINDOWS_FUNCTION(static, BOOL, FlashWindowEx, (PFLASHWINFO));
|
||||
|
||||
static void init_flashwindow(void)
|
||||
{
|
||||
HMODULE user32_module = LoadLibrary("USER32.DLL");
|
||||
HMODULE user32_module = load_system32_dll("user32.dll");
|
||||
GET_WINDOWS_FUNCTION(user32_module, FlashWindowEx);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user