diff --git a/reactos/lib/gdi32/misc/stubs.c b/reactos/lib/gdi32/misc/stubs.c index 231600bd125..d5fdf597d54 100644 --- a/reactos/lib/gdi32/misc/stubs.c +++ b/reactos/lib/gdi32/misc/stubs.c @@ -1,4 +1,4 @@ -/* $Id: stubs.c,v 1.24 2003/07/20 00:33:55 jimtabor Exp $ +/* $Id: stubs.c,v 1.25 2003/07/20 00:42:55 jimtabor Exp $ * * reactos/lib/gdi32/misc/stubs.c * @@ -510,20 +510,6 @@ GetFontData( } -/* - * @unimplemented - */ -int -STDCALL -GetGraphicsMode( - HDC a0 - ) -{ - SetLastError(ERROR_CALL_NOT_IMPLEMENTED); - return 0; -} - - /* * @unimplemented */ @@ -1076,21 +1062,6 @@ SetMapperFlags( } -/* - * @unimplemented - */ -int -STDCALL -SetGraphicsMode( - HDC hdc, - int iMode - ) -{ - SetLastError(ERROR_CALL_NOT_IMPLEMENTED); - return 0; -} - - /* * @unimplemented */ diff --git a/reactos/lib/gdi32/objects/dc.c b/reactos/lib/gdi32/objects/dc.c index 679329e7e2c..b90e29c6a1e 100644 --- a/reactos/lib/gdi32/objects/dc.c +++ b/reactos/lib/gdi32/objects/dc.c @@ -8,6 +8,33 @@ #include +/* + * @implemented + */ +int +STDCALL +GetGraphicsMode( + HDC a0 + ) +{ + return W32kGetGraphicsMode(a0); +} + + +/* + * @implemented + */ +int +STDCALL +SetGraphicsMode( + HDC hdc, + int iMode + ) +{ + return W32kSetGraphicsMode(hdc, iMode); +} + + /* * @implemented */ @@ -59,7 +86,6 @@ GetBkMode( return W32kGetBkMode(a0); } - /* * @implemented */