mirror of
https://github.com/reactos/reactos.git
synced 2024-10-15 05:37:44 +00:00
Use Gdi32 DeleteDC now. Soon tests will start with most Get functions using dcattr.
svn path=/trunk/; revision=28377
This commit is contained in:
parent
dc8b712ce4
commit
e2d01e0703
|
@ -91,7 +91,7 @@ CreateScalableFontResourceW@16
|
|||
CreateSolidBrush@4
|
||||
DPtoLP@12
|
||||
DeleteColorSpace@4
|
||||
DeleteDC@4=NtGdiDeleteObjectApp@4
|
||||
DeleteDC@4
|
||||
DeleteEnhMetaFile@4
|
||||
DeleteMetaFile@4
|
||||
DeleteObject@4
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue