From d51049e8a280c0270c520145cf7e815c78c93eb7 Mon Sep 17 00:00:00 2001 From: James Tabor Date: Sat, 28 Apr 2007 23:40:51 +0000 Subject: [PATCH] Allow for the deallocation of the local DC structure once the new create I and DC are ready. svn path=/trunk/; revision=26566 --- reactos/dll/win32/gdi32/misc/misc.c | 23 +++++++++++++++++++++++ reactos/dll/win32/gdi32/misc/stubs.c | 24 ------------------------ 2 files changed, 23 insertions(+), 24 deletions(-) diff --git a/reactos/dll/win32/gdi32/misc/misc.c b/reactos/dll/win32/gdi32/misc/misc.c index 8f4d0a92c05..114fc4fc65a 100644 --- a/reactos/dll/win32/gdi32/misc/misc.c +++ b/reactos/dll/win32/gdi32/misc/misc.c @@ -123,3 +123,26 @@ GdiGetBatchLimit() } +/* + * @unimplemented + */ +BOOL +STDCALL +GdiReleaseDC(HDC hdc) +{ + GdiReleaseLocalDC(hdc); + return 0; +} + + +/* + * @unimplemented + */ +BOOL +STDCALL +GdiReleaseLocalDC(HDC hdc) +{ + return 0; +} + + diff --git a/reactos/dll/win32/gdi32/misc/stubs.c b/reactos/dll/win32/gdi32/misc/stubs.c index 6c5f5ed54b8..dca417174e5 100644 --- a/reactos/dll/win32/gdi32/misc/stubs.c +++ b/reactos/dll/win32/gdi32/misc/stubs.c @@ -1780,30 +1780,6 @@ GdiIsPlayMetafileDC(HDC hdc) return 0; } -/* - * @unimplemented - */ -BOOL -STDCALL -GdiReleaseDC(HDC hdc) -{ - UNIMPLEMENTED; - SetLastError(ERROR_CALL_NOT_IMPLEMENTED); - return 0; -} - -/* - * @unimplemented - */ -BOOL -STDCALL -GdiReleaseLocalDC(HDC hdc) -{ - UNIMPLEMENTED; - SetLastError(ERROR_CALL_NOT_IMPLEMENTED); - return 0; -} - /* * @unimplemented */