:pserver:cvsanon@mok.lvcm.com:/CVS/ReactOS reactos
[reactos.git] / include / ntos / gditypes.h
1 /*
2  * COPYRIGHT:      See COPYING in the top level directory
3  * PROJECT:        ReactOS kernel
4  * FILE:           include/ntos/gditypes.h
5  * PURPOSE:        Common GDI definitions
6  * PROGRAMMER:     Eric Kohl <ekohl@rz-online.de>
7  * UPDATE HISTORY:
8  *                 25/06/2001: Created
9 */
10
11 #ifndef __INCLUDE_NTOS_GDITYPES_H
12 #define __INCLUDE_NTOS_GDITYPES_H
13
14 #define CCHDEVICENAME   (32)
15 #define CCHFORMNAME     (32)
16
17 typedef struct _devicemodeA
18 {
19         BYTE dmDeviceName[CCHDEVICENAME];
20         WORD dmSpecVersion;
21         WORD dmDriverVersion;
22         WORD dmSize;
23         WORD dmDriverExtra;
24         DWORD dmFields;
25         short dmOrientation;
26         short dmPaperSize;
27         short dmPaperLength;
28         short dmPaperWidth;
29         short dmScale;
30         short dmCopies;
31         short dmDefaultSource;
32         short dmPrintQuality;
33         short dmColor;
34         short dmDuplex;
35         short dmYResolution;
36         short dmTTOption;
37         short dmCollate;
38         BYTE dmFormName[CCHFORMNAME];
39         WORD dmLogPixels;
40         DWORD dmBitsPerPel;
41         DWORD dmPelsWidth;
42         DWORD dmPelsHeight;
43         DWORD dmDisplayFlags;
44         DWORD dmDisplayFrequency;
45         DWORD dmICMMethod;
46         DWORD dmICMIntent;
47         DWORD dmMediaType;
48         DWORD dmDitherType;
49         DWORD dmICCManufacturer;
50         DWORD dmICCModel;
51 } DEVMODEA,*LPDEVMODEA,*PDEVMODEA;
52
53 typedef struct _devicemodeW
54 {
55         WCHAR dmDeviceName[CCHDEVICENAME];
56         WORD dmSpecVersion;
57         WORD dmDriverVersion;
58         WORD dmSize;
59         WORD dmDriverExtra;
60         DWORD dmFields;
61         short dmOrientation;
62         short dmPaperSize;
63         short dmPaperLength;
64         short dmPaperWidth;
65         short dmScale;
66         short dmCopies;
67         short dmDefaultSource;
68         short dmPrintQuality;
69         short dmColor;
70         short dmDuplex;
71         short dmYResolution;
72         short dmTTOption;
73         short dmCollate;
74         WCHAR dmFormName[CCHFORMNAME];
75         WORD dmLogPixels;
76         DWORD dmBitsPerPel;
77         DWORD dmPelsWidth;
78         DWORD dmPelsHeight;
79         DWORD dmDisplayFlags;
80         DWORD dmDisplayFrequency;
81         DWORD dmICMMethod;
82         DWORD dmICMIntent;
83         DWORD dmMediaType;
84         DWORD dmDitherType;
85         DWORD dmICCManufacturer;
86         DWORD dmICCModel;
87 } DEVMODEW,*LPDEVMODEW,*PDEVMODEW;
88
89 #endif /* __INCLUDE_NTOS_GDITYPES_H */
90
91 /* EOF */