32-bit clipboard support.
[wine/multimedia.git] / include / sysmetrics.h
blobbfb6cf3d3a75501ec8bc4b3c08f01946c91b076c
1 /*
2 * System metrics definitions
4 * Copyright 1994 Alexandre Julliard
5 */
7 #ifndef __WINE_SYSMETRICS_H
8 #define __WINE_SYSMETRICS_H
10 #include "windows.h"
13 /* Constant system metrics */
14 #if 0
15 #ifdef WIN_95_LOOK
16 #define SYSMETRICS_CXDLGFRAME 3
17 #define SYSMETRICS_CYDLGFRAME 3
18 #define SYSMETRICS_CYVTHUMB 13
19 #define SYSMETRICS_CXHTHUMB 13
20 #else
21 #define SYSMETRICS_CXDLGFRAME 4
22 #define SYSMETRICS_CYDLGFRAME 4
23 #define SYSMETRICS_CYVTHUMB 16
24 #define SYSMETRICS_CXHTHUMB 16
25 #endif
26 #define SYSMETRICS_CXICON 32
27 #define SYSMETRICS_CYICON 32
28 #define SYSMETRICS_CXCURSOR 32
29 #define SYSMETRICS_CYCURSOR 32
30 #ifdef WIN_95_LOOK
31 #define SYSMETRICS_CYVSCROLL 14
32 #define SYSMETRICS_CXHSCROLL 14
33 #define SYSMETRICS_CXMIN 112
34 #define SYSMETRICS_CYMIN 27
35 #else
36 #define SYSMETRICS_CYVSCROLL 16
37 #define SYSMETRICS_CXHSCROLL 16
38 #define SYSMETRICS_CXMIN 100
39 #define SYSMETRICS_CYMIN 28
40 #endif
41 #ifdef WIN_95_LOOK
42 #define SYSMETRICS_CXMINTRACK 112
43 #define SYSMETRICS_CYMINTRACK 27
44 #else
45 #define SYSMETRICS_CXMINTRACK 100
46 #define SYSMETRICS_CYMINTRACK 28
47 #endif
48 #endif 0
50 /* Some non-constant system metrics */
51 #define SYSMETRICS_CXSCREEN sysMetrics[SM_CXSCREEN] /* 0 */
52 #define SYSMETRICS_CYSCREEN sysMetrics[SM_CYSCREEN] /* 1 */
53 #define SYSMETRICS_CXVSCROLL sysMetrics[SM_CXVSCROLL] /* 2 */
54 #define SYSMETRICS_CYHSCROLL sysMetrics[SM_CYHSCROLL] /* 3 */
55 #define SYSMETRICS_CYCAPTION sysMetrics[SM_CYCAPTION] /* 4 */
56 #define SYSMETRICS_CXBORDER sysMetrics[SM_CXBORDER] /* 5 */
57 #define SYSMETRICS_CYBORDER sysMetrics[SM_CYBORDER] /* 6 */
58 #define SYSMETRICS_CXDLGFRAME sysMetrics[SM_CXDLGFRAME] /* 7 */
59 #define SYSMETRICS_CYDLGFRAME sysMetrics[SM_CYDLGFRAME] /* 8 */
60 #define SYSMETRICS_CYVTHUMB sysMetrics[SM_CYVTHUMB] /* 9 */
61 #define SYSMETRICS_CXHTHUMB sysMetrics[SM_CXHTHUMB] /* 10 */
62 #define SYSMETRICS_CXICON sysMetrics[SM_CXICON] /* 11 */
63 #define SYSMETRICS_CYICON sysMetrics[SM_CYICON] /* 12 */
64 #define SYSMETRICS_CXCURSOR sysMetrics[SM_CXCURSOR] /* 13 */
65 #define SYSMETRICS_CYCURSOR sysMetrics[SM_CYCURSOR] /* 14 */
66 #define SYSMETRICS_CYMENU sysMetrics[SM_CYMENU] /* 15 */
67 #define SYSMETRICS_CXFULLSCREEN sysMetrics[SM_CXFULLSCREEN] /* 16 */
68 #define SYSMETRICS_CYFULLSCREEN sysMetrics[SM_CYFULLSCREEN] /* 17 */
69 #define SYSMETRICS_CYKANJIWINDOW sysMetrics[SM_CYKANJIWINDOW] /* 18 */
70 #define SYSMETRICS_MOUSEPRESENT sysMetrics[SM_MOUSEPRESENT] /* 19 */
71 #define SYSMETRICS_CYVSCROLL sysMetrics[SM_CYVSCROLL] /* 20 */
72 #define SYSMETRICS_CXHSCROLL sysMetrics[SM_CXHSCROLL] /* 21 */
73 #define SYSMETRICS_DEBUG sysMetrics[SM_DEBUG] /* 22 */
74 #define SYSMETRICS_SWAPBUTTON sysMetrics[SM_SWAPBUTTON] /* 23 */
75 #define SYSMETRICS_RESERVED1 sysMetrics[SM_RESERVED1] /* 24 */
76 #define SYSMETRICS_RESERVED2 sysMetrics[SM_RESERVED2] /* 25 */
77 #define SYSMETRICS_RESERVED3 sysMetrics[SM_RESERVED3] /* 26 */
78 #define SYSMETRICS_RESERVED4 sysMetrics[SM_RESERVED4] /* 27 */
79 #define SYSMETRICS_CXMIN sysMetrics[SM_CXMIN] /* 28 */
80 #define SYSMETRICS_CYMIN sysMetrics[SM_CYMIN] /* 29 */
81 #define SYSMETRICS_CXSIZE sysMetrics[SM_CXSIZE] /* 30 */
82 #define SYSMETRICS_CYSIZE sysMetrics[SM_CYSIZE] /* 31 */
83 #define SYSMETRICS_CXFRAME sysMetrics[SM_CXFRAME] /* 32 */
84 #define SYSMETRICS_CYFRAME sysMetrics[SM_CYFRAME] /* 33 */
85 #define SYSMETRICS_CXMINTRACK sysMetrics[SM_CXMINTRACK] /* 34 */
86 #define SYSMETRICS_CYMINTRACK sysMetrics[SM_CYMINTRACK] /* 35 */
87 #define SYSMETRICS_CXDOUBLECLK sysMetrics[SM_CXDOUBLECLK] /* 36 */
88 #define SYSMETRICS_CYDOUBLECLK sysMetrics[SM_CYDOUBLECLK] /* 37 */
89 #define SYSMETRICS_CXICONSPACING sysMetrics[SM_CXICONSPACING] /* 38 */
90 #define SYSMETRICS_CYICONSPACING sysMetrics[SM_CYICONSPACING] /* 39 */
91 #define SYSMETRICS_MENUDROPALIGNMENT sysMetrics[SM_MENUDROPALIGNMENT] /* 40 */
92 #define SYSMETRICS_PENWINDOWS sysMetrics[SM_PENWINDOWS] /* 41 */
93 #define SYSMETRICS_DBCSENABLED sysMetrics[SM_DBCSENABLED] /* 42 */
94 #define SYSMETRICS_CMOUSEBUTTONS sysMetrics[SM_CMOUSEBUTTONS] /* 43 */
95 #define SYSMETRICS_CXFIXEDFRAME sysMetrics[SM_CXDLGFRAME] /* win40 name change */
96 #define SYSMETRICS_CYFIXEDFRAME sysMetrics[SM_CYDLGFRAME] /* win40 name change */
97 #define SYSMETRICS_CXSIZEFRAME sysMetrics[SM_CXFRAME] /* win40 name change */
98 #define SYSMETRICS_CYSIZEFRAME sysMetrics[SM_CYFRAME] /* win40 name change */
99 #define SYSMETRICS_SECURE sysMetrics[SM_SECURE] /* 44 */
100 #define SYSMETRICS_CXEDGE sysMetrics[SM_CXEDGE] /* 45 */
101 #define SYSMETRICS_CYEDGE sysMetrics[SM_CYEDGE] /* 46 */
102 #define SYSMETRICS_CXMINSPACING sysMetrics[SM_CXMINSPACING] /* 47 */
103 #define SYSMETRICS_CYMINSPACING sysMetrics[SM_CYMINSPACING] /* 48 */
104 #define SYSMETRICS_CXSMICON sysMetrics[SM_CXSMICON] /* 49 */
105 #define SYSMETRICS_CYSMICON sysMetrics[SM_CYSMICON] /* 50 */
106 #define SYSMETRICS_CYSMCAPTION sysMetrics[SM_CYSMCAPTION] /* 51 */
107 #define SYSMETRICS_CXSMSIZE sysMetrics[SM_CXSMSIZE] /* 52 */
108 #define SYSMETRICS_CYSMSIZE sysMetrics[SM_CYSMSIZE] /* 53 */
109 #define SYSMETRICS_CXMENUSIZE sysMetrics[SM_CXMENUSIZE] /* 54 */
110 #define SYSMETRICS_CYMENUSIZE sysMetrics[SM_CYMENUSIZE] /* 55 */
111 #define SYSMETRICS_ARRANGE sysMetrics[SM_ARRANGE] /* 56 */
112 #define SYSMETRICS_CXMINIMIZED sysMetrics[SM_CXMINIMIZED] /* 57 */
113 #define SYSMETRICS_CYMINIMIZED sysMetrics[SM_CYMINIMIZED] /* 58 */
114 #define SYSMETRICS_CXMAXTRACK sysMetrics[SM_CXMAXTRACK] /* 59 */
115 #define SYSMETRICS_CYMAXTRACK sysMetrics[SM_CYMAXTRACK] /* 60 */
116 #define SYSMETRICS_CXMAXIMIZED sysMetrics[SM_CXMAXIMIZED] /* 61 */
117 #define SYSMETRICS_CYMAXIMIZED sysMetrics[SM_CYMAXIMIZED] /* 62 */
118 #define SYSMETRICS_NETWORK sysMetrics[SM_NETWORK] /* 63 */
119 #define SYSMETRICS_CLEANBOOT sysMetrics[SM_CLEANBOOT] /* 67 */
120 #define SYSMETRICS_CXDRAG sysMetrics[SM_CXDRAG] /* 68 */
121 #define SYSMETRICS_CYDRAG sysMetrics[SM_CYDRAG] /* 69 */
122 #define SYSMETRICS_SHOWSOUNDS sysMetrics[SM_SHOWSOUNDS] /* 70 */
124 /* Use the following instead of sysMetrics[SM_CXMENUCHECK] GetMenuCheckMarkDimensions()! */
125 #define SYSMETRICS_CXMENUCHECK sysMetrics[SM_CXMENUCHECK] /* 71 */
126 #define SYSMETRICS_CYMENUCHECK sysMetrics[SM_CYMENUCHECK] /* 72 */
128 #define SYSMETRICS_SLOWMACHINE sysMetrics[SM_SLOWMACHINE] /* 73 */
129 #define SYSMETRICS_MIDEASTENABLED sysMetrics[SM_MIDEASTENABLED] /* 74 */
130 #define SYSMETRICS_MOUSEWHEELPRESENT sysMetrics[SM_MOUSEWHEELPRESENT] /* 75 */
132 #define SYSMETRICS_CXVIRTUALSCREEN sysMetrics[SM_CXVIRTUALSCREEN] /* 77 */
133 #define SYSMETRICS_CYVIRTUALSCREEN sysMetrics[SM_CYVIRTUALSCREEN] /* 77 */
134 #define SYSMETRICS_YVIRTUALSCREEN sysMetrics[SM_YVIRTUALSCREEN] /* 78 */
135 #define SYSMETRICS_XVIRTUALSCREEN sysMetrics[SM_XVIRTUALSCREEN] /* 79 */
136 #define SYSMETRICS_CMONITORS sysMetrics[SM_CMONITORS] /* 81 */
137 #define SYSMETRICS_SAMEDISPLAYFORMAT sysMetrics[SM_SAMEDISPLAYFORMAT] /* 82 */
139 extern void SYSMETRICS_Init(void); /* sysmetrics.c */
140 extern short sysMetrics[SM_CMETRICS+1];
142 extern void SYSCOLOR_Init(void); /* syscolor.c */
144 #endif /* __WINE_SYSMETRICS_H */