Skip to content

Commit 8c1a2a5

Browse files
committed
[GDI32] Bring back PathToRegion
It is unimplemented in reactos, but Windows handles it, so it should not simply be removed.
1 parent 4b35a56 commit 8c1a2a5

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

win32ss/gdi/gdi32/include/gdi32p.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -627,6 +627,7 @@ typedef enum _DCFUNC
627627
DCFUNC_OffsetClipRgn,
628628
DCFUNC_OffsetViewportOrgEx,
629629
DCFUNC_OffsetWindowOrgEx,
630+
DCFUNC_PathToRegion, // UNIMPLEMENTED
630631
DCFUNC_PatBlt,
631632
DCFUNC_Pie,
632633
DCFUNC_PlgBlt, // UNIMPLEMENTED

win32ss/gdi/gdi32/objects/path.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ WINAPI
120120
PathToRegion(
121121
HDC hdc)
122122
{
123+
HANDLE_METADC0P(HRGN, PathToRegion, NULL, hdc);
123124
return NtGdiPathToRegion(hdc);
124125
}
125126

0 commit comments

Comments
 (0)