1 | /*
|
---|
2 | * Copyright (C) the Wine project
|
---|
3 | *
|
---|
4 | * This library is free software; you can redistribute it and/or
|
---|
5 | * modify it under the terms of the GNU Lesser General Public
|
---|
6 | * License as published by the Free Software Foundation; either
|
---|
7 | * version 2.1 of the License, or (at your option) any later version.
|
---|
8 | *
|
---|
9 | * This library is distributed in the hope that it will be useful,
|
---|
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
12 | * Lesser General Public License for more details.
|
---|
13 | *
|
---|
14 | * You should have received a copy of the GNU Lesser General Public
|
---|
15 | * License along with this library; if not, write to the Free Software
|
---|
16 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
---|
17 | */
|
---|
18 |
|
---|
19 | /*
|
---|
20 | * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
|
---|
21 | * other than GPL or LGPL is available it will apply instead, Sun elects to use only
|
---|
22 | * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
|
---|
23 | * a choice of LGPL license versions is made available with the language indicating
|
---|
24 | * that LGPLv2 or any later version may be used, or where a choice of which version
|
---|
25 | * of the LGPL is applied is otherwise unspecified.
|
---|
26 | */
|
---|
27 |
|
---|
28 | #ifndef __WINE_OLECTL_H
|
---|
29 | #define __WINE_OLECTL_H
|
---|
30 |
|
---|
31 | #if !defined(__midl) && !defined(__WIDL__)
|
---|
32 |
|
---|
33 | #include <ocidl.h>
|
---|
34 |
|
---|
35 | #ifdef __cplusplus
|
---|
36 | extern "C" {
|
---|
37 | #endif
|
---|
38 |
|
---|
39 |
|
---|
40 |
|
---|
41 | /*
|
---|
42 | * Ole Control Interfaces
|
---|
43 | */
|
---|
44 | DEFINE_GUID(CLSID_ConvertVBX,
|
---|
45 | 0xfb8f0822,0x0164,0x101b,0x84,0xed,0x08,0x00,0x2b,0x2e,0xc7,0x13);
|
---|
46 | DEFINE_GUID(CLSID_PersistPropset,
|
---|
47 | 0xfb8f0821,0x0164,0x101b,0x84,0xed,0x08,0x00,0x2b,0x2e,0xc7,0x13);
|
---|
48 |
|
---|
49 | DEFINE_GUID(CLSID_StdFont,
|
---|
50 | 0x0be35203,0x8f91,0x11ce,0x9d,0xe3,0x00,0xaa,0x00,0x4b,0xb8,0x51);
|
---|
51 | DEFINE_GUID(CLSID_StdPicture,
|
---|
52 | 0x0be35204,0x8f91,0x11ce,0x9d,0xe3,0x00,0xaa,0x00,0x4b,0xb8,0x51);
|
---|
53 |
|
---|
54 | DEFINE_GUID(IID_IPropertyFrame,
|
---|
55 | 0xb196b28a,0xbab4,0x101a,0xb6,0x9c,0x00,0xaa,0x00,0x34,0x1d,0x07);
|
---|
56 |
|
---|
57 | DEFINE_GUID(CLSID_CFontPropPage,
|
---|
58 | 0x0be35200,0x8f91,0x11ce,0x9d,0xe3,0x00,0xaa,0x00,0x4b,0xb8,0x51);
|
---|
59 | DEFINE_GUID(CLSID_CColorPropPage,
|
---|
60 | 0x0be35201,0x8f91,0x11ce,0x9d,0xe3,0x00,0xaa,0x00,0x4b,0xb8,0x51);
|
---|
61 | DEFINE_GUID(CLSID_CPicturePropPage,
|
---|
62 | 0x0be35202,0x8f91,0x11ce,0x9d,0xe3,0x00,0xaa,0x00,0x4b,0xb8,0x51);
|
---|
63 |
|
---|
64 | DEFINE_GUID(GUID_HIMETRIC,
|
---|
65 | 0x66504300,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB);
|
---|
66 | DEFINE_GUID(GUID_COLOR,
|
---|
67 | 0x66504301,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB);
|
---|
68 | DEFINE_GUID(GUID_XPOSPIXEL,
|
---|
69 | 0x66504302,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB);
|
---|
70 | DEFINE_GUID(GUID_YPOSPIXEL,
|
---|
71 | 0x66504303,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB);
|
---|
72 | DEFINE_GUID(GUID_XSIZEPIXEL,
|
---|
73 | 0x66504304,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB);
|
---|
74 | DEFINE_GUID(GUID_YSIZEPIXEL,
|
---|
75 | 0x66504305,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB);
|
---|
76 | DEFINE_GUID(GUID_XPOS,
|
---|
77 | 0x66504306,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB);
|
---|
78 | DEFINE_GUID(GUID_YPOS,
|
---|
79 | 0x66504307,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB);
|
---|
80 | DEFINE_GUID(GUID_XSIZE,
|
---|
81 | 0x66504308,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB);
|
---|
82 | DEFINE_GUID(GUID_YSIZE,
|
---|
83 | 0x66504309,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB);
|
---|
84 |
|
---|
85 | #ifndef __CGUID_H__
|
---|
86 | DEFINE_GUID(GUID_TRISTATE,
|
---|
87 | 0x6650430a,0xbe0f,0x101a,0x8b,0xbb,0x00,0xaa,0x00,0x30,0x0c,0xab);
|
---|
88 | #endif
|
---|
89 |
|
---|
90 | DEFINE_GUID(GUID_OPTIONVALUEEXCLUSIVE,
|
---|
91 | 0x6650430b,0xbe0f,0x101a,0x8b,0xbb,0x00,0xaa,0x00,0x30,0x0c,0xab);
|
---|
92 | DEFINE_GUID(GUID_CHECKVALUEEXCLUSIVE,
|
---|
93 | 0x6650430c,0xbe0f,0x101a,0x8b,0xbb,0x00,0xaa,0x00,0x30,0x0c,0xab);
|
---|
94 | DEFINE_GUID(GUID_FONTNAME,
|
---|
95 | 0x6650430d,0xbe0f,0x101a,0x8b,0xbb,0x00,0xaa,0x00,0x30,0x0c,0xab);
|
---|
96 | DEFINE_GUID(GUID_FONTSIZE,
|
---|
97 | 0x6650430e,0xbe0f,0x101a,0x8b,0xbb,0x00,0xaa,0x00,0x30,0x0c,0xab);
|
---|
98 | DEFINE_GUID(GUID_FONTBOLD,
|
---|
99 | 0x6650430f,0xbe0f,0x101a,0x8b,0xbb,0x00,0xaa,0x00,0x30,0x0c,0xab);
|
---|
100 | DEFINE_GUID(GUID_FONTITALIC,
|
---|
101 | 0x66504310,0xbe0f,0x101a,0x8b,0xbb,0x00,0xaa,0x00,0x30,0x0c,0xab);
|
---|
102 | DEFINE_GUID(GUID_FONTUNDERSCORE,
|
---|
103 | 0x66504311,0xbe0f,0x101a,0x8b,0xbb,0x00,0xaa,0x00,0x30,0x0c,0xab);
|
---|
104 | DEFINE_GUID(GUID_FONTSTRIKETHROUGH,
|
---|
105 | 0x66504312,0xbe0f,0x101a,0x8b,0xbb,0x00,0xaa,0x00,0x30,0x0c,0xab);
|
---|
106 | DEFINE_GUID(GUID_HANDLE,
|
---|
107 | 0x66504313,0xbe0f,0x101a,0x8b,0xbb,0x00,0xaa,0x00,0x30,0x0c,0xab);
|
---|
108 |
|
---|
109 | typedef struct tagOCPFIPARAMS
|
---|
110 | {
|
---|
111 | ULONG cbStructSize;
|
---|
112 | HWND hWndOwner;
|
---|
113 | int x;
|
---|
114 | int y;
|
---|
115 | LPCOLESTR lpszCaption;
|
---|
116 | ULONG cObjects;
|
---|
117 | LPUNKNOWN *lplpUnk;
|
---|
118 | ULONG cPages;
|
---|
119 | CLSID *lpPages;
|
---|
120 | LCID lcid;
|
---|
121 | DISPID dispidInitialProperty;
|
---|
122 | } OCPFIPARAMS, *LPOCPFIPARAMS;
|
---|
123 |
|
---|
124 | /*
|
---|
125 | * FONTDESC is used as an OLE encapsulation of the GDI fonts
|
---|
126 | */
|
---|
127 | typedef struct tagFONTDESC {
|
---|
128 | UINT cbSizeofstruct;
|
---|
129 | LPOLESTR lpstrName;
|
---|
130 | CY cySize;
|
---|
131 | SHORT sWeight;
|
---|
132 | SHORT sCharset;
|
---|
133 | BOOL fItalic;
|
---|
134 | BOOL fUnderline;
|
---|
135 | BOOL fStrikethrough;
|
---|
136 | } FONTDESC, *LPFONTDESC;
|
---|
137 |
|
---|
138 | #define FONTSIZE(n) { n##0000, 0 }
|
---|
139 |
|
---|
140 | #define PICTYPE_UNINITIALIZED (-1)
|
---|
141 | #define PICTYPE_NONE 0
|
---|
142 | #define PICTYPE_BITMAP 1
|
---|
143 | #define PICTYPE_METAFILE 2
|
---|
144 | #define PICTYPE_ICON 3
|
---|
145 | #define PICTYPE_ENHMETAFILE 4
|
---|
146 |
|
---|
147 | typedef struct tagPICTDESC {
|
---|
148 | UINT cbSizeofstruct;
|
---|
149 | UINT picType;
|
---|
150 | union {
|
---|
151 | struct {
|
---|
152 | HBITMAP hbitmap;
|
---|
153 | HPALETTE hpal;
|
---|
154 | } bmp;
|
---|
155 | struct {
|
---|
156 | HMETAFILE hmeta;
|
---|
157 | int xExt;
|
---|
158 | int yExt;
|
---|
159 | } wmf;
|
---|
160 | struct {
|
---|
161 | HICON hicon;
|
---|
162 | } icon;
|
---|
163 | struct {
|
---|
164 | HENHMETAFILE hemf;
|
---|
165 | } emf;
|
---|
166 | } DUMMYUNIONNAME;
|
---|
167 | } PICTDESC, *LPPICTDESC;
|
---|
168 |
|
---|
169 | typedef LONG OLE_XPOS_PIXELS;
|
---|
170 | typedef LONG OLE_YPOS_PIXELS;
|
---|
171 | typedef LONG OLE_XSIZE_PIXELS;
|
---|
172 | typedef LONG OLE_YSIZE_PIXELS;
|
---|
173 | typedef float OLE_XPOS_CONTAINER;
|
---|
174 | typedef float OLE_YPOS_CONTAINER;
|
---|
175 | typedef float OLE_XSIZE_CONTAINER;
|
---|
176 | typedef float OLE_YSIZE_CONTAINER;
|
---|
177 |
|
---|
178 | typedef enum
|
---|
179 | {
|
---|
180 | triUnchecked = 0,
|
---|
181 | triChecked = 1,
|
---|
182 | triGray = 2
|
---|
183 | } OLE_TRISTATE;
|
---|
184 |
|
---|
185 | typedef VARIANT_BOOL OLE_OPTEXCLUSIVE;
|
---|
186 | typedef VARIANT_BOOL OLE_CANCELBOOL;
|
---|
187 | typedef VARIANT_BOOL OLE_ENABLEDEFAULTBOOL;
|
---|
188 |
|
---|
189 | /* flags for OleLoadPictureEx and OleLoadPictureFileEx */
|
---|
190 | #define LP_DEFAULT 0x0
|
---|
191 | #define LP_MONOCHROME 0x1
|
---|
192 | #define LP_VGACOLOR 0x2
|
---|
193 | #define LP_COLOR 0x4
|
---|
194 |
|
---|
195 | HCURSOR WINAPI OleIconToCursor( HINSTANCE hinstExe, HICON hicon);
|
---|
196 |
|
---|
197 | HRESULT WINAPI OleCreatePropertyFrameIndirect( LPOCPFIPARAMS lpParams);
|
---|
198 |
|
---|
199 | HRESULT WINAPI OleCreatePropertyFrame(
|
---|
200 | HWND hwndOwner, UINT x, UINT y,
|
---|
201 | LPCOLESTR lpszCaption, ULONG cObjects, LPUNKNOWN* ppUnk,
|
---|
202 | ULONG cPages, LPCLSID pPageClsID, LCID lcid, DWORD dwReserved,
|
---|
203 | LPVOID pvReserved );
|
---|
204 |
|
---|
205 | HRESULT WINAPI OleLoadPicture( LPSTREAM lpstream, LONG lSize, BOOL fRunmode,
|
---|
206 | REFIID riid, LPVOID *lplpvObj );
|
---|
207 |
|
---|
208 | HRESULT WINAPI OleLoadPictureEx( LPSTREAM lpstream, LONG lSize, BOOL fRunMode,
|
---|
209 | REFIID riid, DWORD xSizeDesired, DWORD ySizeDesired,
|
---|
210 | DWORD dwFlags, LPVOID *lplpvObj );
|
---|
211 |
|
---|
212 | HRESULT WINAPI OleLoadPictureFile( VARIANT varFilename, IDispatch **ppdispPicture );
|
---|
213 |
|
---|
214 | HRESULT WINAPI OleLoadPictureFileEx( VARIANT varFilename, DWORD xSizeDesired,
|
---|
215 | DWORD ySizeDesired, DWORD dwFlags, IDispatch **ppdispPicture );
|
---|
216 |
|
---|
217 | HRESULT WINAPI OleSavePictureFile( IDispatch *pdispPicture, BSTR bstrFilename );
|
---|
218 |
|
---|
219 | HRESULT WINAPI OleLoadPicturePath( LPOLESTR szURLorPath, LPUNKNOWN punkCaller,
|
---|
220 | DWORD dwReserved, OLE_COLOR clrReserved, REFIID riid,
|
---|
221 | LPVOID *ppvRet );
|
---|
222 |
|
---|
223 | HRESULT WINAPI OleCreatePictureIndirect(LPPICTDESC lpPictDesc, REFIID riid,
|
---|
224 | BOOL fOwn, LPVOID * lplpvObj );
|
---|
225 |
|
---|
226 | HRESULT WINAPI OleCreateFontIndirect(LPFONTDESC lpFontDesc, REFIID riid,
|
---|
227 | LPVOID* lplpvObj);
|
---|
228 |
|
---|
229 | HRESULT WINAPI OleTranslateColor( OLE_COLOR clr, HPALETTE hpal,
|
---|
230 | COLORREF* lpcolorref);
|
---|
231 |
|
---|
232 | /* Reflected Window Message IDs */
|
---|
233 | #define OCM__BASE (WM_USER+0x1c00)
|
---|
234 | #define OCM_COMMAND (OCM__BASE + WM_COMMAND)
|
---|
235 |
|
---|
236 | #define OCM_CTLCOLORBTN (OCM__BASE + WM_CTLCOLORBTN)
|
---|
237 | #define OCM_CTLCOLOREDIT (OCM__BASE + WM_CTLCOLOREDIT)
|
---|
238 | #define OCM_CTLCOLORDLG (OCM__BASE + WM_CTLCOLORDLG)
|
---|
239 | #define OCM_CTLCOLORLISTBOX (OCM__BASE + WM_CTLCOLORLISTBOX)
|
---|
240 | #define OCM_CTLCOLORMSGBOX (OCM__BASE + WM_CTLCOLORMSGBOX)
|
---|
241 | #define OCM_CTLCOLORSCROLLBAR (OCM__BASE + WM_CTLCOLORSCROLLBAR)
|
---|
242 | #define OCM_CTLCOLORSTATIC (OCM__BASE + WM_CTLCOLORSTATIC)
|
---|
243 |
|
---|
244 | #define OCM_DRAWITEM (OCM__BASE + WM_DRAWITEM)
|
---|
245 | #define OCM_MEASUREITEM (OCM__BASE + WM_MEASUREITEM)
|
---|
246 | #define OCM_DELETEITEM (OCM__BASE + WM_DELETEITEM)
|
---|
247 | #define OCM_VKEYTOITEM (OCM__BASE + WM_VKEYTOITEM)
|
---|
248 | #define OCM_CHARTOITEM (OCM__BASE + WM_CHARTOITEM)
|
---|
249 | #define OCM_COMPAREITEM (OCM__BASE + WM_COMPAREITEM)
|
---|
250 | #define OCM_HSCROLL (OCM__BASE + WM_HSCROLL)
|
---|
251 | #define OCM_VSCROLL (OCM__BASE + WM_VSCROLL)
|
---|
252 | #define OCM_PARENTNOTIFY (OCM__BASE + WM_PARENTNOTIFY)
|
---|
253 | #define OCM_NOTIFY (OCM__BASE + WM_NOTIFY)
|
---|
254 |
|
---|
255 | #define CONNECT_E_FIRST MAKE_SCODE(SEVERITY_ERROR, FACILITY_ITF, 0x0200)
|
---|
256 | #define CONNECT_E_LAST MAKE_SCODE(SEVERITY_ERROR, FACILITY_ITF, 0x020F)
|
---|
257 | #define CONNECT_S_FIRST MAKE_SCODE(SEVERITY_SUCCESS, FACILITY_ITF, 0x0200)
|
---|
258 | #define CONNECT_S_LAST MAKE_SCODE(SEVERITY_SUCCESS, FACILITY_ITF, 0x020F)
|
---|
259 |
|
---|
260 | #define CONNECT_E_NOCONNECTION (CONNECT_E_FIRST+0)
|
---|
261 | #define CONNECT_E_ADVISELIMIT (CONNECT_E_FIRST+1)
|
---|
262 | #define CONNECT_E_CANNOTCONNECT (CONNECT_E_FIRST+2)
|
---|
263 | #define CONNECT_E_OVERRIDDEN (CONNECT_E_FIRST+3)
|
---|
264 |
|
---|
265 | #define SELFREG_E_FIRST MAKE_SCODE(SEVERITY_ERROR, FACILITY_ITF, 0x0200)
|
---|
266 | #define SELFREG_E_LAST MAKE_SCODE(SEVERITY_ERROR, FACILITY_ITF, 0x020F)
|
---|
267 | #define SELFREG_S_FIRST MAKE_SCODE(SEVERITY_SUCCESS, FACILITY_ITF, 0x0200)
|
---|
268 | #define SELFREG_S_LAST MAKE_SCODE(SEVERITY_SUCCESS, FACILITY_ITF, 0x020F)
|
---|
269 | #define SELFREG_E_TYPELIB (SELFREG_E_FIRST+0)
|
---|
270 | #define SELFREG_E_CLASS (SELFREG_E_FIRST+1)
|
---|
271 |
|
---|
272 | #ifndef FACILITY_CONTROL
|
---|
273 | #define FACILITY_CONTROL 0xa
|
---|
274 | #endif
|
---|
275 | #define STD_CTL_SCODE(n) MAKE_SCODE(SEVERITY_ERROR, FACILITY_CONTROL, n)
|
---|
276 | #define CTL_E_ILLEGALFUNCTIONCALL STD_CTL_SCODE(5)
|
---|
277 | #define CTL_E_OVERFLOW STD_CTL_SCODE(6)
|
---|
278 | #define CTL_E_OUTOFMEMORY STD_CTL_SCODE(7)
|
---|
279 | #define CTL_E_DIVISIONBYZERO STD_CTL_SCODE(11)
|
---|
280 | #define CTL_E_OUTOFSTRINGSPACE STD_CTL_SCODE(14)
|
---|
281 | #define CTL_E_OUTOFSTACKSPACE STD_CTL_SCODE(28)
|
---|
282 | #define CTL_E_BADFILENAMEORNUMBER STD_CTL_SCODE(52)
|
---|
283 | #define CTL_E_FILENOTFOUND STD_CTL_SCODE(53)
|
---|
284 | #define CTL_E_BADFILEMODE STD_CTL_SCODE(54)
|
---|
285 | #define CTL_E_FILEALREADYOPEN STD_CTL_SCODE(55)
|
---|
286 | #define CTL_E_DEVICEIOERROR STD_CTL_SCODE(57)
|
---|
287 | #define CTL_E_FILEALREADYEXISTS STD_CTL_SCODE(58)
|
---|
288 | #define CTL_E_BADRECORDLENGTH STD_CTL_SCODE(59)
|
---|
289 | #define CTL_E_DISKFULL STD_CTL_SCODE(61)
|
---|
290 | #define CTL_E_BADRECORDNUMBER STD_CTL_SCODE(63)
|
---|
291 | #define CTL_E_BADFILENAME STD_CTL_SCODE(64)
|
---|
292 | #define CTL_E_TOOMANYFILES STD_CTL_SCODE(67)
|
---|
293 | #define CTL_E_DEVICEUNAVAILABLE STD_CTL_SCODE(68)
|
---|
294 | #define CTL_E_PERMISSIONDENIED STD_CTL_SCODE(70)
|
---|
295 | #define CTL_E_DISKNOTREADY STD_CTL_SCODE(71)
|
---|
296 | #define CTL_E_PATHFILEACCESSERROR STD_CTL_SCODE(75)
|
---|
297 | #define CTL_E_PATHNOTFOUND STD_CTL_SCODE(76)
|
---|
298 | #define CTL_E_INVALIDPATTERNSTRING STD_CTL_SCODE(93)
|
---|
299 | #define CTL_E_INVALIDUSEOFNULL STD_CTL_SCODE(94)
|
---|
300 | #define CTL_E_INVALIDFILEFORMAT STD_CTL_SCODE(321)
|
---|
301 | #define CTL_E_INVALIDPROPERTYVALUE STD_CTL_SCODE(380)
|
---|
302 | #define CTL_E_INVALIDPROPERTYARRAYINDEX STD_CTL_SCODE(381)
|
---|
303 | #define CTL_E_SETNOTSUPPORTEDATRUNTIME STD_CTL_SCODE(382)
|
---|
304 | #define CTL_E_SETNOTSUPPORTED STD_CTL_SCODE(383)
|
---|
305 | #define CTL_E_NEEDPROPERTYARRAYINDEX STD_CTL_SCODE(385)
|
---|
306 | #define CTL_E_SETNOTPERMITTED STD_CTL_SCODE(387)
|
---|
307 | #define CTL_E_GETNOTSUPPORTEDATRUNTIME STD_CTL_SCODE(393)
|
---|
308 | #define CTL_E_GETNOTSUPPORTED STD_CTL_SCODE(394)
|
---|
309 | #define CTL_E_PROPERTYNOTFOUND STD_CTL_SCODE(422)
|
---|
310 | #define CTL_E_INVALIDCLIPBOARDFORMAT STD_CTL_SCODE(460)
|
---|
311 | #define CTL_E_INVALIDPICTURE STD_CTL_SCODE(481)
|
---|
312 | #define CTL_E_PRINTERERROR STD_CTL_SCODE(482)
|
---|
313 | #define CTL_E_CANTSAVEFILETOTEMP STD_CTL_SCODE(735)
|
---|
314 | #define CTL_E_SEARCHTEXTNOTFOUND STD_CTL_SCODE(744)
|
---|
315 | #define CTL_E_REPLACEMENTSTOOLONG STD_CTL_SCODE(746)
|
---|
316 |
|
---|
317 | #define CUSTOM_CTL_SCODE(n) MAKE_SCODE(SEVERITY_ERROR, FACILITY_CONTROL, n)
|
---|
318 | #define CTL_E_CUSTOM_FIRST CUSTOM_CTL_SCODE(600)
|
---|
319 |
|
---|
320 | #define VT_COLOR VT_I4
|
---|
321 | #define VT_XPOS_PIXELS VT_I4
|
---|
322 | #define VT_YPOS_PIXELS VT_I4
|
---|
323 | #define VT_XSIZE_PIXELS VT_I4
|
---|
324 | #define VT_YSIZE_PIXELS VT_I4
|
---|
325 | #define VT_XPOS_HIMETRIC VT_I4
|
---|
326 | #define VT_YPOS_HIMETRIC VT_I4
|
---|
327 | #define VT_XSIZE_HIMETRIC VT_I4
|
---|
328 | #define VT_YSIZE_HIMETRIC VT_I4
|
---|
329 | #define VT_TRISTATE VT_I2
|
---|
330 | #define VT_OPTEXCLUSIVE VT_BOOL
|
---|
331 | #define VT_FONT VT_DISPATCH
|
---|
332 | #define VT_PICTURE VT_DISPATCH
|
---|
333 |
|
---|
334 | #define VT_STREAMED_PROPSET 73
|
---|
335 | #define VT_STORED_PROPSET 74
|
---|
336 | #define VT_BLOB_PROPSET 75
|
---|
337 | #define VT_VERBOSE_ENUM 76
|
---|
338 |
|
---|
339 | #ifndef OLEIVERB_PROPERTIES
|
---|
340 | #define OLEIVERB_PROPERTIES (-7L)
|
---|
341 | #endif
|
---|
342 |
|
---|
343 | #define PERPROP_E_FIRST MAKE_SCODE(SEVERITY_ERROR, FACILITY_ITF, 0x0200)
|
---|
344 | #define PERPROP_E_LAST MAKE_SCODE(SEVERITY_ERROR, FACILITY_ITF, 0x020F)
|
---|
345 | #define PERPROP_S_FIRST MAKE_SCODE(SEVERITY_SUCCESS, FACILITY_ITF, 0x0200)
|
---|
346 | #define PERPROP_S_LAST MAKE_SCODE(SEVERITY_SUCCESS, FACILITY_ITF, 0x020F)
|
---|
347 |
|
---|
348 | #define PERPROP_E_NOPAGEAVAILABLE (PERPROP_E_FIRST+0)
|
---|
349 |
|
---|
350 |
|
---|
351 | #ifdef __cplusplus
|
---|
352 | }
|
---|
353 | #endif
|
---|
354 |
|
---|
355 | #endif /* !__midl && !__WIDL__ */
|
---|
356 |
|
---|
357 | /* standard dispatch ID's */
|
---|
358 | #define DISPID_AUTOSIZE (-500)
|
---|
359 | #define DISPID_BACKCOLOR (-501)
|
---|
360 | #define DISPID_BACKSTYLE (-502)
|
---|
361 | #define DISPID_BORDERCOLOR (-503)
|
---|
362 | #define DISPID_BORDERSTYLE (-504)
|
---|
363 | #define DISPID_BORDERWIDTH (-505)
|
---|
364 | #define DISPID_DRAWMODE (-507)
|
---|
365 | #define DISPID_DRAWSTYLE (-508)
|
---|
366 | #define DISPID_DRAWWIDTH (-509)
|
---|
367 | #define DISPID_FILLCOLOR (-510)
|
---|
368 | #define DISPID_FILLSTYLE (-511)
|
---|
369 | #define DISPID_FONT (-512)
|
---|
370 | #define DISPID_FORECOLOR (-513)
|
---|
371 | #define DISPID_ENABLED (-514)
|
---|
372 | #define DISPID_HWND (-515)
|
---|
373 | #define DISPID_TABSTOP (-516)
|
---|
374 | #define DISPID_TEXT (-517)
|
---|
375 | #define DISPID_CAPTION (-518)
|
---|
376 | #define DISPID_BORDERVISIBLE (-519)
|
---|
377 | #define DISPID_APPEARANCE (-520)
|
---|
378 | #define DISPID_MOUSEPOINTER (-521)
|
---|
379 | #define DISPID_MOUSEICON (-522)
|
---|
380 | #define DISPID_PICTURE (-523)
|
---|
381 | #define DISPID_VALID (-524)
|
---|
382 | #define DISPID_READYSTATE (-525)
|
---|
383 |
|
---|
384 | #define DISPID_REFRESH (-550)
|
---|
385 | #define DISPID_DOCLICK (-551)
|
---|
386 | #define DISPID_ABOUTBOX (-552)
|
---|
387 | #define DISPID_ADDITEM (-553)
|
---|
388 | #define DISPID_CLEAR (-554)
|
---|
389 | #define DISPID_REMOVEITEM (-555)
|
---|
390 |
|
---|
391 | #define DISPID_CLICK (-600)
|
---|
392 | #define DISPID_DBLCLICK (-601)
|
---|
393 | #define DISPID_KEYDOWN (-602)
|
---|
394 | #define DISPID_KEYPRESS (-603)
|
---|
395 | #define DISPID_KEYUP (-604)
|
---|
396 | #define DISPID_MOUSEDOWN (-605)
|
---|
397 | #define DISPID_MOUSEMOVE (-606)
|
---|
398 | #define DISPID_MOUSEUP (-607)
|
---|
399 | #define DISPID_ERROREVENT (-608)
|
---|
400 | #define DISPID_READYSTATECHANGE (-609)
|
---|
401 | #define DISPID_CLICK_VALUE (-610)
|
---|
402 | #define DISPID_RIGHTTOLEFT (-611)
|
---|
403 | #define DISPID_TOPTOBOTTOM (-612)
|
---|
404 | #define DISPID_THIS (-613)
|
---|
405 |
|
---|
406 | #define DISPID_AMBIENT_BACKCOLOR (-701)
|
---|
407 | #define DISPID_AMBIENT_DISPLAYNAME (-702)
|
---|
408 | #define DISPID_AMBIENT_FONT (-703)
|
---|
409 | #define DISPID_AMBIENT_FORECOLOR (-704)
|
---|
410 | #define DISPID_AMBIENT_LOCALEID (-705)
|
---|
411 | #define DISPID_AMBIENT_MESSAGEREFLECT (-706)
|
---|
412 | #define DISPID_AMBIENT_SCALEUNITS (-707)
|
---|
413 | #define DISPID_AMBIENT_TEXTALIGN (-708)
|
---|
414 | #define DISPID_AMBIENT_USERMODE (-709)
|
---|
415 | #define DISPID_AMBIENT_UIDEAD (-710)
|
---|
416 | #define DISPID_AMBIENT_SHOWGRABHANDLES (-711)
|
---|
417 | #define DISPID_AMBIENT_SHOWHATCHING (-712)
|
---|
418 | #define DISPID_AMBIENT_DISPLAYASDEFAULT (-713)
|
---|
419 | #define DISPID_AMBIENT_SUPPORTSMNEMONICS (-714)
|
---|
420 | #define DISPID_AMBIENT_AUTOCLIP (-715)
|
---|
421 | #define DISPID_AMBIENT_APPEARANCE (-716)
|
---|
422 |
|
---|
423 | #define DISPID_AMBIENT_CODEPAGE (-725)
|
---|
424 | #define DISPID_AMBIENT_PALETTE (-726)
|
---|
425 | #define DISPID_AMBIENT_CHARSET (-727)
|
---|
426 | #define DISPID_AMBIENT_TRANSFERPRIORITY (-728)
|
---|
427 |
|
---|
428 | #define DISPID_AMBIENT_RIGHTTOLEFT (-732)
|
---|
429 | #define DISPID_AMBIENT_TOPTOBOTTOM (-733)
|
---|
430 |
|
---|
431 | #define DISPID_Name (-800)
|
---|
432 | #define DISPID_Delete (-801)
|
---|
433 | #define DISPID_Object (-802)
|
---|
434 | #define DISPID_Parent (-803)
|
---|
435 |
|
---|
436 | #define DISPID_FONT_NAME 0
|
---|
437 | #define DISPID_FONT_SIZE 2
|
---|
438 | #define DISPID_FONT_BOLD 3
|
---|
439 | #define DISPID_FONT_ITALIC 4
|
---|
440 | #define DISPID_FONT_UNDER 5
|
---|
441 | #define DISPID_FONT_STRIKE 6
|
---|
442 | #define DISPID_FONT_WEIGHT 7
|
---|
443 | #define DISPID_FONT_CHARSET 8
|
---|
444 | #define DISPID_FONT_CHANGED 9
|
---|
445 |
|
---|
446 | /* IPicture */
|
---|
447 | #define DISPID_PICT_HANDLE 0
|
---|
448 | #define DISPID_PICT_HPAL 2
|
---|
449 | #define DISPID_PICT_TYPE 3
|
---|
450 | #define DISPID_PICT_WIDTH 4
|
---|
451 | #define DISPID_PICT_HEIGHT 5
|
---|
452 | #define DISPID_PICT_RENDER 6
|
---|
453 |
|
---|
454 | #endif /* __WINE_OLECTL_H */
|
---|