Module: wine Branch: master Commit: 79511d98b740c662f46ab33df2e79e401acbd942 URL: http://source.winehq.org/git/wine.git/?a=commit;h=79511d98b740c662f46ab33df2... Author: Dmitry Timoshkov <dmitry(a)baikal.ru> Date: Thu Dec 12 14:11:30 2013 +0900 secur32/tests: Use LoadLibrary instead of GetModuleHandle to load advapi32.dll APIs. --- dlls/secur32/tests/schannel.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/secur32/tests/schannel.c b/dlls/secur32/tests/schannel.c index 81539c7..a00c276 100644 --- a/dlls/secur32/tests/schannel.c +++ b/dlls/secur32/tests/schannel.c @@ -123,7 +123,7 @@ static void InitFunctionPtrs(void) secdll = LoadLibraryA("secur32.dll"); if(!secdll) secdll = LoadLibraryA("security.dll"); - advapi32dll = GetModuleHandleA("advapi32.dll"); + advapi32dll = LoadLibraryA("advapi32.dll"); #define GET_PROC(h, func) p ## func = (void*)GetProcAddress(h, #func)