From 3ec9aeaa02aaacc77295f0df78bed1254c0b0529 Mon Sep 17 00:00:00 2001 From: Magnus Olsen Date: Sun, 2 Sep 2007 13:19:07 +0000 Subject: [PATCH] implement SelectFontLocal svn path=/trunk/; revision=28772 --- reactos/dll/win32/gdi32/misc/historic.c | 11 +++++++++++ reactos/dll/win32/gdi32/misc/stubs.c | 15 +-------------- 2 files changed, 12 insertions(+), 14 deletions(-) diff --git a/reactos/dll/win32/gdi32/misc/historic.c b/reactos/dll/win32/gdi32/misc/historic.c index 7aef41cb264..8dfcafedcb7 100644 --- a/reactos/dll/win32/gdi32/misc/historic.c +++ b/reactos/dll/win32/gdi32/misc/historic.c @@ -243,3 +243,14 @@ SelectBrushLocal(HBRUSH Currenthbm, { return Newhbm; } + +/* + * @implemented + */ +HFONT +STDCALL +SelectFontLocal(HFONT Currenthfnt, + HFONT newhfnt) +{ + return newhfnt; +} diff --git a/reactos/dll/win32/gdi32/misc/stubs.c b/reactos/dll/win32/gdi32/misc/stubs.c index 56911047ab6..f31f7e916bc 100644 --- a/reactos/dll/win32/gdi32/misc/stubs.c +++ b/reactos/dll/win32/gdi32/misc/stubs.c @@ -1120,20 +1120,7 @@ GetGlyphOutlineWow( } -/* - * @unimplemented - */ -DWORD -STDCALL -SelectFontLocal( - DWORD a0, - DWORD a1 - ) -{ - UNIMPLEMENTED; - SetLastError(ERROR_CALL_NOT_IMPLEMENTED); - return 0; -} + /*