update for HEAD-2003021201
[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 #ifndef __USE_W32API
15
16 #define CCHDEVICENAME   (32)
17 #define CCHFORMNAME     (32)
18
19 typedef struct _devicemodeA
20 {
21         BYTE dmDeviceName[CCHDEVICENAME];
22         WORD dmSpecVersion;
23         WORD dmDriverVersion;
24         WORD dmSize;
25         WORD dmDriverExtra;
26         DWORD dmFields;
27         short dmOrientation;
28         short dmPaperSize;
29         short dmPaperLength;
30         short dmPaperWidth;
31         short dmScale;
32         short dmCopies;
33         short dmDefaultSource;
34         short dmPrintQuality;
35         short dmColor;
36         short dmDuplex;
37         short dmYResolution;
38         short dmTTOption;
39         short dmCollate;
40         BYTE dmFormName[CCHFORMNAME];
41         WORD dmLogPixels;
42         DWORD dmBitsPerPel;
43         DWORD dmPelsWidth;
44         DWORD dmPelsHeight;
45         DWORD dmDisplayFlags;
46         DWORD dmDisplayFrequency;
47         DWORD dmICMMethod;
48         DWORD dmICMIntent;
49         DWORD dmMediaType;
50         DWORD dmDitherType;
51         DWORD dmICCManufacturer;
52         DWORD dmICCModel;
53 } DEVMODEA,*LPDEVMODEA,*PDEVMODEA;
54
55 typedef struct _devicemodeW
56 {
57         WCHAR dmDeviceName[CCHDEVICENAME];
58         WORD dmSpecVersion;
59         WORD dmDriverVersion;
60         WORD dmSize;
61         WORD dmDriverExtra;
62         DWORD dmFields;
63         short dmOrientation;
64         short dmPaperSize;
65         short dmPaperLength;
66         short dmPaperWidth;
67         short dmScale;
68         short dmCopies;
69         short dmDefaultSource;
70         short dmPrintQuality;
71         short dmColor;
72         short dmDuplex;
73         short dmYResolution;
74         short dmTTOption;
75         short dmCollate;
76         WCHAR dmFormName[CCHFORMNAME];
77         WORD dmLogPixels;
78         DWORD dmBitsPerPel;
79         DWORD dmPelsWidth;
80         DWORD dmPelsHeight;
81         DWORD dmDisplayFlags;
82         DWORD dmDisplayFrequency;
83         DWORD dmICMMethod;
84         DWORD dmICMIntent;
85         DWORD dmMediaType;
86         DWORD dmDitherType;
87         DWORD dmICCManufacturer;
88         DWORD dmICCModel;
89 } DEVMODEW,*LPDEVMODEW,*PDEVMODEW;
90
91 #endif /* !__USE_W32API */
92
93 #endif /* __INCLUDE_NTOS_GDITYPES_H */
94
95 /* EOF */