diff --git a/reactos/lib/gdi32/objects/dc.c b/reactos/lib/gdi32/objects/dc.c index a7a658c8744..679329e7e2c 100644 --- a/reactos/lib/gdi32/objects/dc.c +++ b/reactos/lib/gdi32/objects/dc.c @@ -7,6 +7,73 @@ #include #include + +/* + * @implemented + */ +int +STDCALL +GetMapMode( + HDC a0 + ) +{ + return W32kGetMapMode(a0); +} + +/* + * @implemented + */ +BOOL +STDCALL +GetCurrentPositionEx( + HDC a0, + LPPOINT a1 + ) +{ + return W32kGetCurrentPositionEx(a0, a1); +} + + +/* + * @implemented + */ +COLORREF +STDCALL +GetBkColor( + HDC a0 + ) +{ + return W32kGetBkColor(a0); +} + + +/* + * @implemented + */ +int +STDCALL +GetBkMode( + HDC a0 + ) +{ + return W32kGetBkMode(a0); +} + + +/* + * @implemented + */ +BOOL +STDCALL +GetBrushOrgEx( + HDC a0, + LPPOINT a1 + ) +{ + return W32kGetBrushOrgEx(a0, a1); +} + + /* * @implemented */ diff --git a/reactos/lib/gdi32/objects/region.c b/reactos/lib/gdi32/objects/region.c index aba70bfdd83..f2be89d7e03 100644 --- a/reactos/lib/gdi32/objects/region.c +++ b/reactos/lib/gdi32/objects/region.c @@ -7,6 +7,26 @@ #include #include +/* + * @implemented + */ +int +STDCALL +GetClipRgn( + HDC a0, + HRGN a1 + ) +{ + HRGN rgn = W32kGetClipRgn(a0); + if(rgn) + { + if(W32kCombineRgn(a1, rgn, 0, RGN_COPY) != ERROR) return 1; + else + return -1; + } + else return 0; +} + /* * @unimplemented