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