svn path=/trunk/; revision=31880
/*
* ReactOS W32 Subsystem
* Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 ReactOS Team
/*
* ReactOS W32 Subsystem
* Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 ReactOS Team
FASTCALL
IntGdiDeleteDC(HDC hDC, BOOL Force)
{
FASTCALL
IntGdiDeleteDC(HDC hDC, BOOL Force)
{
PDC DCToDelete = DC_LockDc(hDC);
if (DCToDelete == NULL)
PDC DCToDelete = DC_LockDc(hDC);
if (DCToDelete == NULL)
{
DPRINT1("No! You Naughty Application!\n");
DC_UnlockDc( DCToDelete );
{
DPRINT1("No! You Naughty Application!\n");
DC_UnlockDc( DCToDelete );
-// if(!UserReleaseDC(NULL, hDC, FALSE)) Ret = FALSE;
- return Ret;
+ return UserReleaseDC(NULL, hDC, FALSE);