• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /**
2  * This file is part of the mingw-w64 runtime package.
3  * No warranty is given; refer to the file DISCLAIMER within this package.
4  */
5 
6 #ifndef _OLECTL_H_
7 #define _OLECTL_H_
8 
9 #if !defined (__WIDL__)
10 
11 #ifndef RC_INVOKED
12 #include <pshpack8.h>
13 #endif
14 
15 #include <ocidl.h>
16 
17 #ifdef _OLEAUT32_
18 #define WINOLECTLAPI STDAPI
19 #define WINOLECTLAPI_(type) STDAPI_(type)
20 #else
21 #define WINOLECTLAPI EXTERN_C DECLSPEC_IMPORT HRESULT WINAPI
22 #define WINOLECTLAPI_(type) EXTERN_C DECLSPEC_IMPORT type WINAPI
23 #endif
24 
25 #ifndef INITGUID
26 DEFINE_GUID(IID_IPropertyFrame,0xB196B28A,0xBAB4,0x101A,0xB6,0x9C,0x00,0xAA,0x00,0x34,0x1D,0x07);
27 DEFINE_GUID(CLSID_CFontPropPage,0x0be35200,0x8f91,0x11ce,0x9d,0xe3,0x00,0xaa,0x00,0x4b,0xb8,0x51);
28 DEFINE_GUID(CLSID_CColorPropPage,0x0be35201,0x8f91,0x11ce,0x9d,0xe3,0x00,0xaa,0x00,0x4b,0xb8,0x51);
29 DEFINE_GUID(CLSID_CPicturePropPage,0x0be35202,0x8f91,0x11ce,0x9d,0xe3,0x00,0xaa,0x00,0x4b,0xb8,0x51);
30 DEFINE_GUID(CLSID_PersistPropset,0xfb8f0821,0x0164,0x101b,0x84,0xed,0x08,0x00,0x2b,0x2e,0xc7,0x13);
31 DEFINE_GUID(CLSID_ConvertVBX,0xfb8f0822,0x0164,0x101b,0x84,0xed,0x08,0x00,0x2b,0x2e,0xc7,0x13);
32 DEFINE_GUID(CLSID_StdFont,0x0be35203,0x8f91,0x11ce,0x9d,0xe3,0x00,0xaa,0x00,0x4b,0xb8,0x51);
33 DEFINE_GUID(CLSID_StdPicture,0x0be35204,0x8f91,0x11ce,0x9d,0xe3,0x00,0xaa,0x00,0x4b,0xb8,0x51);
34 DEFINE_GUID(GUID_HIMETRIC,0x66504300,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB);
35 DEFINE_GUID(GUID_COLOR,0x66504301,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB);
36 DEFINE_GUID(GUID_XPOSPIXEL,0x66504302,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB);
37 DEFINE_GUID(GUID_YPOSPIXEL,0x66504303,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB);
38 DEFINE_GUID(GUID_XSIZEPIXEL,0x66504304,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB);
39 DEFINE_GUID(GUID_YSIZEPIXEL,0x66504305,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB);
40 DEFINE_GUID(GUID_XPOS,0x66504306,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB);
41 DEFINE_GUID(GUID_YPOS,0x66504307,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB);
42 DEFINE_GUID(GUID_XSIZE,0x66504308,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB);
43 DEFINE_GUID(GUID_YSIZE,0x66504309,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB);
44 
45 #ifndef __CGUID_H__
46 DEFINE_GUID(GUID_TRISTATE,0x6650430A,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB);
47 #endif
48 
49 DEFINE_GUID(GUID_OPTIONVALUEEXCLUSIVE,0x6650430B,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB);
50 DEFINE_GUID(GUID_CHECKVALUEEXCLUSIVE,0x6650430C,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB);
51 DEFINE_GUID(GUID_FONTNAME,0x6650430D,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB);
52 DEFINE_GUID(GUID_FONTSIZE,0x6650430E,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB);
53 DEFINE_GUID(GUID_FONTBOLD,0x6650430F,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB);
54 DEFINE_GUID(GUID_FONTITALIC,0x66504310,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB);
55 DEFINE_GUID(GUID_FONTUNDERSCORE,0x66504311,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB);
56 DEFINE_GUID(GUID_FONTSTRIKETHROUGH,0x66504312,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB);
57 DEFINE_GUID(GUID_HANDLE,0x66504313,0xBE0F,0x101A,0x8B,0xBB,0x00,0xAA,0x00,0x30,0x0C,0xAB);
58 #endif
59 
60 typedef struct tagOCPFIPARAMS {
61   ULONG cbStructSize;
62   HWND hWndOwner;
63   int x;
64   int y;
65   LPCOLESTR lpszCaption;
66   ULONG cObjects;
67   LPUNKNOWN *lplpUnk;
68   ULONG cPages;
69   CLSID *lpPages;
70   LCID lcid;
71   DISPID dispidInitialProperty;
72 
73 } OCPFIPARAMS,*LPOCPFIPARAMS;
74 
75 #define FONTSIZE(n) { n##0000,0 }
76 
77 typedef struct tagFONTDESC {
78   UINT cbSizeofstruct;
79   LPOLESTR lpstrName;
80   CY cySize;
81   SHORT sWeight;
82   SHORT sCharset;
83   WINBOOL fItalic;
84   WINBOOL fUnderline;
85   WINBOOL fStrikethrough;
86 
87 } FONTDESC,*LPFONTDESC;
88 
89 #define PICTYPE_UNINITIALIZED (-1)
90 #define PICTYPE_NONE 0
91 #define PICTYPE_BITMAP 1
92 #define PICTYPE_METAFILE 2
93 #define PICTYPE_ICON 3
94 #define PICTYPE_ENHMETAFILE 4
95 
96 typedef struct tagPICTDESC {
97   UINT cbSizeofstruct;
98   UINT picType;
99   __C89_NAMELESS union {
100     struct {
101       HBITMAP hbitmap;
102       HPALETTE hpal;
103     } bmp;
104     struct {
105       HMETAFILE hmeta;
106       int xExt;
107       int yExt;
108     } wmf;
109     struct {
110       HICON hicon;
111     } icon;
112     struct {
113       HENHMETAFILE hemf;
114     } emf;
115   } DUMMYUNIONNAME;
116 } PICTDESC,*LPPICTDESC;
117 
118 typedef __LONG32 OLE_XPOS_PIXELS;
119 typedef __LONG32 OLE_YPOS_PIXELS;
120 typedef __LONG32 OLE_XSIZE_PIXELS;
121 typedef __LONG32 OLE_YSIZE_PIXELS;
122 typedef float OLE_XPOS_CONTAINER;
123 typedef float OLE_YPOS_CONTAINER;
124 typedef float OLE_XSIZE_CONTAINER;
125 typedef float OLE_YSIZE_CONTAINER;
126 
127 typedef enum {
128   triUnchecked = 0,triChecked = 1,triGray = 2
129 } OLE_TRISTATE;
130 
131 typedef VARIANT_BOOL OLE_OPTEXCLUSIVE;
132 typedef VARIANT_BOOL OLE_CANCELBOOL;
133 typedef VARIANT_BOOL OLE_ENABLEDEFAULTBOOL;
134 
135 #ifndef FACILITY_CONTROL
136 #define FACILITY_CONTROL 0xa
137 #endif
138 
139 #define STD_CTL_SCODE(n) MAKE_SCODE(SEVERITY_ERROR,FACILITY_CONTROL,n)
140 #define CTL_E_ILLEGALFUNCTIONCALL STD_CTL_SCODE(5)
141 #define CTL_E_OVERFLOW STD_CTL_SCODE(6)
142 #define CTL_E_OUTOFMEMORY STD_CTL_SCODE(7)
143 #define CTL_E_DIVISIONBYZERO STD_CTL_SCODE(11)
144 #define CTL_E_OUTOFSTRINGSPACE STD_CTL_SCODE(14)
145 #define CTL_E_OUTOFSTACKSPACE STD_CTL_SCODE(28)
146 #define CTL_E_BADFILENAMEORNUMBER STD_CTL_SCODE(52)
147 #define CTL_E_FILENOTFOUND STD_CTL_SCODE(53)
148 #define CTL_E_BADFILEMODE STD_CTL_SCODE(54)
149 #define CTL_E_FILEALREADYOPEN STD_CTL_SCODE(55)
150 #define CTL_E_DEVICEIOERROR STD_CTL_SCODE(57)
151 #define CTL_E_FILEALREADYEXISTS STD_CTL_SCODE(58)
152 #define CTL_E_BADRECORDLENGTH STD_CTL_SCODE(59)
153 #define CTL_E_DISKFULL STD_CTL_SCODE(61)
154 #define CTL_E_BADRECORDNUMBER STD_CTL_SCODE(63)
155 #define CTL_E_BADFILENAME STD_CTL_SCODE(64)
156 #define CTL_E_TOOMANYFILES STD_CTL_SCODE(67)
157 #define CTL_E_DEVICEUNAVAILABLE STD_CTL_SCODE(68)
158 #define CTL_E_PERMISSIONDENIED STD_CTL_SCODE(70)
159 #define CTL_E_DISKNOTREADY STD_CTL_SCODE(71)
160 #define CTL_E_PATHFILEACCESSERROR STD_CTL_SCODE(75)
161 #define CTL_E_PATHNOTFOUND STD_CTL_SCODE(76)
162 #define CTL_E_INVALIDPATTERNSTRING STD_CTL_SCODE(93)
163 #define CTL_E_INVALIDUSEOFNULL STD_CTL_SCODE(94)
164 #define CTL_E_INVALIDFILEFORMAT STD_CTL_SCODE(321)
165 #define CTL_E_INVALIDPROPERTYVALUE STD_CTL_SCODE(380)
166 #define CTL_E_INVALIDPROPERTYARRAYINDEX STD_CTL_SCODE(381)
167 #define CTL_E_SETNOTSUPPORTEDATRUNTIME STD_CTL_SCODE(382)
168 #define CTL_E_SETNOTSUPPORTED STD_CTL_SCODE(383)
169 #define CTL_E_NEEDPROPERTYARRAYINDEX STD_CTL_SCODE(385)
170 #define CTL_E_SETNOTPERMITTED STD_CTL_SCODE(387)
171 #define CTL_E_GETNOTSUPPORTEDATRUNTIME STD_CTL_SCODE(393)
172 #define CTL_E_GETNOTSUPPORTED STD_CTL_SCODE(394)
173 #define CTL_E_PROPERTYNOTFOUND STD_CTL_SCODE(422)
174 #define CTL_E_INVALIDCLIPBOARDFORMAT STD_CTL_SCODE(460)
175 #define CTL_E_INVALIDPICTURE STD_CTL_SCODE(481)
176 #define CTL_E_PRINTERERROR STD_CTL_SCODE(482)
177 #define CTL_E_CANTSAVEFILETOTEMP STD_CTL_SCODE(735)
178 #define CTL_E_SEARCHTEXTNOTFOUND STD_CTL_SCODE(744)
179 #define CTL_E_REPLACEMENTSTOOLONG STD_CTL_SCODE(746)
180 
181 #define CUSTOM_CTL_SCODE(n) MAKE_SCODE(SEVERITY_ERROR,FACILITY_CONTROL,n)
182 #define CTL_E_CUSTOM_FIRST CUSTOM_CTL_SCODE(600)
183 
184 #define CONNECT_E_FIRST MAKE_SCODE(SEVERITY_ERROR,FACILITY_ITF,0x0200)
185 #define CONNECT_E_LAST MAKE_SCODE(SEVERITY_ERROR,FACILITY_ITF,0x020F)
186 #define CONNECT_S_FIRST MAKE_SCODE(SEVERITY_SUCCESS,FACILITY_ITF,0x0200)
187 #define CONNECT_S_LAST MAKE_SCODE(SEVERITY_SUCCESS,FACILITY_ITF,0x020F)
188 
189 #define CONNECT_E_NOCONNECTION (CONNECT_E_FIRST+0)
190 
191 #define CONNECT_E_ADVISELIMIT (CONNECT_E_FIRST+1)
192 
193 #define CONNECT_E_CANNOTCONNECT (CONNECT_E_FIRST+2)
194 
195 #define CONNECT_E_OVERRIDDEN (CONNECT_E_FIRST+3)
196 
197 #define SELFREG_E_FIRST MAKE_SCODE(SEVERITY_ERROR,FACILITY_ITF,0x0200)
198 #define SELFREG_E_LAST MAKE_SCODE(SEVERITY_ERROR,FACILITY_ITF,0x020F)
199 #define SELFREG_S_FIRST MAKE_SCODE(SEVERITY_SUCCESS,FACILITY_ITF,0x0200)
200 #define SELFREG_S_LAST MAKE_SCODE(SEVERITY_SUCCESS,FACILITY_ITF,0x020F)
201 
202 #define SELFREG_E_TYPELIB (SELFREG_E_FIRST+0)
203 #define SELFREG_E_CLASS (SELFREG_E_FIRST+1)
204 
205 #define PERPROP_E_FIRST MAKE_SCODE(SEVERITY_ERROR,FACILITY_ITF,0x0200)
206 #define PERPROP_E_LAST MAKE_SCODE(SEVERITY_ERROR,FACILITY_ITF,0x020F)
207 #define PERPROP_S_FIRST MAKE_SCODE(SEVERITY_SUCCESS,FACILITY_ITF,0x0200)
208 #define PERPROP_S_LAST MAKE_SCODE(SEVERITY_SUCCESS,FACILITY_ITF,0x020F)
209 
210 #define PERPROP_E_NOPAGEAVAILABLE (PERPROP_E_FIRST+0)
211 
212 #define OLEMISC_INVISIBLEATRUNTIME __MSABI_LONG(0x00000400)
213 #define OLEMISC_ALWAYSRUN __MSABI_LONG(0x00000800)
214 #define OLEMISC_ACTSLIKEBUTTON __MSABI_LONG(0x00001000)
215 #define OLEMISC_ACTSLIKELABEL __MSABI_LONG(0x00002000)
216 #define OLEMISC_NOUIACTIVATE __MSABI_LONG(0x00004000)
217 #define OLEMISC_ALIGNABLE __MSABI_LONG(0x00008000)
218 #define OLEMISC_SIMPLEFRAME __MSABI_LONG(0x00010000)
219 #define OLEMISC_SETCLIENTSITEFIRST __MSABI_LONG(0x00020000)
220 #define OLEMISC_IMEMODE __MSABI_LONG(0x00040000)
221 
222 #ifndef OLEIVERB_PROPERTIES
223 #define OLEIVERB_PROPERTIES (__MSABI_LONG(-7))
224 #endif
225 
226 #define VT_STREAMED_PROPSET 73
227 #define VT_STORED_PROPSET 74
228 #define VT_BLOB_PROPSET 75
229 #define VT_VERBOSE_ENUM 76
230 
231 #define VT_COLOR VT_I4
232 #define VT_XPOS_PIXELS VT_I4
233 #define VT_YPOS_PIXELS VT_I4
234 #define VT_XSIZE_PIXELS VT_I4
235 #define VT_YSIZE_PIXELS VT_I4
236 #define VT_XPOS_HIMETRIC VT_I4
237 #define VT_YPOS_HIMETRIC VT_I4
238 #define VT_XSIZE_HIMETRIC VT_I4
239 #define VT_YSIZE_HIMETRIC VT_I4
240 #define VT_TRISTATE VT_I2
241 #define VT_OPTEXCLUSIVE VT_BOOL
242 #define VT_FONT VT_DISPATCH
243 #define VT_PICTURE VT_DISPATCH
244 
245 #define VT_HANDLE VT_I4
246 
247 #define OCM__BASE (WM_USER+0x1c00)
248 #define OCM_COMMAND (OCM__BASE + WM_COMMAND)
249 
250 #define OCM_CTLCOLORBTN (OCM__BASE + WM_CTLCOLORBTN)
251 #define OCM_CTLCOLOREDIT (OCM__BASE + WM_CTLCOLOREDIT)
252 #define OCM_CTLCOLORDLG (OCM__BASE + WM_CTLCOLORDLG)
253 #define OCM_CTLCOLORLISTBOX (OCM__BASE + WM_CTLCOLORLISTBOX)
254 #define OCM_CTLCOLORMSGBOX (OCM__BASE + WM_CTLCOLORMSGBOX)
255 #define OCM_CTLCOLORSCROLLBAR (OCM__BASE + WM_CTLCOLORSCROLLBAR)
256 #define OCM_CTLCOLORSTATIC (OCM__BASE + WM_CTLCOLORSTATIC)
257 
258 #define OCM_DRAWITEM (OCM__BASE + WM_DRAWITEM)
259 #define OCM_MEASUREITEM (OCM__BASE + WM_MEASUREITEM)
260 #define OCM_DELETEITEM (OCM__BASE + WM_DELETEITEM)
261 #define OCM_VKEYTOITEM (OCM__BASE + WM_VKEYTOITEM)
262 #define OCM_CHARTOITEM (OCM__BASE + WM_CHARTOITEM)
263 #define OCM_COMPAREITEM (OCM__BASE + WM_COMPAREITEM)
264 #define OCM_HSCROLL (OCM__BASE + WM_HSCROLL)
265 #define OCM_VSCROLL (OCM__BASE + WM_VSCROLL)
266 #define OCM_PARENTNOTIFY (OCM__BASE + WM_PARENTNOTIFY)
267 #define OCM_NOTIFY (OCM__BASE + WM_NOTIFY)
268 
269 STDAPI DllRegisterServer(void);
270 STDAPI DllUnregisterServer(void);
271 WINOLECTLAPI OleCreatePropertyFrame(HWND hwndOwner,UINT x,UINT y,LPCOLESTR lpszCaption,ULONG cObjects,LPUNKNOWN *ppUnk,ULONG cPages,LPCLSID pPageClsID,LCID lcid,DWORD dwReserved,LPVOID pvReserved);
272 WINOLECTLAPI OleCreatePropertyFrameIndirect(LPOCPFIPARAMS lpParams);
273 WINOLECTLAPI OleTranslateColor(OLE_COLOR clr,HPALETTE hpal,COLORREF *lpcolorref);
274 WINOLECTLAPI OleCreateFontIndirect(LPFONTDESC lpFontDesc,REFIID riid,LPVOID *lplpvObj);
275 WINOLECTLAPI OleCreatePictureIndirect(LPPICTDESC lpPictDesc,REFIID riid,WINBOOL fOwn,LPVOID *lplpvObj);
276 WINOLECTLAPI OleLoadPicture(LPSTREAM lpstream,LONG lSize,WINBOOL fRunmode,REFIID riid,LPVOID *lplpvObj);
277 WINOLECTLAPI OleLoadPictureEx(LPSTREAM lpstream,LONG lSize,WINBOOL fRunmode,REFIID riid,DWORD xSizeDesired,DWORD ySizeDesired,DWORD dwFlags,LPVOID *lplpvObj);
278 WINOLECTLAPI OleLoadPicturePath(LPOLESTR szURLorPath,LPUNKNOWN punkCaller,DWORD dwReserved,OLE_COLOR clrReserved,REFIID riid,LPVOID *ppvRet);
279 WINOLECTLAPI OleLoadPictureFile(VARIANT varFileName,LPDISPATCH *lplpdispPicture);
280 WINOLECTLAPI OleLoadPictureFileEx(VARIANT varFileName,DWORD xSizeDesired,DWORD ySizeDesired,DWORD dwFlags,LPDISPATCH *lplpdispPicture);
281 WINOLECTLAPI OleSavePictureFile(LPDISPATCH lpdispPicture,BSTR bstrFileName);
282 WINOLECTLAPI_(HCURSOR) OleIconToCursor(HINSTANCE hinstExe,HICON hIcon);
283 
284 #define LP_DEFAULT 0x00
285 #define LP_MONOCHROME 0x01
286 #define LP_VGACOLOR 0x02
287 #define LP_COLOR 0x04
288 
289 #if !defined(RC_INVOKED)
290 #include <poppack.h>
291 #endif
292 #endif
293 
294 #define DISPID_AUTOSIZE (-500)
295 #define DISPID_BACKCOLOR (-501)
296 #define DISPID_BACKSTYLE (-502)
297 #define DISPID_BORDERCOLOR (-503)
298 #define DISPID_BORDERSTYLE (-504)
299 #define DISPID_BORDERWIDTH (-505)
300 #define DISPID_DRAWMODE (-507)
301 #define DISPID_DRAWSTYLE (-508)
302 #define DISPID_DRAWWIDTH (-509)
303 #define DISPID_FILLCOLOR (-510)
304 #define DISPID_FILLSTYLE (-511)
305 #define DISPID_FONT (-512)
306 #define DISPID_FORECOLOR (-513)
307 #define DISPID_ENABLED (-514)
308 #define DISPID_HWND (-515)
309 #define DISPID_TABSTOP (-516)
310 #define DISPID_TEXT (-517)
311 #define DISPID_CAPTION (-518)
312 #define DISPID_BORDERVISIBLE (-519)
313 #define DISPID_APPEARANCE (-520)
314 #define DISPID_MOUSEPOINTER (-521)
315 #define DISPID_MOUSEICON (-522)
316 #define DISPID_PICTURE (-523)
317 #define DISPID_VALID (-524)
318 #define DISPID_READYSTATE (-525)
319 #define DISPID_LISTINDEX (-526)
320 #define DISPID_SELECTED (-527)
321 #define DISPID_LIST (-528)
322 #define DISPID_COLUMN (-529)
323 #define DISPID_LISTCOUNT (-531)
324 #define DISPID_MULTISELECT (-532)
325 #define DISPID_MAXLENGTH (-533)
326 #define DISPID_PASSWORDCHAR (-534)
327 #define DISPID_SCROLLBARS (-535)
328 #define DISPID_WORDWRAP (-536)
329 #define DISPID_MULTILINE (-537)
330 #define DISPID_NUMBEROFROWS (-538)
331 #define DISPID_NUMBEROFCOLUMNS (-539)
332 #define DISPID_DISPLAYSTYLE (-540)
333 #define DISPID_GROUPNAME (-541)
334 #define DISPID_IMEMODE (-542)
335 #define DISPID_ACCELERATOR (-543)
336 #define DISPID_ENTERKEYBEHAVIOR (-544)
337 #define DISPID_TABKEYBEHAVIOR (-545)
338 #define DISPID_SELTEXT (-546)
339 #define DISPID_SELSTART (-547)
340 #define DISPID_SELLENGTH (-548)
341 
342 #define DISPID_REFRESH (-550)
343 #define DISPID_DOCLICK (-551)
344 #define DISPID_ABOUTBOX (-552)
345 #define DISPID_ADDITEM (-553)
346 #define DISPID_CLEAR (-554)
347 #define DISPID_REMOVEITEM (-555)
348 
349 #define DISPID_CLICK (-600)
350 #define DISPID_DBLCLICK (-601)
351 #define DISPID_KEYDOWN (-602)
352 #define DISPID_KEYPRESS (-603)
353 #define DISPID_KEYUP (-604)
354 #define DISPID_MOUSEDOWN (-605)
355 #define DISPID_MOUSEMOVE (-606)
356 #define DISPID_MOUSEUP (-607)
357 #define DISPID_ERROREVENT (-608)
358 #define DISPID_READYSTATECHANGE (-609)
359 #define DISPID_CLICK_VALUE (-610)
360 #define DISPID_RIGHTTOLEFT (-611)
361 #define DISPID_TOPTOBOTTOM (-612)
362 #define DISPID_THIS (-613)
363 
364 #define DISPID_AMBIENT_BACKCOLOR (-701)
365 #define DISPID_AMBIENT_DISPLAYNAME (-702)
366 #define DISPID_AMBIENT_FONT (-703)
367 #define DISPID_AMBIENT_FORECOLOR (-704)
368 #define DISPID_AMBIENT_LOCALEID (-705)
369 #define DISPID_AMBIENT_MESSAGEREFLECT (-706)
370 #define DISPID_AMBIENT_SCALEUNITS (-707)
371 #define DISPID_AMBIENT_TEXTALIGN (-708)
372 #define DISPID_AMBIENT_USERMODE (-709)
373 #define DISPID_AMBIENT_UIDEAD (-710)
374 #define DISPID_AMBIENT_SHOWGRABHANDLES (-711)
375 #define DISPID_AMBIENT_SHOWHATCHING (-712)
376 #define DISPID_AMBIENT_DISPLAYASDEFAULT (-713)
377 #define DISPID_AMBIENT_SUPPORTSMNEMONICS (-714)
378 #define DISPID_AMBIENT_AUTOCLIP (-715)
379 #define DISPID_AMBIENT_APPEARANCE (-716)
380 
381 #define DISPID_AMBIENT_CODEPAGE (-725)
382 #define DISPID_AMBIENT_PALETTE (-726)
383 #define DISPID_AMBIENT_CHARSET (-727)
384 #define DISPID_AMBIENT_TRANSFERPRIORITY (-728)
385 
386 #define DISPID_AMBIENT_RIGHTTOLEFT (-732)
387 #define DISPID_AMBIENT_TOPTOBOTTOM (-733)
388 
389 #define DISPID_Name (-800)
390 #define DISPID_Delete (-801)
391 #define DISPID_Object (-802)
392 #define DISPID_Parent (-803)
393 
394 #define DISPID_FONT_NAME 0
395 #define DISPID_FONT_SIZE 2
396 #define DISPID_FONT_BOLD 3
397 #define DISPID_FONT_ITALIC 4
398 #define DISPID_FONT_UNDER 5
399 #define DISPID_FONT_STRIKE 6
400 #define DISPID_FONT_WEIGHT 7
401 #define DISPID_FONT_CHARSET 8
402 #define DISPID_FONT_CHANGED 9
403 
404 #define DISPID_PICT_HANDLE 0
405 #define DISPID_PICT_HPAL 2
406 #define DISPID_PICT_TYPE 3
407 #define DISPID_PICT_WIDTH 4
408 #define DISPID_PICT_HEIGHT 5
409 #define DISPID_PICT_RENDER 6
410 
411 #if defined (__WIDL__)
412 #define STDOLE_TLB "stdole2.tlb"
413 #ifdef _WIN64
414 #define STDTYPE_TLB "stdole2.tlb"
415 #else
416 #define STDTYPE_TLB "olepro32.dll"
417 #endif
418 #endif
419 
420 #endif
421