X-Git-Url: http://git.jankratochvil.net/?p=reactos.git;a=blobdiff_plain;f=include%2Fntos%2Fgditypes.h;fp=include%2Fntos%2Fgditypes.h;h=10ae3f87a725ca1322df8ae75af626d2fd3b2008;hp=3932cf9ae8abea0eada0b6f1c461e35b5e87de61;hb=7c0cf90e3b750f1f0dc83b2eec9e5c68a512c30f;hpb=ee8b63255465d8c28be3e7bd11628015708fc1ab diff --git a/include/ntos/gditypes.h b/include/ntos/gditypes.h index 3932cf9..10ae3f8 100644 --- a/include/ntos/gditypes.h +++ b/include/ntos/gditypes.h @@ -24,10 +24,21 @@ typedef struct _devicemodeA WORD dmSize; WORD dmDriverExtra; DWORD dmFields; - short dmOrientation; - short dmPaperSize; - short dmPaperLength; - short dmPaperWidth; + union + { + struct + { + short dmOrientation; + short dmPaperSize; + short dmPaperLength; + short dmPaperWidth; + }; + struct + { + LONG x; + LONG y; + } dmPosition; + }; short dmScale; short dmCopies; short dmDefaultSource; @@ -42,14 +53,28 @@ typedef struct _devicemodeA DWORD dmBitsPerPel; DWORD dmPelsWidth; DWORD dmPelsHeight; - DWORD dmDisplayFlags; + union + { + DWORD dmDisplayFlags; + DWORD dmNup; + }; DWORD dmDisplayFrequency; DWORD dmICMMethod; DWORD dmICMIntent; DWORD dmMediaType; DWORD dmDitherType; - DWORD dmICCManufacturer; - DWORD dmICCModel; + union + { + DWORD dmICCManufacturer; + DWORD dmReserved1; + }; + union + { + DWORD dmICCModel; + DWORD dmReserved2; + }; + DWORD dmPanningWidth; + DWORD dmPanningHeight; } DEVMODEA,*LPDEVMODEA,*PDEVMODEA; typedef struct _devicemodeW @@ -60,10 +85,21 @@ typedef struct _devicemodeW WORD dmSize; WORD dmDriverExtra; DWORD dmFields; - short dmOrientation; - short dmPaperSize; - short dmPaperLength; - short dmPaperWidth; + union + { + struct + { + short dmOrientation; + short dmPaperSize; + short dmPaperLength; + short dmPaperWidth; + }; + struct + { + LONG x; + LONG y; + } dmPosition; + }; short dmScale; short dmCopies; short dmDefaultSource; @@ -78,14 +114,28 @@ typedef struct _devicemodeW DWORD dmBitsPerPel; DWORD dmPelsWidth; DWORD dmPelsHeight; - DWORD dmDisplayFlags; + union + { + DWORD dmDisplayFlags; + DWORD dmNup; + }; DWORD dmDisplayFrequency; DWORD dmICMMethod; DWORD dmICMIntent; DWORD dmMediaType; DWORD dmDitherType; - DWORD dmICCManufacturer; - DWORD dmICCModel; + union + { + DWORD dmICCManufacturer; + DWORD dmReserved1; + }; + union + { + DWORD dmICCModel; + DWORD dmReserved2; + }; + DWORD dmPanningWidth; + DWORD dmPanningHeight; } DEVMODEW,*LPDEVMODEW,*PDEVMODEW; #endif /* !__USE_W32API */