https://git.reactos.org/?p=reactos.git;a=commitdiff;h=cba5acbc48b48971e0e93…
commit cba5acbc48b48971e0e93787221ac3f5da31eab7
Author: James Tabor <james.tabor(a)reactos.org>
AuthorDate: Tue May 12 20:34:22 2020 -0500
Commit: James Tabor <james.tabor(a)reactos.org>
CommitDate: Tue May 12 20:34:22 2020 -0500
[NtGDI] Add missing type for EPS Print Escape
Part of GDI escape printing.
---
win32ss/gdi/ntgdi/dcutil.c | 5 +++++
win32ss/include/ntgdityp.h | 3 ++-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/win32ss/gdi/ntgdi/dcutil.c b/win32ss/gdi/ntgdi/dcutil.c
index 0ac907f0197..056fd7f2140 100644
--- a/win32ss/gdi/ntgdi/dcutil.c
+++ b/win32ss/gdi/ntgdi/dcutil.c
@@ -585,6 +585,11 @@ NtGdiGetAndSetDCDword(
switch (u)
{
+ case GdiGetSetEPSPrintingEscape:
+ SafeResult = pdc->fs & DC_EPSPRINTINGESCAPE;
+ pdc->fs &= ~DC_EPSPRINTINGESCAPE;
+ break;
+
case GdiGetSetCopyCount:
SafeResult = pdc->ulCopyCount;
pdc->ulCopyCount = dwIn;
diff --git a/win32ss/include/ntgdityp.h b/win32ss/include/ntgdityp.h
index 748e4041034..3144df2745d 100644
--- a/win32ss/include/ntgdityp.h
+++ b/win32ss/include/ntgdityp.h
@@ -59,7 +59,8 @@ typedef enum _GETDCDWORD
typedef enum _GETSETDCDWORD
{
- GdiGetSetCopyCount = 2,
+ GdiGetSetEPSPrintingEscape = 1,
+ GdiGetSetCopyCount,
GdiGetSetTextAlign,
GdiGetSetRelAbs,
GdiGetSetTextCharExtra,