mirror of
https://github.com/reactos/reactos.git
synced 2026-06-22 01:12:52 +08:00
Misc patch, for later Icm support, update CreateCompatibleDC.
svn path=/trunk/; revision=33481
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user