Commit 7ec69e9c authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

LoadLibrary16 is no longer exported by name, so do the lookup by its

ordinal (when loading NE sibling).
parent 39e922ce
......@@ -116,7 +116,7 @@ BOOL WINMM_CheckForMMSystem(void)
if (h)
{
pGetModuleHandle16 = (void*)GetProcAddress(h, "GetModuleHandle16");
pLoadLibrary16 = (void*)GetProcAddress(h, "LoadLibrary16");
pLoadLibrary16 = (void*)GetProcAddress(h, (LPCSTR)35); /* ordinal for LoadLibrary16 */
if (pGetModuleHandle16 && pLoadLibrary16 &&
(pGetModuleHandle16("MMSYSTEM.DLL") || pLoadLibrary16("MMSYSTEM.DLL")))
loaded = 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment