diff --git a/reactos/lib/gdi32/misc/stubs.c b/reactos/lib/gdi32/misc/stubs.c index 63bb5d90456..60249db2e9b 100644 --- a/reactos/lib/gdi32/misc/stubs.c +++ b/reactos/lib/gdi32/misc/stubs.c @@ -1,4 +1,4 @@ -/* $Id: stubs.c,v 1.5 2001/05/02 12:35:06 jfilby Exp $ +/* $Id: stubs.c,v 1.6 2001/08/02 20:20:17 phreak Exp $ * * reactos/lib/gdi32/misc/stubs.c * @@ -1437,19 +1437,6 @@ SetGraphicsMode( -int -STDCALL -SetMapMode( - HDC a0, - int a1 - ) -{ - SetLastError(ERROR_CALL_NOT_IMPLEMENTED); - return 0; -} - - - HMETAFILE STDCALL SetMetaFileBitsEx( @@ -2456,21 +2443,6 @@ SetViewportExtEx( -BOOL -STDCALL -SetViewportOrgEx( - HDC a0, - int a1, - int a2, - LPPOINT a3 - ) -{ - SetLastError(ERROR_CALL_NOT_IMPLEMENTED); - return FALSE; -} - - - BOOL STDCALL SetWindowExtEx( @@ -2487,21 +2459,6 @@ SetWindowExtEx( -BOOL -STDCALL -SetWindowOrgEx( - HDC a0, - int a1, - int a2, - LPPOINT a3 - ) -{ - SetLastError(ERROR_CALL_NOT_IMPLEMENTED); - return FALSE; -} - - - BOOL STDCALL OffsetViewportOrgEx( diff --git a/reactos/lib/gdi32/objects/dc.c b/reactos/lib/gdi32/objects/dc.c index dd08ea9daa8..1a4e903af45 100644 --- a/reactos/lib/gdi32/objects/dc.c +++ b/reactos/lib/gdi32/objects/dc.c @@ -117,3 +117,37 @@ SelectObject( { return W32kSelectObject(hDC, hGDIObj); } + +int +STDCALL +SetMapMode( + HDC a0, + int a1 + ) +{ + return W32kSetMapMode( a0, a1 ); +} + +BOOL +STDCALL +SetViewportOrgEx( + HDC a0, + int a1, + int a2, + LPPOINT a3 + ) +{ + return W32kSetViewportOrgEx( a0, a1, a2, a3 ); +} + +BOOL +STDCALL +SetWindowOrgEx( + HDC a0, + int a1, + int a2, + LPPOINT a3 + ) +{ + return W32kSetWindowOrgEx( a0, a1, a2, a3 ); +}