aboutsummaryrefslogtreecommitdiff
path: root/test.c
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2019-05-23 20:22:44 +0200
committerPali Rohár <pali.rohar@gmail.com>2019-05-23 20:22:44 +0200
commita5c0031ec4ac648261553128894e157ee41889cb (patch)
tree7c9b78c218bf3a9dc4ed9d1c94a18c8637a2d28c /test.c
parent1488731c810ed76589170909da9ef07f060cef46 (diff)
downloaddlfcn-win32-a5c0031ec4ac648261553128894e157ee41889cb.tar.gz
dlfcn-win32-a5c0031ec4ac648261553128894e157ee41889cb.tar.bz2
dlfcn-win32-a5c0031ec4ac648261553128894e157ee41889cb.zip
Correctly process and indicate error from LoadLibraryExA() function
Function save_err_str() checks for error by GetLastError() call. Calling EnumProcessModules() may change or reset it. So call save_err_str() immediately after LoadLibraryExA().
Diffstat (limited to 'test.c')
0 files changed, 0 insertions, 0 deletions