ReactOS 0.4.15-dev-7670-g69b08be
olepro.idl
Go to the documentation of this file.
1/*
2 * Copyright (C) 2003 Robert Shearman
3 * 2005 Huw Davies
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
18 *
19 */
20
21#pragma makedep regtypelib
22
23import "oaidl.idl";
24
25#include <olectl.h>
26
27[
28 uuid(bef6e001-a874-101a-8bba-00aa00300cab),
29 version(2.0),
30 helpstring("Standard OLE Types")
31]
33{
34 importlib("stdole2.tlb");
35
36 typedef [uuid(66504301-BE0F-101A-8BBB-00AA00300CAB), public]
37 unsigned long OLE_COLOR;
38
39 typedef [uuid(66504302-BE0F-101A-8BBB-00AA00300CAB), public]
41
42 typedef [uuid(66504303-BE0F-101A-8BBB-00AA00300CAB), public]
44
45 typedef [uuid(66504304-BE0F-101A-8BBB-00AA00300CAB), public]
47
48 typedef [uuid(66504305-BE0F-101A-8BBB-00AA00300CAB), public]
50
51 typedef [uuid(66504306-BE0F-101A-8BBB-00AA00300CAB), public]
53
54 typedef [uuid(66504307-BE0F-101A-8BBB-00AA00300CAB), public]
56
57 typedef [uuid(66504308-BE0F-101A-8BBB-00AA00300CAB), public]
59
60 typedef [uuid(66504309-BE0F-101A-8BBB-00AA00300CAB), public]
62
63 typedef [uuid(BF030640-9069-101B-AE2D-08002B2EC713), public]
65
66 typedef [uuid(BF030641-9069-101B-AE2D-08002B2EC713), public]
68
69 typedef [uuid(BF030642-9069-101B-AE2D-08002B2EC713), public]
71
72 typedef [uuid(BF030643-9069-101B-AE2D-08002B2EC713), public]
74
75 typedef [uuid(66504313-BE0F-101A-8BBB-00AA00300CAB), public]
77
78 typedef [uuid(6650430B-BE0F-101A-8BBB-00AA00300CAB), public]
80
81 typedef [uuid(BF030644-9069-101B-AE2D-08002B2EC713), public]
83
84 typedef [uuid(BF030645-9069-101B-AE2D-08002B2EC713), public]
86
87 [
88 uuid(6650430A-BE0F-101A-8BBB-00AA00300CAB)
89 ]
90 enum OLE_TRISTATE {
93 Gray = 2
94 };
95
96 typedef [uuid(6650430D-BE0F-101A-8BBB-00AA00300CAB), public]
98
99 typedef [uuid(6650430E-BE0F-101A-8BBB-00AA00300CAB), public]
101
102 typedef [uuid(6650430F-BE0F-101A-8BBB-00AA00300CAB), public]
104
105 typedef [uuid(66504310-BE0F-101A-8BBB-00AA00300CAB), public]
107
108 typedef [uuid(66504311-BE0F-101A-8BBB-00AA00300CAB), public]
110
111 typedef [uuid(66504312-BE0F-101A-8BBB-00AA00300CAB), public]
113
114
115 [
116 odl,
117 uuid(BEF6E002-A874-101A-8BBA-00AA00300CAB),
118 helpstring("Font Object"),
119 hidden
120 ]
121 interface IFont : IUnknown {
122 [propget] HRESULT Name([out, retval] BSTR *pname);
123 [propput] HRESULT Name([in] BSTR pname);
124
125 [propget] HRESULT Size([out, retval] CURRENCY *psize);
126 [propput] HRESULT Size([in] CURRENCY psize);
127
128 [propget] HRESULT Bold([out, retval] VARIANT_BOOL *pbold);
129 [propput] HRESULT Bold([in] VARIANT_BOOL pbold);
130
131 [propget] HRESULT Italic([out, retval] VARIANT_BOOL *pitalic);
132 [propput] HRESULT Italic([in] VARIANT_BOOL pitalic);
133
134 [propget] HRESULT Underline([out, retval] VARIANT_BOOL *punderline);
135 [propput] HRESULT Underline([in] VARIANT_BOOL punderline);
136
137 [propget] HRESULT Strikethrough([out, retval] VARIANT_BOOL *pstrikethrough);
138 [propput] HRESULT Strikethrough([in] VARIANT_BOOL pstrikethrough);
139
140 [propget] HRESULT Weight([out, retval] short *pweight);
141 [propput] HRESULT Weight([in] short pweight);
142
143 [propget] HRESULT Charset([out, retval] short *pcharset);
144 [propput] HRESULT Charset([in] short pcharset);
145
146 [propget] HRESULT hFont([out, retval] OLE_HANDLE *phfont);
147
148 HRESULT Clone([out] IFont **ppfont);
149
150 HRESULT IsEqual([in] IFont *pfontOther);
151
152 HRESULT SetRatio([in] long cyLogical, [in] long cyHimetric);
153
155
157 };
158
159
160 [
161 odl,
162 uuid(BEF6E003-A874-101A-8BBA-00AA00300CAB)
163 ]
164 dispinterface Font {
165 properties:
172 [id(DISPID_FONT_WEIGHT)] short Weight;
173 [id(DISPID_FONT_CHARSET)] short Charset;
174 methods:
175 }
176
177 typedef [public] Font IFontDisp;
178
179 [
180 uuid(0BE35203-8F91-11CE-9DE3-00AA004BB851)
181 ]
182 coclass StdFont {
183 [default] dispinterface Font;
184 interface IFont;
185 };
186
187 [
188 odl,
189 uuid(7BF80980-BF32-101A-8BBB-00AA00300CAB),
190 helpstring("Picture Object"),
191 hidden
192 ]
193 interface IPicture : IUnknown {
194 [propget] HRESULT Handle([out, retval] OLE_HANDLE *phandle);
195
196 [propget] HRESULT hPal([out, retval] OLE_HANDLE *phpal);
197
198 [propget] HRESULT Type([out, retval] short *ptype);
199
200 [propget] HRESULT Width([out, retval] OLE_XSIZE_HIMETRIC *pwidth);
201
202 [propget] HRESULT Height([out, retval] OLE_YSIZE_HIMETRIC *pheight);
203
205 [in] long x,
206 [in] long y,
207 [in] long cx,
208 [in] long cy,
209 [in] OLE_XPOS_HIMETRIC xSrc,
210 [in] OLE_YPOS_HIMETRIC ySrc,
211 [in] OLE_XSIZE_HIMETRIC cxSrc,
212 [in] OLE_YSIZE_HIMETRIC cySrc,
213 [in] void *prcWBounds);
214
215 [propput] HRESULT hPal([in] OLE_HANDLE phpal);
216
217 [propget] HRESULT CurDC([out, retval] int *phdcOut);
218
220 [out] int *phdcOut,
221 [out] OLE_HANDLE *phbmpOut);
222
223 [propget] HRESULT KeepOriginalFormat([out, retval] VARIANT_BOOL *pfkeep);
224 [propput] HRESULT KeepOriginalFormat([in] VARIANT_BOOL pfkeep);
225
227
228 HRESULT SaveAsFile([in] void *pstm,
229 [in] VARIANT_BOOL fSaveMemCopy,
230 [out] long *pcbSize);
231
232 [propget] HRESULT Attributes([out, retval] long *pdwAttr);
233
235 };
236
237 [
238 uuid(7BF80981-BF32-101A-8BBB-00AA00300CAB)
239 ]
240 dispinterface Picture {
241 properties:
244 [id(DISPID_PICT_TYPE), readonly] short Type;
247 methods:
249 void Render(int hdc,
250 long x,
251 long y,
252 long cx,
253 long cy,
256 OLE_XSIZE_HIMETRIC cxSrc,
257 OLE_YSIZE_HIMETRIC cySrc,
258 void *prcWBounds);
259 };
260
261 typedef [public] Picture IPictureDisp;
262
263 [
264 uuid(0BE35204-8F91-11CE-9DE3-00AA004BB851)
265 ]
266 coclass StdPicture {
267 [default] dispinterface Picture;
268 interface IPicture;
269 };
270};
Type
Definition: Type.h:7
coclass MediaStreamFilter helpstring("Stream Class")
struct NameRec_ * Name
Definition: cdprocs.h:460
@ Gray
Definition: bl.h:205
#define D(d)
Definition: builtin.c:4557
FT_Library library
Definition: cffdrivr.c:654
Definition: ehthrow.cxx:93
Definition: ehthrow.cxx:54
static const WCHAR E[]
Definition: oid.c:1253
OLECHAR * BSTR
Definition: compat.h:2293
short VARIANT_BOOL
Definition: compat.h:2290
static const WCHAR version[]
Definition: asmname.c:66
ULONG Handle
Definition: gdb_input.c:15
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
GLenum pname
Definition: glext.h:5645
GLuint in
Definition: glext.h:9616
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6204
GLuint id
Definition: glext.h:5910
HFONT hFont
BSTR Name
BOOL Italic
BOOL Strikethrough
SHORT Weight
BOOL Bold
BOOL Underline
SHORT Charset
BOOL KeepOriginalFormat
OLE_HANDLE hPal
OLE_HANDLE hFont
VARIANT_BOOL Italic
HRESULT IsEqual([in] IFont *pfontOther)
HRESULT Clone([out] IFont **ppfont)
HRESULT SetRatio([in] long cyLogical, [in] long cyHimetric)
VARIANT_BOOL Underline
HRESULT AddRefHfont([in] OLE_HANDLE hFont)
VARIANT_BOOL Bold
VARIANT_BOOL Strikethrough
HRESULT ReleaseHfont([in] OLE_HANDLE hFont)
HRESULT SelectPicture([in] int hdcIn, [out] int *phdcOut, [out] OLE_HANDLE *phbmpOut)
HRESULT SaveAsFile([in] void *pstm, [in] VARIANT_BOOL fSaveMemCopy, [out] long *pcbSize)
HRESULT PictureChanged()
HRESULT Render([in] int hdc, [in] long x, [in] long y, [in] long cx, [in] long cy, [in] OLE_XPOS_HIMETRIC xSrc, [in] OLE_YPOS_HIMETRIC ySrc, [in] OLE_XSIZE_HIMETRIC cxSrc, [in] OLE_YSIZE_HIMETRIC cySrc, [in] void *prcWBounds)
OLE_HANDLE Handle
VARIANT_BOOL KeepOriginalFormat
HRESULT SetHdc([in] OLE_HANDLE hdc)
OLE_XSIZE_HIMETRIC Width
OLE_YSIZE_HIMETRIC Height
void Render(int hdc, long x, long y, long cx, long cy, OLE_XPOS_HIMETRIC xSrc, OLE_YPOS_HIMETRIC ySrc, OLE_XSIZE_HIMETRIC cxSrc, OLE_YSIZE_HIMETRIC cySrc, void *prcWBounds)
Definition: msctf.idl:550
__u32 hidden
Definition: mkdosfs.c:13
HDC hdc
Definition: main.c:9
long OLE_XPOS_HIMETRIC
Definition: olepro.idl:52
long OLE_YPOS_HIMETRIC
Definition: olepro.idl:55
int OLE_HANDLE
Definition: olepro.idl:76
BSTR FONTNAME
Definition: olepro.idl:97
long OLE_XSIZE_HIMETRIC
Definition: olepro.idl:58
unsigned long OLE_COLOR
Definition: olepro.idl:37
VARIANT_BOOL FONTITALIC
Definition: olepro.idl:106
long OLE_YSIZE_HIMETRIC
Definition: olepro.idl:61
VARIANT_BOOL FONTBOLD
Definition: olepro.idl:103
OLE_TRISTATE
Definition: olepro.idl:90
@ Unchecked
Definition: olepro.idl:91
@ Checked
Definition: olepro.idl:92
VARIANT_BOOL FONTSTRIKETHROUGH
Definition: olepro.idl:112
VARIANT_BOOL FONTUNDERSCORE
Definition: olepro.idl:109
_Must_inspect_result_ _Out_ LPSIZE psize
Definition: ntgdi.h:1569
float OLE_YSIZE_CONTAINER
Definition: olectl.h:167
VARIANT_BOOL OLE_ENABLEDEFAULTBOOL
Definition: olectl.h:178
LONG OLE_YPOS_PIXELS
Definition: olectl.h:161
#define DISPID_PICT_RENDER
Definition: olectl.h:443
#define DISPID_FONT_SIZE
Definition: olectl.h:428
#define DISPID_FONT_NAME
Definition: olectl.h:427
float OLE_XPOS_CONTAINER
Definition: olectl.h:164
#define DISPID_PICT_TYPE
Definition: olectl.h:440
#define DISPID_FONT_BOLD
Definition: olectl.h:429
#define FONTSIZE(n)
Definition: olectl.h:129
#define DISPID_FONT_STRIKE
Definition: olectl.h:432
#define DISPID_PICT_WIDTH
Definition: olectl.h:441
VARIANT_BOOL OLE_OPTEXCLUSIVE
Definition: olectl.h:176
VARIANT_BOOL OLE_CANCELBOOL
Definition: olectl.h:177
float OLE_YPOS_CONTAINER
Definition: olectl.h:165
LONG OLE_YSIZE_PIXELS
Definition: olectl.h:163
#define DISPID_PICT_HPAL
Definition: olectl.h:439
#define DISPID_FONT_ITALIC
Definition: olectl.h:430
#define DISPID_PICT_HANDLE
Definition: olectl.h:438
#define DISPID_FONT_CHARSET
Definition: olectl.h:434
LONG OLE_XPOS_PIXELS
Definition: olectl.h:160
#define DISPID_FONT_WEIGHT
Definition: olectl.h:433
#define DISPID_PICT_HEIGHT
Definition: olectl.h:442
float OLE_XSIZE_CONTAINER
Definition: olectl.h:166
#define DISPID_FONT_UNDER
Definition: olectl.h:431
LONG OLE_XSIZE_PIXELS
Definition: olectl.h:162
_Out_opt_ int _Out_opt_ int * cy
Definition: commctrl.h:586
_Out_opt_ int * cx
Definition: commctrl.h:585
static FILE * out
Definition: regtests2xml.c:44
@ Strikethrough
Definition: sacdrv.h:1387
@ Bold
Definition: sacdrv.h:1379
@ Underline
Definition: sacdrv.h:1382
@ Italic
Definition: sacdrv.h:1381
#define F(x, y, z)
Definition: md5.c:51
Definition: compat.h:2255
_In_ HFONT _Out_ PUINT _Out_ PUINT Width
Definition: font.h:89
_In_ HFONT _Out_ PUINT Height
Definition: font.h:88
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size
Definition: wdfdevice.h:4533