Misc patch, for later Icm support, update CreateCompatibleDC.

svn path=/trunk/; revision=33481
This commit is contained in:
James Tabor
2008-05-12 18:16:48 +00:00
parent 5244432b9c
commit cf585bc08a

View File

@@ -86,8 +86,20 @@ HDC
STDCALL
CreateCompatibleDC ( HDC hdc)
{
/* FIXME need sharememory if it metadc */
return NtGdiCreateCompatibleDC(hdc);
HDC rhDC;
// PDC_ATTR Dc_Attr;
rhDC = NtGdiCreateCompatibleDC(hdc);
#if 0
if ( hdc && rhDC)
{
if (GdiGetHandleUserData((HGDIOBJ) hdc, GDI_OBJECT_TYPE_DC, (PVOID) &Dc_Attr))
{
if ( Dc_Attr->pvLIcm ) IcmCompatibleDC(rhDC, hdc, Dc_Attr);
}
}
#endif
return rhDC;
}
/*