mf/tests: Simplify video processor expected input types checks.
[wine.git] / include / ddk / winddi.h
blob8f3a38e0b84cb75c4faecf4a1a88f4220cf19eb9
1 /*
2 * Definitions for Graphics Device Drivers interface
4 * Copyright 2023 Piotr Caban
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #ifndef _WINDDI_
22 #define _WINDDI_
24 typedef LONG PTRDIFF;
25 typedef SHORT FWORD;
27 #define FM_SEL_ITALIC 0x1
28 #define FM_SEL_UNDERSCORE 0x2
29 #define FM_SEL_NEGATIVE 0x4
30 #define FM_SEL_OUTLINED 0x8
31 #define FM_SEL_STRIKEOUT 0x10
32 #define FM_SEL_BOLD 0x20
33 #define FM_SEL_REGULAR 0x40
35 typedef struct _IFIMETRICS {
36 ULONG cjThis;
37 ULONG cjIfiExtra;
38 PTRDIFF dpwszFamilyName;
39 PTRDIFF dpwszStyleName;
40 PTRDIFF dpwszFaceName;
41 PTRDIFF dpwszUniqueName;
42 PTRDIFF dpFontSim;
43 LONG lEmbedId;
44 LONG lItalicAngle;
45 LONG lCharBias;
46 PTRDIFF dpCharSets;
47 BYTE jWinCharSet;
48 BYTE jWinPitchAndFamily;
49 USHORT usWinWeight;
50 ULONG flInfo;
51 USHORT fsSelection;
52 USHORT fsType;
53 FWORD fwdUnitsPerEm;
54 FWORD fwdLowestPPEm;
55 FWORD fwdWinAscender;
56 FWORD fwdWinDescender;
57 FWORD fwdMacAscender;
58 FWORD fwdMacDescender;
59 FWORD fwdMacLineGap;
60 FWORD fwdTypoAscender;
61 FWORD fwdTypoDescender;
62 FWORD fwdTypoLineGap;
63 FWORD fwdAveCharWidth;
64 FWORD fwdMaxCharInc;
65 FWORD fwdCapHeight;
66 FWORD fwdXHeight;
67 FWORD fwdSubscriptXSize;
68 FWORD fwdSubscriptYSize;
69 FWORD fwdSubscriptXOffset;
70 FWORD fwdSubscriptYOffset;
71 FWORD fwdSuperscriptXSize;
72 FWORD fwdSuperscriptYSize;
73 FWORD fwdSuperscriptXOffset;
74 FWORD fwdSuperscriptYOffset;
75 FWORD fwdUnderscoreSize;
76 FWORD fwdUnderscorePosition;
77 FWORD fwdStrikeoutSize;
78 FWORD fwdStrikeoutPosition;
79 BYTE chFirstChar;
80 BYTE chLastChar;
81 BYTE chDefaultChar;
82 BYTE chBreakChar;
83 WCHAR wcFirstChar;
84 WCHAR wcLastChar;
85 WCHAR wcDefaultChar;
86 WCHAR wcBreakChar;
87 POINTL ptlBaseline;
88 POINTL ptlAspect;
89 POINTL ptlCaret;
90 RECTL rclFontBox;
91 BYTE achVendId[4];
92 ULONG cKerningPairs;
93 ULONG ulPanoseCulture;
94 PANOSE panose;
95 #ifdef _WIN64
96 PVOID Align;
97 #endif
98 } IFIMETRICS, *PIFIMETRICS;
100 #endif /* _WINDDI_ */