secur32/tests: Use LoadLibrary instead of GetModuleHandle to load advapi32.dll APIs.

oldstable
Dmitry Timoshkov 2013-12-12 14:11:30 +09:00 committed by Alexandre Julliard
parent 870f289680
commit 79511d98b7
1 changed files with 1 additions and 1 deletions

View File

@ -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)