mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user