Commit cf67b00a authored by Andreas Mohr's avatar Andreas Mohr Committed by Alexandre Julliard

Added stub for GdiInit2().

parent f7885833
......@@ -297,7 +297,7 @@ rsrc version16.res
400 pascal16 FastWindowFrame(word ptr s_word s_word long) FastWindowFrame16
401 stub GDIMOVEBITMAP
402 stub GDIGETBITSGLOBAL # W2.0 (only ?)
403 stub GDIINIT2
403 pascal16 GdiInit2(word word) GdiInit216
404 stub GetTTGlyphIndexMap
405 pascal16 FinalGdiInit(word) FinalGdiInit16
406 stub CREATEREALBITMAPINDIRECT # W2.0 (only ?)
......
......@@ -504,7 +504,7 @@ BOOL WINAPI DeleteObject( HGDIOBJ obj )
WARN("Already deleted\n");
break;
default:
WARN("Unknown magic number (%d)\n",GDIMAGIC(header->wMagic));
WARN("Unknown magic number (%04x)\n",GDIMAGIC(header->wMagic));
}
GDI_ReleaseObj( obj );
return FALSE;
......@@ -1125,9 +1125,25 @@ WORD WINAPI GdiSignalProc( UINT uCode, DWORD dwThreadOrProcessID,
}
/***********************************************************************
* GdiInit2 (GDI.405)
*
* See "Undocumented Windows"
*/
HANDLE16 WINAPI GdiInit216(
HANDLE16 h1, /* GDI object */
HANDLE16 h2 /* global data */
)
{
FIXME("(%04x, %04x), stub.\n", h1, h2);
if (h2 == 0xffff)
return 0xffff; /* undefined return value */
return h1; /* FIXME: should be the memory handle of h1 */
}
/***********************************************************************
* FinalGdiInit (GDI.405)
*/
void WINAPI FinalGdiInit16( HANDLE16 unknown )
void WINAPI FinalGdiInit16( HBRUSH16 hPattern /* fill pattern of desktop */ )
{
}
......
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