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;
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
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;
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 */