diff --git a/if1632/kernel.spec b/if1632/kernel.spec index 56a5f0bfd17..71372240076 100644 --- a/if1632/kernel.spec +++ b/if1632/kernel.spec @@ -32,7 +32,7 @@ file krnl386.exe 25 pascal GlobalCompact(long) GlobalCompact16 26 pascal16 GlobalFreeAll(word) GlobalFreeAll16 27 pascal16 GetModuleName(word ptr word) GetModuleName16 -28 stub GlobalMasterHandle +28 pascal GlobalMasterHandle() GlobalMasterHandle16 29 pascal16 Yield() Yield16 30 pascal16 WaitEvent(word) WaitEvent16 31 pascal16 PostEvent(word) PostEvent16 diff --git a/misc/toolhelp.c b/misc/toolhelp.c index 5580428beaa..d437530bc06 100644 --- a/misc/toolhelp.c +++ b/misc/toolhelp.c @@ -211,3 +211,19 @@ BOOL WINAPI Module32Next(HANDLE hSnapshot, LPMODULEENTRY lpme) FIXME(toolhelp,"(%d,%p),stub!\n",hSnapshot,lpme); return FALSE; } + +/************************************************************************ + * GlobalMasterHandle16 (KERNEL.28) + * + * + * Should return selector and handle of the information structure for + * the global heap. selector and handle are stored in the THHOOK as + * pGlobalHeap and hGlobalHeap. + * As Wine doesn't have this structure, we return both values as zero + * Applications should interpret this as "No Global Heap" + */ +DWORD WINAPI GlobalMasterHandle16(void) +{ + FIXME(toolhelp,": stub\n"); + return 0; +}