LoadLibrary16 is no longer exported by name, so do the lookup by its
ordinal (when loading NE sibling).
This commit is contained in:
parent
39e922ce72
commit
7ec69e9c2b
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue