forked from Mirrors/wine-wine
dinput/tests: Use GetModuleHandleA() instead of LoadLibraryA() (Coverity).
Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>oldstable
parent
431fca550d
commit
4b90a46e36
|
@ -448,7 +448,7 @@ static void keyboard_tests(DWORD version)
|
|||
|
||||
START_TEST(keyboard)
|
||||
{
|
||||
pDirectInputCreateA = (void *)GetProcAddress(LoadLibraryA("dinput.dll"), "DirectInputCreateA");
|
||||
pDirectInputCreateA = (void *)GetProcAddress(GetModuleHandleA("dinput.dll"), "DirectInputCreateA");
|
||||
|
||||
CoInitialize(NULL);
|
||||
|
||||
|
|
Loading…
Reference in New Issue