Commit 8150b52c authored by Ian Schmidt's avatar Ian Schmidt Committed by Alexandre Julliard

Added stubs for two undocumented GDI routines, SetMagicColors and

SetSolidBrush. This allows Win98 native USER to start up.
parent 8320d678
......@@ -373,9 +373,9 @@ file gdi.exe
569 pascal16 GDI_569() stub_GDI_569
602 pascal16 SetDIBColorTable(word word word ptr) SetDIBColorTable16
603 pascal16 GetDIBColorTable(word word word ptr) GetDIBColorTable16
604 stub SetSolidBrush
604 pascal16 SetSolidBrush(word long) SetSolidBrush16
605 pascal16 SysDeleteObject(word) DeleteObject16 # ???
606 stub SetMagicColors
606 pascal16 SetMagicColors(word long word) SetMagicColors16
607 stub GetRegionData
608 stub ExtCreateRegion
609 stub GDIFreeResources
......
......@@ -334,3 +334,21 @@ INT32 BRUSH_GetObject32( BRUSHOBJ * brush, INT32 count, LPSTR buffer )
memcpy( buffer, &brush->logbrush, count );
return count;
}
/***********************************************************************
* SetSolidBrush16 (GDI.604)
*
* If hBrush is a solid brush, change it's color to newColor.
*
* RETURNS
* TRUE on success, FALSE on failure.
* FIXME: not yet implemented!
*/
BOOL16 WINAPI SetSolidBrush16(HBRUSH16 hBrush, COLORREF newColor )
{
FIXME(gdi, "(hBrush %04x, newColor %04x): stub!\n", hBrush, (int)newColor);
return(FALSE);
}
......@@ -791,3 +791,12 @@ BOOL32 WINAPI UpdateColors32(
return TRUE;
}
/*********************************************************************
* SetMagicColors16 (GDI.606)
*/
VOID WINAPI SetMagicColors16(HDC16 hDC, COLORREF color, UINT16 index)
{
FIXME(palette,"(hDC %04x, color %04x, index %04x): stub\n", hDC, (int)color, index);
}
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