Use Gdi32 DeleteDC now. Soon tests will start with most Get functions using dcattr.

svn path=/trunk/; revision=28377
This commit is contained in:
James Tabor 2007-08-17 00:40:57 +00:00
parent dc8b712ce4
commit e2d01e0703
2 changed files with 5 additions and 6 deletions

View file

@ -91,7 +91,7 @@ CreateScalableFontResourceW@16
CreateSolidBrush@4
DPtoLP@12
DeleteColorSpace@4
DeleteDC@4=NtGdiDeleteObjectApp@4
DeleteDC@4
DeleteEnhMetaFile@4
DeleteMetaFile@4
DeleteObject@4

View file

@ -240,15 +240,14 @@ CreateICA(
*/
BOOL
STDCALL
NEWDeleteDC(HDC hDC)
DeleteDC(HDC hDC)
{
BOOL Ret = TRUE;
#if 0
PDC_ATTR Dc_Attr;
PLDC pLDC;
Ret = GdiGetHandleUserData((HGDIOBJ) hDC, (PVOID) &Dc_Attr);
if ( !Ret ) return FALSE;
if (!GdiGetHandleUserData((HGDIOBJ) hDC, (PVOID) &Dc_Attr)) return FALSE;
if ( Dc_Attr )
{
@ -260,7 +259,7 @@ NEWDeleteDC(HDC hDC)
LocalFree( pLDC );
}
}
#endif
Ret = NtGdiDeleteObjectApp(hDC);
return Ret;