DEVMODE structure uses short not SHORT for its fields.
This commit is contained in:
parent
9283bb3c42
commit
d985e66f8a
|
@ -2666,22 +2666,22 @@ typedef struct
|
|||
DWORD dmFields;
|
||||
union {
|
||||
struct {
|
||||
SHORT dmOrientation;
|
||||
SHORT dmPaperSize;
|
||||
SHORT dmPaperLength;
|
||||
SHORT dmPaperWidth;
|
||||
short dmOrientation;
|
||||
short dmPaperSize;
|
||||
short dmPaperLength;
|
||||
short dmPaperWidth;
|
||||
} DUMMYSTRUCTNAME1;
|
||||
POINTL dmPosition;
|
||||
} DUMMYUNIONNAME1;
|
||||
SHORT dmScale;
|
||||
SHORT dmCopies;
|
||||
SHORT dmDefaultSource;
|
||||
SHORT dmPrintQuality;
|
||||
SHORT dmColor;
|
||||
SHORT dmDuplex;
|
||||
SHORT dmYResolution;
|
||||
SHORT dmTTOption;
|
||||
SHORT dmCollate;
|
||||
short dmScale;
|
||||
short dmCopies;
|
||||
short dmDefaultSource;
|
||||
short dmPrintQuality;
|
||||
short dmColor;
|
||||
short dmDuplex;
|
||||
short dmYResolution;
|
||||
short dmTTOption;
|
||||
short dmCollate;
|
||||
BYTE dmFormName[CCHFORMNAME];
|
||||
WORD dmLogPixels;
|
||||
DWORD dmBitsPerPel;
|
||||
|
@ -2709,22 +2709,22 @@ typedef struct
|
|||
DWORD dmFields;
|
||||
union {
|
||||
struct {
|
||||
SHORT dmOrientation;
|
||||
SHORT dmPaperSize;
|
||||
SHORT dmPaperLength;
|
||||
SHORT dmPaperWidth;
|
||||
short dmOrientation;
|
||||
short dmPaperSize;
|
||||
short dmPaperLength;
|
||||
short dmPaperWidth;
|
||||
} DUMMYSTRUCTNAME1;
|
||||
POINTL dmPosition;
|
||||
} DUMMYUNIONNAME1;
|
||||
SHORT dmScale;
|
||||
SHORT dmCopies;
|
||||
SHORT dmDefaultSource;
|
||||
SHORT dmPrintQuality;
|
||||
SHORT dmColor;
|
||||
SHORT dmDuplex;
|
||||
SHORT dmYResolution;
|
||||
SHORT dmTTOption;
|
||||
SHORT dmCollate;
|
||||
short dmScale;
|
||||
short dmCopies;
|
||||
short dmDefaultSource;
|
||||
short dmPrintQuality;
|
||||
short dmColor;
|
||||
short dmDuplex;
|
||||
short dmYResolution;
|
||||
short dmTTOption;
|
||||
short dmCollate;
|
||||
WCHAR dmFormName[CCHFORMNAME];
|
||||
WORD dmLogPixels;
|
||||
DWORD dmBitsPerPel;
|
||||
|
|
Loading…
Reference in New Issue