Commit r20366:20368 again.
[reactos.git] / reactos / include / win32k / ntgdityp.h
1 /*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS Win32 Graphical Subsystem (WIN32K)
4 * FILE: include/win32k/ntgdityp.h
5 * PURPOSE: Win32 Shared GDI Types for NtGdi*
6 * PROGRAMMER: Alex Ionescu (alex@relsoft.net)
7 */
8
9 /* INCLUDES ******************************************************************/
10
11 #ifndef _NTGDITYP_
12 #define _NTGDITYP_
13
14 /* ENUMERATIONS **************************************************************/
15
16 typedef enum _ARCTYPE
17 {
18 GdiTypeArc,
19 GdiTypeArcTo,
20 GdiTypeChord,
21 GdiTypePie,
22 } ARCTYPE, *PARCTYPE;
23
24 typedef enum _PALFUNCTYPE
25 {
26 GdiPalAnimate,
27 GdiPalSetEntries,
28 GdiPalGetEntries,
29 GdiPalGetSystemEntries,
30 GdiPalSetColorTable,
31 GdiPalGetColorTable,
32 } PALFUNCTYPE, *PPALFUNCTYPE;
33
34 typedef enum _POLYFUNCTYPE
35 {
36 GdiPolyPolygon = 1,
37 GdiPolyPolyLine,
38 GdiPolyBezier,
39 GdiPolyLineTo,
40 GdiPolyBezierTo,
41 GdiPolyPolyRgn,
42 } POLYFUNCTYPE, *PPOLYFUNCTYPE;
43
44 typedef enum _GETDCDWORD
45 {
46 GdiGetRelAbs = 1,
47 GdiGetArcDirection = 4,
48 } GETDCDWORD, *PGETDCDWORD;
49
50 typedef enum _GETSETDCDWORD
51 {
52 GdiGetSetArcDirection = 9,
53 } GETSETDCDWORD, *PGETSETDCDWORD;
54
55 typedef enum _GETDCPOINT
56 {
57 GdiGetViewPortExt = 1,
58 GdiGetDCOrg = 7,
59 } GETDCPOINT, *PGETDCPOINT;
60
61 typedef enum _TRANSFORMTYPE
62 {
63 GdiDpToLp,
64 GdiLpToDp,
65 } TRANSFORMTYPE, *PTRANSFORMTYPE;
66
67 #define GdiWorldSpaceToPageSpace 0x203
68
69 /* FIXME: Unknown */
70 typedef DWORD FULLSCREENCONTROL;
71 typedef DWORD LFTYPE;
72
73 /* TYPES *********************************************************************/
74
75 typedef PVOID KERNEL_PVOID;
76 typedef DWORD UNIVERSAL_FONT_ID;
77 typedef UNIVERSAL_FONT_ID *PUNIVERSAL_FONT_ID;
78 typedef DWORD CHWIDTHINFO;
79 typedef CHWIDTHINFO *PCHWIDTHINFO;
80 typedef D3DNTHAL_CONTEXTCREATEDATA D3DNTHAL_CONTEXTCREATEI;
81
82 /* FIXME: Unknown; easy to guess, usually based on public types and converted */
83 typedef struct _WIDTHDATA WIDTHDATA, *PWIDTHDATA;
84 typedef struct _TMDIFF TMDIFF, *PTMDIFF;
85 typedef struct _TMW_INTERNAL TMW_INTERNAL, *PTMW_INTERNAL;
86 typedef struct _ENUMFONTDATAW ENUMFONTDATAW, *PENUMFONTDATAW;
87 typedef struct _DEVCAPS DEVCAPS, *PDEVCAPS;
88 typedef struct _REALIZATION_INFO REALIZATION_INFO, *PREALIZATION_INFO;
89
90 #endif