kernel32: Implement the memory resource notification functions.
[wine] / include / olectl.h
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 #ifndef __WINE_OLECTL_H
20 #define __WINE_OLECTL_H
21
22 #if !defined(__midl) && !defined(__WIDL__)
23
24 #include <ocidl.h>
25
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29
30
31
32 /*
33  * Ole Control Interfaces
34  */
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);
39
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);
44
45 DEFINE_GUID(IID_IPropertyFrame,
46             0xb196b28a,0xbab4,0x101a,0xb6,0x9c,0x00,0xaa,0x00,0x34,0x1d,0x07);
47
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);
54
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);
75
76 #ifndef __CGUID_H__
77 DEFINE_GUID(GUID_TRISTATE,
78             0x6650430a,0xbe0f,0x101a,0x8b,0xbb,0x00,0xaa,0x00,0x30,0x0c,0xab);
79 #endif
80
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);
99
100 typedef struct tagOCPFIPARAMS
101 {
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;
114
115 /*
116  * FONTDESC is used as an OLE encapsulation of the GDI fonts
117  */
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;
128
129 #define FONTSIZE(n) { n##0000, 0 }
130
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
137
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;
159
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;
168
169 typedef enum
170 {
171         triUnchecked = 0,
172         triChecked = 1,
173         triGray = 2
174 } OLE_TRISTATE;
175
176 typedef VARIANT_BOOL OLE_OPTEXCLUSIVE;
177 typedef VARIANT_BOOL OLE_CANCELBOOL;
178 typedef VARIANT_BOOL OLE_ENABLEDEFAULTBOOL;
179
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
185
186 HRESULT WINAPI DllRegisterServer(void);
187
188 HRESULT WINAPI DllUnregisterServer(void);
189
190 HCURSOR WINAPI OleIconToCursor( HINSTANCE hinstExe, HICON hicon);
191
192 HRESULT WINAPI OleCreatePropertyFrameIndirect( LPOCPFIPARAMS lpParams);
193
194 HRESULT WINAPI OleCreatePropertyFrame(
195         HWND hwndOwner, UINT x, UINT y,
196         LPCOLESTR lpszCaption, ULONG cObjects, LPUNKNOWN* ppUnk,
197         ULONG cPages, LPCLSID pPageClsID, LCID lcid, DWORD dwReserved,
198         LPVOID pvReserved );
199
200 HRESULT WINAPI OleLoadPicture(  LPSTREAM lpstream, LONG lSize, BOOL fRunmode,
201                 REFIID riid, LPVOID *lplpvObj );
202
203 HRESULT WINAPI OleLoadPictureEx( LPSTREAM lpstream, LONG lSize, BOOL fRunMode,
204                 REFIID riid, DWORD xSizeDesired, DWORD ySizeDesired,
205                 DWORD dwFlags, LPVOID *lplpvObj );
206
207 HRESULT WINAPI OleLoadPictureFile( VARIANT varFilename, IDispatch **ppdispPicture );
208
209 HRESULT WINAPI OleLoadPictureFileEx( VARIANT varFilename, DWORD xSizeDesired,
210                 DWORD ySizeDesired, DWORD dwFlags, IDispatch **ppdispPicture );
211
212 HRESULT WINAPI OleSavePictureFile( IDispatch *pdispPicture, BSTR bstrFilename );
213
214 HRESULT WINAPI OleLoadPicturePath( LPOLESTR szURLorPath, LPUNKNOWN punkCaller,
215                 DWORD dwReserved, OLE_COLOR clrReserved, REFIID riid,
216                 LPVOID *ppvRet );
217
218 HRESULT WINAPI OleCreatePictureIndirect(LPPICTDESC lpPictDesc, REFIID riid,
219                 BOOL fOwn, LPVOID * lplpvObj );
220
221 HRESULT WINAPI OleCreateFontIndirect(LPFONTDESC lpFontDesc, REFIID riid,
222                 LPVOID* lplpvObj);
223
224 HRESULT WINAPI OleTranslateColor( OLE_COLOR clr, HPALETTE hpal,
225                 COLORREF* lpcolorref);
226
227 /* Reflected Window Message IDs */
228 #define OCM__BASE           (WM_USER+0x1c00)
229 #define OCM_COMMAND         (OCM__BASE + WM_COMMAND)
230
231 #define OCM_CTLCOLORBTN     (OCM__BASE + WM_CTLCOLORBTN)
232 #define OCM_CTLCOLOREDIT    (OCM__BASE + WM_CTLCOLOREDIT)
233 #define OCM_CTLCOLORDLG     (OCM__BASE + WM_CTLCOLORDLG)
234 #define OCM_CTLCOLORLISTBOX (OCM__BASE + WM_CTLCOLORLISTBOX)
235 #define OCM_CTLCOLORMSGBOX  (OCM__BASE + WM_CTLCOLORMSGBOX)
236 #define OCM_CTLCOLORSCROLLBAR   (OCM__BASE + WM_CTLCOLORSCROLLBAR)
237 #define OCM_CTLCOLORSTATIC  (OCM__BASE + WM_CTLCOLORSTATIC)
238
239 #define OCM_DRAWITEM        (OCM__BASE + WM_DRAWITEM)
240 #define OCM_MEASUREITEM     (OCM__BASE + WM_MEASUREITEM)
241 #define OCM_DELETEITEM      (OCM__BASE + WM_DELETEITEM)
242 #define OCM_VKEYTOITEM      (OCM__BASE + WM_VKEYTOITEM)
243 #define OCM_CHARTOITEM      (OCM__BASE + WM_CHARTOITEM)
244 #define OCM_COMPAREITEM     (OCM__BASE + WM_COMPAREITEM)
245 #define OCM_HSCROLL         (OCM__BASE + WM_HSCROLL)
246 #define OCM_VSCROLL         (OCM__BASE + WM_VSCROLL)
247 #define OCM_PARENTNOTIFY    (OCM__BASE + WM_PARENTNOTIFY)
248 #define OCM_NOTIFY            (OCM__BASE + WM_NOTIFY)
249
250 #define CONNECT_E_FIRST    MAKE_SCODE(SEVERITY_ERROR,   FACILITY_ITF, 0x0200)
251 #define CONNECT_E_LAST     MAKE_SCODE(SEVERITY_ERROR,   FACILITY_ITF, 0x020F)
252 #define CONNECT_S_FIRST    MAKE_SCODE(SEVERITY_SUCCESS, FACILITY_ITF, 0x0200)
253 #define CONNECT_S_LAST     MAKE_SCODE(SEVERITY_SUCCESS, FACILITY_ITF, 0x020F)
254
255 #define CONNECT_E_NOCONNECTION      (CONNECT_E_FIRST+0)
256 #define CONNECT_E_ADVISELIMIT       (CONNECT_E_FIRST+1)
257 #define CONNECT_E_CANNOTCONNECT     (CONNECT_E_FIRST+2)
258 #define CONNECT_E_OVERRIDDEN        (CONNECT_E_FIRST+3)
259
260 #define SELFREG_E_FIRST             MAKE_SCODE(SEVERITY_ERROR,   FACILITY_ITF, 0x0200)
261 #define SELFREG_E_LAST              MAKE_SCODE(SEVERITY_ERROR,   FACILITY_ITF, 0x020F)
262 #define SELFREG_S_FIRST             MAKE_SCODE(SEVERITY_SUCCESS, FACILITY_ITF, 0x0200)
263 #define SELFREG_S_LAST              MAKE_SCODE(SEVERITY_SUCCESS, FACILITY_ITF, 0x020F)
264 #define SELFREG_E_TYPELIB           (SELFREG_E_FIRST+0)
265 #define SELFREG_E_CLASS             (SELFREG_E_FIRST+1)
266
267 #ifndef FACILITY_CONTROL
268 #define FACILITY_CONTROL 0xa
269 #endif
270 #define STD_CTL_SCODE(n) MAKE_SCODE(SEVERITY_ERROR, FACILITY_CONTROL, n)
271 #define CTL_E_ILLEGALFUNCTIONCALL       STD_CTL_SCODE(5)
272 #define CTL_E_OVERFLOW                  STD_CTL_SCODE(6)
273 #define CTL_E_OUTOFMEMORY               STD_CTL_SCODE(7)
274 #define CTL_E_DIVISIONBYZERO            STD_CTL_SCODE(11)
275 #define CTL_E_OUTOFSTRINGSPACE          STD_CTL_SCODE(14)
276 #define CTL_E_OUTOFSTACKSPACE           STD_CTL_SCODE(28)
277 #define CTL_E_BADFILENAMEORNUMBER       STD_CTL_SCODE(52)
278 #define CTL_E_FILENOTFOUND              STD_CTL_SCODE(53)
279 #define CTL_E_BADFILEMODE               STD_CTL_SCODE(54)
280 #define CTL_E_FILEALREADYOPEN           STD_CTL_SCODE(55)
281 #define CTL_E_DEVICEIOERROR             STD_CTL_SCODE(57)
282 #define CTL_E_FILEALREADYEXISTS         STD_CTL_SCODE(58)
283 #define CTL_E_BADRECORDLENGTH           STD_CTL_SCODE(59)
284 #define CTL_E_DISKFULL                  STD_CTL_SCODE(61)
285 #define CTL_E_BADRECORDNUMBER           STD_CTL_SCODE(63)
286 #define CTL_E_BADFILENAME               STD_CTL_SCODE(64)
287 #define CTL_E_TOOMANYFILES              STD_CTL_SCODE(67)
288 #define CTL_E_DEVICEUNAVAILABLE         STD_CTL_SCODE(68)
289 #define CTL_E_PERMISSIONDENIED          STD_CTL_SCODE(70)
290 #define CTL_E_DISKNOTREADY              STD_CTL_SCODE(71)
291 #define CTL_E_PATHFILEACCESSERROR       STD_CTL_SCODE(75)
292 #define CTL_E_PATHNOTFOUND              STD_CTL_SCODE(76)
293 #define CTL_E_INVALIDPATTERNSTRING      STD_CTL_SCODE(93)
294 #define CTL_E_INVALIDUSEOFNULL          STD_CTL_SCODE(94)
295 #define CTL_E_INVALIDFILEFORMAT         STD_CTL_SCODE(321)
296 #define CTL_E_INVALIDPROPERTYVALUE      STD_CTL_SCODE(380)
297 #define CTL_E_INVALIDPROPERTYARRAYINDEX STD_CTL_SCODE(381)
298 #define CTL_E_SETNOTSUPPORTEDATRUNTIME  STD_CTL_SCODE(382)
299 #define CTL_E_SETNOTSUPPORTED           STD_CTL_SCODE(383)
300 #define CTL_E_NEEDPROPERTYARRAYINDEX    STD_CTL_SCODE(385)
301 #define CTL_E_SETNOTPERMITTED           STD_CTL_SCODE(387)
302 #define CTL_E_GETNOTSUPPORTEDATRUNTIME  STD_CTL_SCODE(393)
303 #define CTL_E_GETNOTSUPPORTED           STD_CTL_SCODE(394)
304 #define CTL_E_PROPERTYNOTFOUND          STD_CTL_SCODE(422)
305 #define CTL_E_INVALIDCLIPBOARDFORMAT    STD_CTL_SCODE(460)
306 #define CTL_E_INVALIDPICTURE            STD_CTL_SCODE(481)
307 #define CTL_E_PRINTERERROR              STD_CTL_SCODE(482)
308 #define CTL_E_CANTSAVEFILETOTEMP        STD_CTL_SCODE(735)
309 #define CTL_E_SEARCHTEXTNOTFOUND        STD_CTL_SCODE(744)
310 #define CTL_E_REPLACEMENTSTOOLONG       STD_CTL_SCODE(746)
311
312 #define CUSTOM_CTL_SCODE(n) MAKE_SCODE(SEVERITY_ERROR, FACILITY_CONTROL, n)
313 #define CTL_E_CUSTOM_FIRST              CUSTOM_CTL_SCODE(600)
314
315 #define VT_COLOR            VT_I4
316 #define VT_XPOS_PIXELS      VT_I4
317 #define VT_YPOS_PIXELS      VT_I4
318 #define VT_XSIZE_PIXELS     VT_I4
319 #define VT_YSIZE_PIXELS     VT_I4
320 #define VT_XPOS_HIMETRIC    VT_I4
321 #define VT_YPOS_HIMETRIC    VT_I4
322 #define VT_XSIZE_HIMETRIC   VT_I4
323 #define VT_YSIZE_HIMETRIC   VT_I4
324 #define VT_TRISTATE         VT_I2
325 #define VT_OPTEXCLUSIVE     VT_BOOL
326 #define VT_FONT             VT_DISPATCH
327 #define VT_PICTURE          VT_DISPATCH
328
329 #define VT_STREAMED_PROPSET 73
330 #define VT_STORED_PROPSET   74
331 #define VT_BLOB_PROPSET     75
332 #define VT_VERBOSE_ENUM     76
333
334 #ifndef OLEIVERB_PROPERTIES
335 #define OLEIVERB_PROPERTIES (__MSABI_LONG(-7))
336 #endif
337
338 #define PERPROP_E_FIRST    MAKE_SCODE(SEVERITY_ERROR,   FACILITY_ITF, 0x0200)
339 #define PERPROP_E_LAST     MAKE_SCODE(SEVERITY_ERROR,   FACILITY_ITF, 0x020F)
340 #define PERPROP_S_FIRST    MAKE_SCODE(SEVERITY_SUCCESS, FACILITY_ITF, 0x0200)
341 #define PERPROP_S_LAST     MAKE_SCODE(SEVERITY_SUCCESS, FACILITY_ITF, 0x020F)
342
343 #define PERPROP_E_NOPAGEAVAILABLE   (PERPROP_E_FIRST+0)
344
345
346 #ifdef __cplusplus
347 }
348 #endif
349
350 #endif  /* !__midl && !__WIDL__ */
351
352 /* standard dispatch ID's */
353 #define DISPID_AUTOSIZE                 (-500)
354 #define DISPID_BACKCOLOR                (-501)
355 #define DISPID_BACKSTYLE                (-502)
356 #define DISPID_BORDERCOLOR              (-503)
357 #define DISPID_BORDERSTYLE              (-504)
358 #define DISPID_BORDERWIDTH              (-505)
359 #define DISPID_DRAWMODE                 (-507)
360 #define DISPID_DRAWSTYLE                (-508)
361 #define DISPID_DRAWWIDTH                (-509)
362 #define DISPID_FILLCOLOR                (-510)
363 #define DISPID_FILLSTYLE                (-511)
364 #define DISPID_FONT                     (-512)
365 #define DISPID_FORECOLOR                (-513)
366 #define DISPID_ENABLED                  (-514)
367 #define DISPID_HWND                     (-515)
368 #define DISPID_TABSTOP                  (-516)
369 #define DISPID_TEXT                     (-517)
370 #define DISPID_CAPTION                  (-518)
371 #define DISPID_BORDERVISIBLE            (-519)
372 #define DISPID_APPEARANCE               (-520)
373 #define DISPID_MOUSEPOINTER             (-521)
374 #define DISPID_MOUSEICON                (-522)
375 #define DISPID_PICTURE                  (-523)
376 #define DISPID_VALID                    (-524)
377 #define DISPID_READYSTATE               (-525)
378
379 #define DISPID_REFRESH                  (-550)
380 #define DISPID_DOCLICK                  (-551)
381 #define DISPID_ABOUTBOX                 (-552)
382 #define DISPID_ADDITEM                  (-553)
383 #define DISPID_CLEAR                    (-554)
384 #define DISPID_REMOVEITEM               (-555)
385
386 #define DISPID_CLICK                    (-600)
387 #define DISPID_DBLCLICK                 (-601)
388 #define DISPID_KEYDOWN                  (-602)
389 #define DISPID_KEYPRESS                 (-603)
390 #define DISPID_KEYUP                    (-604)
391 #define DISPID_MOUSEDOWN                (-605)
392 #define DISPID_MOUSEMOVE                (-606)
393 #define DISPID_MOUSEUP                  (-607)
394 #define DISPID_ERROREVENT               (-608)
395 #define DISPID_READYSTATECHANGE         (-609)
396 #define DISPID_CLICK_VALUE              (-610)
397 #define DISPID_RIGHTTOLEFT              (-611)
398 #define DISPID_TOPTOBOTTOM              (-612)
399 #define DISPID_THIS                     (-613)
400
401 #define DISPID_AMBIENT_BACKCOLOR        (-701)
402 #define DISPID_AMBIENT_DISPLAYNAME      (-702)
403 #define DISPID_AMBIENT_FONT             (-703)
404 #define DISPID_AMBIENT_FORECOLOR        (-704)
405 #define DISPID_AMBIENT_LOCALEID         (-705)
406 #define DISPID_AMBIENT_MESSAGEREFLECT   (-706)
407 #define DISPID_AMBIENT_SCALEUNITS       (-707)
408 #define DISPID_AMBIENT_TEXTALIGN        (-708)
409 #define DISPID_AMBIENT_USERMODE         (-709)
410 #define DISPID_AMBIENT_UIDEAD           (-710)
411 #define DISPID_AMBIENT_SHOWGRABHANDLES  (-711)
412 #define DISPID_AMBIENT_SHOWHATCHING     (-712)
413 #define DISPID_AMBIENT_DISPLAYASDEFAULT (-713)
414 #define DISPID_AMBIENT_SUPPORTSMNEMONICS (-714)
415 #define DISPID_AMBIENT_AUTOCLIP         (-715)
416 #define DISPID_AMBIENT_APPEARANCE       (-716)
417
418 #define DISPID_AMBIENT_CODEPAGE         (-725)
419 #define DISPID_AMBIENT_PALETTE          (-726)
420 #define DISPID_AMBIENT_CHARSET          (-727)
421 #define DISPID_AMBIENT_TRANSFERPRIORITY (-728)
422
423 #define DISPID_AMBIENT_RIGHTTOLEFT      (-732)
424 #define DISPID_AMBIENT_TOPTOBOTTOM      (-733)
425
426 #define DISPID_Name                     (-800)
427 #define DISPID_Delete                   (-801)
428 #define DISPID_Object                   (-802)
429 #define DISPID_Parent                   (-803)
430
431 #define DISPID_FONT_NAME 0
432 #define DISPID_FONT_SIZE 2
433 #define DISPID_FONT_BOLD 3
434 #define DISPID_FONT_ITALIC 4
435 #define DISPID_FONT_UNDER 5
436 #define DISPID_FONT_STRIKE 6
437 #define DISPID_FONT_WEIGHT 7
438 #define DISPID_FONT_CHARSET 8
439 #define DISPID_FONT_CHANGED 9
440
441 /* IPicture */
442 #define DISPID_PICT_HANDLE      0
443 #define DISPID_PICT_HPAL        2
444 #define DISPID_PICT_TYPE        3
445 #define DISPID_PICT_WIDTH       4
446 #define DISPID_PICT_HEIGHT      5
447 #define DISPID_PICT_RENDER      6
448
449 #endif /*  __WINE_OLECTL_H */