1 | cpp_quote("/**")
|
---|
2 | cpp_quote(" * This file is part of the mingw-w64 runtime package.")
|
---|
3 | cpp_quote(" * No warranty is given; refer to the file DISCLAIMER within this package.")
|
---|
4 | cpp_quote(" */")
|
---|
5 | cpp_quote("")
|
---|
6 | cpp_quote("#include <winapifamily.h>")
|
---|
7 | cpp_quote("")
|
---|
8 | cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)")
|
---|
9 | cpp_quote("")
|
---|
10 |
|
---|
11 | import "ocidl.idl";
|
---|
12 | import "objidl.idl";
|
---|
13 | import "oleidl.idl";
|
---|
14 | import "oaidl.idl";
|
---|
15 | import "servprov.idl";
|
---|
16 |
|
---|
17 | cpp_quote("")
|
---|
18 | interface IOleDocument;
|
---|
19 | interface IOleDocumentSite;
|
---|
20 | interface IOleDocumentView;
|
---|
21 | interface IEnumOleDocumentViews;
|
---|
22 | interface IContinueCallback;
|
---|
23 | interface IPrint;
|
---|
24 | interface IOleCommandTarget;
|
---|
25 | interface IProtectedModeMenuServices;
|
---|
26 |
|
---|
27 | cpp_quote("")
|
---|
28 | cpp_quote("#ifndef _LPOLEDOCUMENT_DEFINED")
|
---|
29 | cpp_quote("#define _LPOLEDOCUMENT_DEFINED")
|
---|
30 | [object, uuid (b722bcc5-4e68-101b-a2bc-00aa00404770), pointer_default (unique)]
|
---|
31 | interface IOleDocument : IUnknown {
|
---|
32 | typedef [unique] IOleDocument *LPOLEDOCUMENT;
|
---|
33 | cpp_quote("")
|
---|
34 | typedef enum {
|
---|
35 | DOCMISC_CANCREATEMULTIPLEVIEWS = 1,
|
---|
36 | DOCMISC_SUPPORTCOMPLEXRECTANGLES = 2,
|
---|
37 | DOCMISC_CANTOPENEDIT = 4,
|
---|
38 | DOCMISC_NOFILESUPPORT = 8
|
---|
39 | } DOCMISC;
|
---|
40 | cpp_quote("")
|
---|
41 | HRESULT CreateView ([in, unique] IOleInPlaceSite *pIPSite,[in, unique] IStream *pstm,[in] DWORD dwReserved,[out] IOleDocumentView **ppView);
|
---|
42 | HRESULT GetDocMiscStatus ([out] DWORD *pdwStatus);
|
---|
43 | HRESULT EnumViews ([out] IEnumOleDocumentViews **ppEnum,[out] IOleDocumentView **ppView);
|
---|
44 | }
|
---|
45 | cpp_quote("#endif")
|
---|
46 | cpp_quote("")
|
---|
47 | cpp_quote("#ifndef _LPOLEDOCUMENTSITE_DEFINED")
|
---|
48 | cpp_quote("#define _LPOLEDOCUMENTSITE_DEFINED")
|
---|
49 | [object, uuid (b722bcc7-4e68-101b-a2bc-00aa00404770), pointer_default (unique)]
|
---|
50 | interface IOleDocumentSite : IUnknown {
|
---|
51 | typedef [unique] IOleDocumentSite *LPOLEDOCUMENTSITE;
|
---|
52 | cpp_quote("")
|
---|
53 | HRESULT ActivateMe ([in] IOleDocumentView *pViewToActivate);
|
---|
54 | }
|
---|
55 | cpp_quote("#endif")
|
---|
56 | cpp_quote("")
|
---|
57 | cpp_quote("#ifndef _LPOLEDOCUMENTVIEW_DEFINED")
|
---|
58 | cpp_quote("#define _LPOLEDOCUMENTVIEW_DEFINED")
|
---|
59 | [object, uuid (b722bcc6-4e68-101b-a2bc-00aa00404770), pointer_default (unique)]
|
---|
60 | interface IOleDocumentView : IUnknown {
|
---|
61 | typedef [unique] IOleDocumentView *LPOLEDOCUMENTVIEW;
|
---|
62 | cpp_quote("")
|
---|
63 | HRESULT SetInPlaceSite ([in, unique] IOleInPlaceSite *pIPSite);
|
---|
64 | HRESULT GetInPlaceSite ([out] IOleInPlaceSite **ppIPSite);
|
---|
65 | HRESULT GetDocument ([out] IUnknown **ppunk);
|
---|
66 | [input_sync] HRESULT SetRect ([in] LPRECT prcView);
|
---|
67 | HRESULT GetRect ([out] LPRECT prcView);
|
---|
68 | [input_sync] HRESULT SetRectComplex ([in, unique] LPRECT prcView,[in, unique] LPRECT prcHScroll,[in, unique] LPRECT prcVScroll,[in, unique] LPRECT prcSizeBox);
|
---|
69 | HRESULT Show ([in] BOOL fShow);
|
---|
70 | HRESULT UIActivate ([in] BOOL fUIActivate);
|
---|
71 | HRESULT Open (void);
|
---|
72 | HRESULT CloseView ([in] DWORD dwReserved);
|
---|
73 | HRESULT SaveViewState ([in] LPSTREAM pstm);
|
---|
74 | HRESULT ApplyViewState ([in] LPSTREAM pstm);
|
---|
75 | HRESULT Clone ([in] IOleInPlaceSite *pIPSiteNew,[out] IOleDocumentView **ppViewNew);
|
---|
76 | }
|
---|
77 | cpp_quote("#endif")
|
---|
78 | cpp_quote("")
|
---|
79 | cpp_quote("#ifndef _LPENUMOLEDOCUMENTVIEWS_DEFINED")
|
---|
80 | cpp_quote("#define _LPENUMOLEDOCUMENTVIEWS_DEFINED")
|
---|
81 | [object, uuid (b722bcc8-4e68-101b-a2bc-00aa00404770), pointer_default (unique)]
|
---|
82 | interface IEnumOleDocumentViews : IUnknown {
|
---|
83 | typedef [unique] IEnumOleDocumentViews *LPENUMOLEDOCUMENTVIEWS;
|
---|
84 | cpp_quote("")
|
---|
85 | [local] HRESULT __stdcall Next ([in] ULONG cViews,[out] IOleDocumentView **rgpView,[out] ULONG *pcFetched);
|
---|
86 | [call_as (Next)] HRESULT __stdcall RemoteNext ([in] ULONG cViews,[out, size_is (cViews), length_is (*pcFetched)]IOleDocumentView **rgpView,[out] ULONG *pcFetched);
|
---|
87 | HRESULT Skip ([in] ULONG cViews);
|
---|
88 | HRESULT Reset ();
|
---|
89 | HRESULT Clone ([out] IEnumOleDocumentViews **ppEnum);
|
---|
90 | }
|
---|
91 | cpp_quote("#endif")
|
---|
92 | cpp_quote("")
|
---|
93 | cpp_quote("#ifndef _LPCONTINUECALLBACK_DEFINED")
|
---|
94 | cpp_quote("#define _LPCONTINUECALLBACK_DEFINED")
|
---|
95 | [object, uuid (b722bcca-4e68-101b-a2bc-00aa00404770), pointer_default (unique)]
|
---|
96 | interface IContinueCallback : IUnknown {
|
---|
97 | typedef [unique] IContinueCallback *LPCONTINUECALLBACK;
|
---|
98 | cpp_quote("")
|
---|
99 | HRESULT FContinue ();
|
---|
100 | HRESULT FContinuePrinting ([in] LONG nCntPrinted,[in] LONG nCurPage,[in, unique] wchar_t *pwszPrintStatus);
|
---|
101 | }
|
---|
102 | cpp_quote("#endif")
|
---|
103 | cpp_quote("")
|
---|
104 | cpp_quote("#ifndef _LPPRINT_DEFINED")
|
---|
105 | cpp_quote("#define _LPPRINT_DEFINED")
|
---|
106 | [object, uuid (b722bcc9-4e68-101b-a2bc-00aa00404770), pointer_default (unique)]
|
---|
107 | interface IPrint : IUnknown {
|
---|
108 | typedef [unique] IPrint *LPPRINT;
|
---|
109 | cpp_quote("")
|
---|
110 | typedef enum {
|
---|
111 | PRINTFLAG_MAYBOTHERUSER = 1,
|
---|
112 | PRINTFLAG_PROMPTUSER = 2,
|
---|
113 | PRINTFLAG_USERMAYCHANGEPRINTER = 4,
|
---|
114 | PRINTFLAG_RECOMPOSETODEVICE = 8,
|
---|
115 | PRINTFLAG_DONTACTUALLYPRINT = 16,
|
---|
116 | PRINTFLAG_FORCEPROPERTIES = 32,
|
---|
117 | PRINTFLAG_PRINTTOFILE = 64
|
---|
118 | } PRINTFLAG;
|
---|
119 | cpp_quote("")
|
---|
120 | typedef struct tagPAGERANGE {
|
---|
121 | LONG nFromPage;
|
---|
122 | LONG nToPage;
|
---|
123 | } PAGERANGE;
|
---|
124 | cpp_quote("")
|
---|
125 | typedef struct tagPAGESET {
|
---|
126 | ULONG cbStruct;
|
---|
127 | BOOL fOddPages;
|
---|
128 | BOOL fEvenPages;
|
---|
129 | ULONG cPageRange;
|
---|
130 | [size_is (cPageRange)]
|
---|
131 | PAGERANGE rgPages[];
|
---|
132 | } PAGESET;
|
---|
133 | cpp_quote("")
|
---|
134 | cpp_quote("#define PAGESET_TOLASTPAGE ((WORD)(-1L))")
|
---|
135 |
|
---|
136 | cpp_quote("")
|
---|
137 | HRESULT SetInitialPageNum ([in] LONG nFirstPage);
|
---|
138 | HRESULT GetPageInfo ([out] LONG *pnFirstPage,[out] LONG *pcPages);
|
---|
139 | [local] HRESULT __stdcall Print ([in] DWORD grfFlags,[in, out] DVTARGETDEVICE **pptd,[in, out] PAGESET **ppPageSet,[in, out, unique] STGMEDIUM *pstgmOptions,[in] IContinueCallback *pcallback,[in] LONG nFirstPage,[out] LONG *pcPagesPrinted,[out] LONG *pnLastPage);
|
---|
140 | [call_as (Print)] HRESULT __stdcall RemotePrint ([in] DWORD grfFlags,[in, out] DVTARGETDEVICE **pptd,[in, out] PAGESET **pppageset,[in, out, unique] RemSTGMEDIUM *pstgmOptions,[in] IContinueCallback *pcallback,[in] LONG nFirstPage,[out] LONG *pcPagesPrinted,[out] LONG *pnLastPage);
|
---|
141 | }
|
---|
142 | cpp_quote("#endif")
|
---|
143 | cpp_quote("")
|
---|
144 | cpp_quote("#ifndef _LPOLECOMMANDTARGET_DEFINED")
|
---|
145 | cpp_quote("#define _LPOLECOMMANDTARGET_DEFINED")
|
---|
146 | [object, uuid (b722bccb-4e68-101b-a2bc-00aa00404770), pointer_default (unique)]
|
---|
147 | interface IOleCommandTarget : IUnknown {
|
---|
148 | typedef [unique] IOleCommandTarget *LPOLECOMMANDTARGET;
|
---|
149 | cpp_quote("")
|
---|
150 | typedef enum OLECMDF {
|
---|
151 | OLECMDF_SUPPORTED = 0x00000001,
|
---|
152 | OLECMDF_ENABLED = 0x00000002,
|
---|
153 | OLECMDF_LATCHED = 0x00000004,
|
---|
154 | OLECMDF_NINCHED = 0x00000008,
|
---|
155 | OLECMDF_INVISIBLE = 0x00000010,
|
---|
156 | OLECMDF_DEFHIDEONCTXTMENU = 0x00000020
|
---|
157 | } OLECMDF;
|
---|
158 | cpp_quote("")
|
---|
159 | typedef struct _tagOLECMD {
|
---|
160 | ULONG cmdID;
|
---|
161 | DWORD cmdf;
|
---|
162 | } OLECMD;
|
---|
163 | cpp_quote("")
|
---|
164 | typedef struct _tagOLECMDTEXT {
|
---|
165 | DWORD cmdtextf;
|
---|
166 | ULONG cwActual;
|
---|
167 | ULONG cwBuf;
|
---|
168 | [size_is (cwBuf)]
|
---|
169 | wchar_t rgwz[];
|
---|
170 | } OLECMDTEXT;
|
---|
171 | cpp_quote("")
|
---|
172 | typedef enum OLECMDTEXTF {
|
---|
173 | OLECMDTEXTF_NONE = 0,
|
---|
174 | OLECMDTEXTF_NAME = 1,
|
---|
175 | OLECMDTEXTF_STATUS = 2
|
---|
176 | } OLECMDTEXTF;
|
---|
177 | cpp_quote("")
|
---|
178 | typedef enum OLECMDEXECOPT {
|
---|
179 | OLECMDEXECOPT_DODEFAULT = 0,
|
---|
180 | OLECMDEXECOPT_PROMPTUSER = 1,
|
---|
181 | OLECMDEXECOPT_DONTPROMPTUSER = 2,
|
---|
182 | OLECMDEXECOPT_SHOWHELP = 3
|
---|
183 | } OLECMDEXECOPT;
|
---|
184 | cpp_quote("")
|
---|
185 | typedef enum OLECMDID {
|
---|
186 | OLECMDID_OPEN = 1,
|
---|
187 | OLECMDID_NEW = 2,
|
---|
188 | OLECMDID_SAVE = 3,
|
---|
189 | OLECMDID_SAVEAS = 4,
|
---|
190 | OLECMDID_SAVECOPYAS = 5,
|
---|
191 | OLECMDID_PRINT = 6,
|
---|
192 | OLECMDID_PRINTPREVIEW = 7,
|
---|
193 | OLECMDID_PAGESETUP = 8,
|
---|
194 | OLECMDID_SPELL = 9,
|
---|
195 | OLECMDID_PROPERTIES = 10,
|
---|
196 | OLECMDID_CUT = 11,
|
---|
197 | OLECMDID_COPY = 12,
|
---|
198 | OLECMDID_PASTE = 13,
|
---|
199 | OLECMDID_PASTESPECIAL = 14,
|
---|
200 | OLECMDID_UNDO = 15,
|
---|
201 | OLECMDID_REDO = 16,
|
---|
202 | OLECMDID_SELECTALL = 17,
|
---|
203 | OLECMDID_CLEARSELECTION = 18,
|
---|
204 | OLECMDID_ZOOM = 19,
|
---|
205 | OLECMDID_GETZOOMRANGE = 20,
|
---|
206 | OLECMDID_UPDATECOMMANDS = 21,
|
---|
207 | OLECMDID_REFRESH = 22,
|
---|
208 | OLECMDID_STOP = 23,
|
---|
209 | OLECMDID_HIDETOOLBARS = 24,
|
---|
210 | OLECMDID_SETPROGRESSMAX = 25,
|
---|
211 | OLECMDID_SETPROGRESSPOS = 26,
|
---|
212 | OLECMDID_SETPROGRESSTEXT = 27,
|
---|
213 | OLECMDID_SETTITLE = 28,
|
---|
214 | OLECMDID_SETDOWNLOADSTATE = 29,
|
---|
215 | OLECMDID_STOPDOWNLOAD = 30,
|
---|
216 | OLECMDID_ONTOOLBARACTIVATED = 31,
|
---|
217 | OLECMDID_FIND = 32,
|
---|
218 | OLECMDID_DELETE = 33,
|
---|
219 | OLECMDID_HTTPEQUIV = 34,
|
---|
220 | OLECMDID_HTTPEQUIV_DONE = 35,
|
---|
221 | OLECMDID_ENABLE_INTERACTION = 36,
|
---|
222 | OLECMDID_ONUNLOAD = 37,
|
---|
223 | OLECMDID_PROPERTYBAG2 = 38,
|
---|
224 | OLECMDID_PREREFRESH = 39,
|
---|
225 | OLECMDID_SHOWSCRIPTERROR = 40,
|
---|
226 | OLECMDID_SHOWMESSAGE = 41,
|
---|
227 | OLECMDID_SHOWFIND = 42,
|
---|
228 | OLECMDID_SHOWPAGESETUP = 43,
|
---|
229 | OLECMDID_SHOWPRINT = 44,
|
---|
230 | OLECMDID_CLOSE = 45,
|
---|
231 | OLECMDID_ALLOWUILESSSAVEAS = 46,
|
---|
232 | OLECMDID_DONTDOWNLOADCSS = 47,
|
---|
233 | OLECMDID_UPDATEPAGESTATUS = 48,
|
---|
234 | OLECMDID_PRINT2 = 49,
|
---|
235 | OLECMDID_PRINTPREVIEW2 = 50,
|
---|
236 | OLECMDID_SETPRINTTEMPLATE = 51,
|
---|
237 | OLECMDID_GETPRINTTEMPLATE = 52,
|
---|
238 | OLECMDID_PAGEACTIONBLOCKED = 55,
|
---|
239 | OLECMDID_PAGEACTIONUIQUERY = 56,
|
---|
240 | OLECMDID_FOCUSVIEWCONTROLS = 57,
|
---|
241 | OLECMDID_FOCUSVIEWCONTROLSQUERY = 58,
|
---|
242 | OLECMDID_SHOWPAGEACTIONMENU = 59,
|
---|
243 | OLECMDID_ADDTRAVELENTRY = 60,
|
---|
244 | OLECMDID_UPDATETRAVELENTRY = 61,
|
---|
245 | OLECMDID_UPDATEBACKFORWARDSTATE = 62,
|
---|
246 | OLECMDID_OPTICAL_ZOOM = 63,
|
---|
247 | OLECMDID_OPTICAL_GETZOOMRANGE = 64,
|
---|
248 | OLECMDID_WINDOWSTATECHANGED = 65,
|
---|
249 | OLECMDID_ACTIVEXINSTALLSCOPE = 66,
|
---|
250 | OLECMDID_UPDATETRAVELENTRY_DATARECOVERY = 67,
|
---|
251 | OLECMDID_SHOWTASKDLG = 68,
|
---|
252 | OLECMDID_POPSTATEEVENT = 69,
|
---|
253 | OLECMDID_VIEWPORT_MODE = 70,
|
---|
254 | OLECMDID_LAYOUT_VIEWPORT_WIDTH = 71,
|
---|
255 | OLECMDID_VISUAL_VIEWPORT_EXCLUDE_BOTTOM = 72,
|
---|
256 | OLECMDID_USER_OPTICAL_ZOOM = 73,
|
---|
257 | OLECMDID_PAGEAVAILABLE = 74,
|
---|
258 | OLECMDID_GETUSERSCALABLE = 75,
|
---|
259 | OLECMDID_UPDATE_CARET = 76,
|
---|
260 | OLECMDID_ENABLE_VISIBILITY = 77,
|
---|
261 | OLECMDID_MEDIA_PLAYBACK = 78
|
---|
262 | } OLECMDID;
|
---|
263 | cpp_quote("")
|
---|
264 | typedef enum MEDIAPLAYBACK_STATE {
|
---|
265 | MEDIAPLAYBACK_RESUME = 0,
|
---|
266 | MEDIAPLAYBACK_PAUSE = 1
|
---|
267 | } MEDIAPLAYBACK_STATE;
|
---|
268 | cpp_quote("")
|
---|
269 | cpp_quote("#define OLECMDERR_E_FIRST (OLE_E_LAST + 1)")
|
---|
270 | cpp_quote("#define OLECMDERR_E_NOTSUPPORTED (OLECMDERR_E_FIRST)")
|
---|
271 | cpp_quote("#define OLECMDERR_E_DISABLED (OLECMDERR_E_FIRST + 1)")
|
---|
272 | cpp_quote("#define OLECMDERR_E_NOHELP (OLECMDERR_E_FIRST + 2)")
|
---|
273 | cpp_quote("#define OLECMDERR_E_CANCELED (OLECMDERR_E_FIRST + 3)")
|
---|
274 | cpp_quote("#define OLECMDERR_E_UNKNOWNGROUP (OLECMDERR_E_FIRST + 4)")
|
---|
275 | cpp_quote("")
|
---|
276 | cpp_quote("#define MSOCMDERR_E_FIRST OLECMDERR_E_FIRST")
|
---|
277 | cpp_quote("#define MSOCMDERR_E_NOTSUPPORTED OLECMDERR_E_NOTSUPPORTED")
|
---|
278 | cpp_quote("#define MSOCMDERR_E_DISABLED OLECMDERR_E_DISABLED")
|
---|
279 | cpp_quote("#define MSOCMDERR_E_NOHELP OLECMDERR_E_NOHELP")
|
---|
280 | cpp_quote("#define MSOCMDERR_E_CANCELED OLECMDERR_E_CANCELED")
|
---|
281 | cpp_quote("#define MSOCMDERR_E_UNKNOWNGROUP OLECMDERR_E_UNKNOWNGROUP")
|
---|
282 | cpp_quote("")
|
---|
283 | cpp_quote("#define OLECMD_TASKDLGID_ONBEFOREUNLOAD 1")
|
---|
284 | cpp_quote("")
|
---|
285 | cpp_quote("#if NTDDI_VERSION >= NTDDI_WINXPSP2")
|
---|
286 | cpp_quote("#define OLECMDARGINDEX_SHOWPAGEACTIONMENU_HWND 0")
|
---|
287 | cpp_quote("#define OLECMDARGINDEX_SHOWPAGEACTIONMENU_X 1")
|
---|
288 | cpp_quote("#define OLECMDARGINDEX_SHOWPAGEACTIONMENU_Y 2")
|
---|
289 | cpp_quote("#define OLECMDARGINDEX_ACTIVEXINSTALL_PUBLISHER 0")
|
---|
290 | cpp_quote("#define OLECMDARGINDEX_ACTIVEXINSTALL_DISPLAYNAME 1")
|
---|
291 | cpp_quote("#define OLECMDARGINDEX_ACTIVEXINSTALL_CLSID 2")
|
---|
292 | cpp_quote("#define OLECMDARGINDEX_ACTIVEXINSTALL_INSTALLSCOPE 3")
|
---|
293 | cpp_quote("#define OLECMDARGINDEX_ACTIVEXINSTALL_SOURCEURL 4")
|
---|
294 | cpp_quote("")
|
---|
295 | cpp_quote("#define INSTALL_SCOPE_INVALID 0")
|
---|
296 | cpp_quote("#define INSTALL_SCOPE_MACHINE 1")
|
---|
297 | cpp_quote("#define INSTALL_SCOPE_USER 2")
|
---|
298 |
|
---|
299 | cpp_quote("")
|
---|
300 | typedef enum IGNOREMIME {
|
---|
301 | IGNOREMIME_PROMPT = 0x00000001,
|
---|
302 | IGNOREMIME_TEXT = 0x00000002
|
---|
303 | } IGNOREMIME;
|
---|
304 |
|
---|
305 | cpp_quote("")
|
---|
306 | typedef enum WPCSETTING {
|
---|
307 | WPCSETTING_LOGGING_ENABLED = 0x00000001,
|
---|
308 | WPCSETTING_FILEDOWNLOAD_BLOCKED = 0x00000002,
|
---|
309 | } WPCSETTING;
|
---|
310 | cpp_quote("#endif")
|
---|
311 | cpp_quote("")
|
---|
312 | [input_sync] HRESULT QueryStatus ([in, unique] const GUID *pguidCmdGroup,[in] ULONG cCmds,[size_is (cCmds)][in, out] OLECMD prgCmds[],[in, out, unique] OLECMDTEXT *pCmdText);
|
---|
313 | HRESULT Exec ([in, unique] const GUID *pguidCmdGroup,[in] DWORD nCmdID,[in] DWORD nCmdexecopt,[in, unique] VARIANT *pvaIn,[in, out, unique] VARIANT *pvaOut);
|
---|
314 | }
|
---|
315 | cpp_quote("#endif")
|
---|
316 |
|
---|
317 | cpp_quote("typedef enum {")
|
---|
318 | cpp_quote(" OLECMDIDF_REFRESH_NORMAL = 0,")
|
---|
319 | cpp_quote(" OLECMDIDF_REFRESH_IFEXPIRED = 1,")
|
---|
320 | cpp_quote(" OLECMDIDF_REFRESH_CONTINUE = 2,")
|
---|
321 | cpp_quote(" OLECMDIDF_REFRESH_COMPLETELY = 3,")
|
---|
322 | cpp_quote(" OLECMDIDF_REFRESH_NO_CACHE = 4,")
|
---|
323 | cpp_quote(" OLECMDIDF_REFRESH_RELOAD = 5,")
|
---|
324 | cpp_quote(" OLECMDIDF_REFRESH_LEVELMASK = 0x00FF,")
|
---|
325 | cpp_quote(" OLECMDIDF_REFRESH_CLEARUSERINPUT = 0x1000,")
|
---|
326 | cpp_quote("#if NTDDI_VERSION >= NTDDI_WINXPSP2")
|
---|
327 | cpp_quote(" OLECMDIDF_REFRESH_PROMPTIFOFFLINE = 0x2000,")
|
---|
328 | cpp_quote(" OLECMDIDF_REFRESH_THROUGHSCRIPT = 0x4000,")
|
---|
329 | cpp_quote(" OLECMDIDF_REFRESH_SKIPBEFOREUNLOADEVENT = 0x8000,")
|
---|
330 | cpp_quote(" OLECMDIDF_REFRESH_PAGEACTION_ACTIVEXINSTALL = 0x00010000,")
|
---|
331 | cpp_quote(" OLECMDIDF_REFRESH_PAGEACTION_FILEDOWNLOAD = 0x00020000,")
|
---|
332 | cpp_quote(" OLECMDIDF_REFRESH_PAGEACTION_LOCALMACHINE = 0x00040000,")
|
---|
333 | cpp_quote(" OLECMDIDF_REFRESH_PAGEACTION_POPUPWINDOW = 0x00080000,")
|
---|
334 | cpp_quote(" OLECMDIDF_REFRESH_PAGEACTION_PROTLOCKDOWNLOCALMACHINE = 0x00100000,")
|
---|
335 | cpp_quote(" OLECMDIDF_REFRESH_PAGEACTION_PROTLOCKDOWNTRUSTED = 0x00200000,")
|
---|
336 | cpp_quote(" OLECMDIDF_REFRESH_PAGEACTION_PROTLOCKDOWNINTRANET = 0x00400000,")
|
---|
337 | cpp_quote(" OLECMDIDF_REFRESH_PAGEACTION_PROTLOCKDOWNINTERNET = 0x00800000,")
|
---|
338 | cpp_quote(" OLECMDIDF_REFRESH_PAGEACTION_PROTLOCKDOWNRESTRICTED = 0x01000000,")
|
---|
339 | cpp_quote("#else")
|
---|
340 | cpp_quote("OLECMDIDF_REFRESH_PROMPTIFOFFLINE = 0x2000,")
|
---|
341 | cpp_quote("OLECMDIDF_REFRESH_THROUGHSCRIPT = 0x4000,")
|
---|
342 | cpp_quote("#endif")
|
---|
343 | cpp_quote(" OLECMDIDF_REFRESH_PAGEACTION_MIXEDCONTENT = 0x02000000,")
|
---|
344 | cpp_quote(" OLECMDIDF_REFRESH_PAGEACTION_INVALID_CERT = 0x04000000")
|
---|
345 | cpp_quote("} OLECMDID_REFRESHFLAG;")
|
---|
346 | cpp_quote("")
|
---|
347 | cpp_quote("typedef enum {")
|
---|
348 | cpp_quote(" OLECMDIDF_PAGEACTION_FILEDOWNLOAD = 0x00000001,")
|
---|
349 | cpp_quote(" OLECMDIDF_PAGEACTION_ACTIVEXINSTALL = 0x00000002,")
|
---|
350 | cpp_quote(" OLECMDIDF_PAGEACTION_ACTIVEXTRUSTFAIL = 0x00000004,")
|
---|
351 | cpp_quote(" OLECMDIDF_PAGEACTION_ACTIVEXUSERDISABLE = 0x00000008,")
|
---|
352 | cpp_quote(" OLECMDIDF_PAGEACTION_ACTIVEXDISALLOW = 0x00000010,")
|
---|
353 | cpp_quote(" OLECMDIDF_PAGEACTION_ACTIVEXUNSAFE = 0x00000020,")
|
---|
354 | cpp_quote(" OLECMDIDF_PAGEACTION_POPUPWINDOW = 0x00000040,")
|
---|
355 | cpp_quote(" OLECMDIDF_PAGEACTION_LOCALMACHINE = 0x00000080,")
|
---|
356 | cpp_quote(" OLECMDIDF_PAGEACTION_MIMETEXTPLAIN = 0x00000100,")
|
---|
357 | cpp_quote(" OLECMDIDF_PAGEACTION_SCRIPTNAVIGATE = 0x00000200,")
|
---|
358 | cpp_quote(" OLECMDIDF_PAGEACTION_SCRIPTNAVIGATE_ACTIVEXINSTALL = 0x00000200,")
|
---|
359 | cpp_quote(" OLECMDIDF_PAGEACTION_PROTLOCKDOWNLOCALMACHINE = 0x00000400,")
|
---|
360 | cpp_quote(" OLECMDIDF_PAGEACTION_PROTLOCKDOWNTRUSTED = 0x00000800,")
|
---|
361 | cpp_quote(" OLECMDIDF_PAGEACTION_PROTLOCKDOWNINTRANET = 0x00001000,")
|
---|
362 | cpp_quote(" OLECMDIDF_PAGEACTION_PROTLOCKDOWNINTERNET = 0x00002000,")
|
---|
363 | cpp_quote(" OLECMDIDF_PAGEACTION_PROTLOCKDOWNRESTRICTED = 0x00004000,")
|
---|
364 | cpp_quote(" OLECMDIDF_PAGEACTION_PROTLOCKDOWNDENY = 0x00008000,")
|
---|
365 | cpp_quote(" OLECMDIDF_PAGEACTION_POPUPALLOWED = 0x00010000,")
|
---|
366 | cpp_quote(" OLECMDIDF_PAGEACTION_SCRIPTPROMPT = 0x00020000,")
|
---|
367 | cpp_quote(" OLECMDIDF_PAGEACTION_ACTIVEXUSERAPPROVAL = 0x00040000,")
|
---|
368 | cpp_quote(" OLECMDIDF_PAGEACTION_MIXEDCONTENT = 0x00080000,")
|
---|
369 | cpp_quote(" OLECMDIDF_PAGEACTION_INVALID_CERT = 0x00100000,")
|
---|
370 | cpp_quote(" OLECMDIDF_PAGEACTION_INTRANETZONEREQUEST = 0x00200000,")
|
---|
371 | cpp_quote(" OLECMDIDF_PAGEACTION_XSSFILTERED = 0x00400000,")
|
---|
372 | cpp_quote(" OLECMDIDF_PAGEACTION_SPOOFABLEIDNHOST = 0x00800000,")
|
---|
373 | cpp_quote(" OLECMDIDF_PAGEACTION_ACTIVEX_EPM_INCOMPATIBLE = 0x01000000,")
|
---|
374 | cpp_quote(" OLECMDIDF_PAGEACTION_SCRIPTNAVIGATE_ACTIVEXUSERAPPROVAL = 0x02000000,")
|
---|
375 | cpp_quote(" OLECMDIDF_PAGEACTION_WPCBLOCKED = 0x04000000,")
|
---|
376 | cpp_quote(" OLECMDIDF_PAGEACTION_WPCBLOCKED_ACTIVEX = 0x08000000,")
|
---|
377 | cpp_quote(" OLECMDIDF_PAGEACTION_EXTENSION_COMPAT_BLOCKED = 0x10000000,")
|
---|
378 | cpp_quote(" OLECMDIDF_PAGEACTION_NORESETACTIVEX = 0x20000000,")
|
---|
379 | cpp_quote(" OLECMDIDF_PAGEACTION_GENERIC_STATE = 0x40000000,")
|
---|
380 | cpp_quote(" OLECMDIDF_PAGEACTION_RESET = (int) 0x80000000")
|
---|
381 | cpp_quote("} OLECMDID_PAGEACTIONFLAG;")
|
---|
382 | cpp_quote("")
|
---|
383 | cpp_quote("typedef enum {")
|
---|
384 | cpp_quote(" OLECMDIDF_BROWSERSTATE_EXTENSIONSOFF = 0x00000001,")
|
---|
385 | cpp_quote(" OLECMDIDF_BROWSERSTATE_IESECURITY = 0x00000002,")
|
---|
386 | cpp_quote(" OLECMDIDF_BROWSERSTATE_PROTECTEDMODE_OFF = 0x00000004,")
|
---|
387 | cpp_quote(" OLECMDIDF_BROWSERSTATE_RESET = 0x00000008,")
|
---|
388 | cpp_quote(" OLECMDIDF_BROWSERSTATE_REQUIRESACTIVEX = 0x00000010,")
|
---|
389 | cpp_quote("} OLECMDID_BROWSERSTATEFLAG;")
|
---|
390 | cpp_quote("")
|
---|
391 | cpp_quote("typedef enum {")
|
---|
392 | cpp_quote(" OLECMDIDF_OPTICAL_ZOOM_NOPERSIST = 0x00000001,")
|
---|
393 | cpp_quote(" OLECMDIDF_OPTICAL_ZOOM_NOLAYOUT = 0x00000010")
|
---|
394 | cpp_quote("} OLECMDID_OPTICAL_ZOOMFLAG;")
|
---|
395 | cpp_quote("")
|
---|
396 | cpp_quote("typedef enum {")
|
---|
397 | cpp_quote(" PAGEACTION_UI_DEFAULT = 0,")
|
---|
398 | cpp_quote(" PAGEACTION_UI_MODAL = 1,")
|
---|
399 | cpp_quote(" PAGEACTION_UI_MODELESS = 2,")
|
---|
400 | cpp_quote(" PAGEACTION_UI_SILENT = 3")
|
---|
401 | cpp_quote("} PAGEACTION_UI;")
|
---|
402 | cpp_quote("")
|
---|
403 | cpp_quote("typedef enum {")
|
---|
404 | cpp_quote(" OLECMDIDF_WINDOWSTATE_USERVISIBLE = 0x00000001,")
|
---|
405 | cpp_quote(" OLECMDIDF_WINDOWSTATE_ENABLED = 0x00000002,")
|
---|
406 | cpp_quote(" OLECMDIDF_WINDOWSTATE_USERVISIBLE_VALID = 0x00010000,")
|
---|
407 | cpp_quote(" OLECMDIDF_WINDOWSTATE_ENABLED_VALID = 0x00020000")
|
---|
408 | cpp_quote("} OLECMDID_WINDOWSTATE_FLAG;")
|
---|
409 | cpp_quote("")
|
---|
410 | cpp_quote("typedef enum {")
|
---|
411 | cpp_quote(" OLECMDIDF_VIEWPORTMODE_FIXED_LAYOUT_WIDTH = 0x00000001,")
|
---|
412 | cpp_quote(" OLECMDIDF_VIEWPORTMODE_EXCLUDE_VISUAL_BOTTOM = 0x00000002,")
|
---|
413 | cpp_quote(" OLECMDIDF_VIEWPORTMODE_FIXED_LAYOUT_WIDTH_VALID = 0x00010000,")
|
---|
414 | cpp_quote(" OLECMDIDF_VIEWPORTMODE_EXCLUDE_VISUAL_BOTTOM_VALID = 0x00020000")
|
---|
415 | cpp_quote("} OLECMDID_VIEWPORT_MODE_FLAG;")
|
---|
416 | cpp_quote("")
|
---|
417 | cpp_quote("#define IMsoDocument IOleDocument")
|
---|
418 | cpp_quote("#define IMsoDocumentSite IOleDocumentSite")
|
---|
419 | cpp_quote("#define IMsoView IOleDocumentView")
|
---|
420 | cpp_quote("#define IEnumMsoView IEnumOleDocumentViews")
|
---|
421 | cpp_quote("#define IMsoCommandTarget IOleCommandTarget")
|
---|
422 | cpp_quote("#define LPMSODOCUMENT LPOLEDOCUMENT")
|
---|
423 | cpp_quote("#define LPMSODOCUMENTSITE LPOLEDOCUMENTSITE")
|
---|
424 | cpp_quote("#define LPMSOVIEW LPOLEDOCUMENTVIEW")
|
---|
425 | cpp_quote("#define LPENUMMSOVIEW LPENUMOLEDOCUMENTVIEWS")
|
---|
426 | cpp_quote("#define LPMSOCOMMANDTARGET LPOLECOMMANDTARGET")
|
---|
427 | cpp_quote("#define MSOCMD OLECMD")
|
---|
428 | cpp_quote("#define MSOCMDTEXT OLECMDTEXT")
|
---|
429 | cpp_quote("#define IID_IMsoDocument IID_IOleDocument")
|
---|
430 | cpp_quote("#define IID_IMsoDocumentSite IID_IOleDocumentSite")
|
---|
431 | cpp_quote("#define IID_IMsoView IID_IOleDocumentView")
|
---|
432 | cpp_quote("#define IID_IEnumMsoView IID_IEnumOleDocumentViews")
|
---|
433 | cpp_quote("#define IID_IMsoCommandTarget IID_IOleCommandTarget")
|
---|
434 | cpp_quote("#define MSOCMDF_SUPPORTED OLECMDF_SUPPORTED")
|
---|
435 | cpp_quote("#define MSOCMDF_ENABLED OLECMDF_ENABLED")
|
---|
436 | cpp_quote("#define MSOCMDF_LATCHED OLECMDF_LATCHED")
|
---|
437 | cpp_quote("#define MSOCMDF_NINCHED OLECMDF_NINCHED")
|
---|
438 | cpp_quote("#define MSOCMDTEXTF_NONE OLECMDTEXTF_NONE")
|
---|
439 | cpp_quote("#define MSOCMDTEXTF_NAME OLECMDTEXTF_NAME")
|
---|
440 | cpp_quote("#define MSOCMDTEXTF_STATUS OLECMDTEXTF_STATUS")
|
---|
441 | cpp_quote("#define MSOCMDEXECOPT_DODEFAULT OLECMDEXECOPT_DODEFAULT")
|
---|
442 | cpp_quote("#define MSOCMDEXECOPT_PROMPTUSER OLECMDEXECOPT_PROMPTUSER")
|
---|
443 | cpp_quote("#define MSOCMDEXECOPT_DONTPROMPTUSER OLECMDEXECOPT_DONTPROMPTUSER")
|
---|
444 | cpp_quote("#define MSOCMDEXECOPT_SHOWHELP OLECMDEXECOPT_SHOWHELP")
|
---|
445 | cpp_quote("#define MSOCMDID_OPEN OLECMDID_OPEN")
|
---|
446 | cpp_quote("#define MSOCMDID_NEW OLECMDID_NEW")
|
---|
447 | cpp_quote("#define MSOCMDID_SAVE OLECMDID_SAVE")
|
---|
448 | cpp_quote("#define MSOCMDID_SAVEAS OLECMDID_SAVEAS")
|
---|
449 | cpp_quote("#define MSOCMDID_SAVECOPYAS OLECMDID_SAVECOPYAS")
|
---|
450 | cpp_quote("#define MSOCMDID_PRINT OLECMDID_PRINT")
|
---|
451 | cpp_quote("#define MSOCMDID_PRINTPREVIEW OLECMDID_PRINTPREVIEW")
|
---|
452 | cpp_quote("#define MSOCMDID_PAGESETUP OLECMDID_PAGESETUP")
|
---|
453 | cpp_quote("#define MSOCMDID_SPELL OLECMDID_SPELL")
|
---|
454 | cpp_quote("#define MSOCMDID_PROPERTIES OLECMDID_PROPERTIES")
|
---|
455 | cpp_quote("#define MSOCMDID_CUT OLECMDID_CUT")
|
---|
456 | cpp_quote("#define MSOCMDID_COPY OLECMDID_COPY")
|
---|
457 | cpp_quote("#define MSOCMDID_PASTE OLECMDID_PASTE")
|
---|
458 | cpp_quote("#define MSOCMDID_PASTESPECIAL OLECMDID_PASTESPECIAL")
|
---|
459 | cpp_quote("#define MSOCMDID_UNDO OLECMDID_UNDO")
|
---|
460 | cpp_quote("#define MSOCMDID_REDO OLECMDID_REDO")
|
---|
461 | cpp_quote("#define MSOCMDID_SELECTALL OLECMDID_SELECTALL")
|
---|
462 | cpp_quote("#define MSOCMDID_CLEARSELECTION OLECMDID_CLEARSELECTION")
|
---|
463 | cpp_quote("#define MSOCMDID_ZOOM OLECMDID_ZOOM")
|
---|
464 | cpp_quote("#define MSOCMDID_GETZOOMRANGE OLECMDID_GETZOOMRANGE")
|
---|
465 | cpp_quote("")
|
---|
466 | cpp_quote("EXTERN_C const GUID SID_SContainerDispatch;")
|
---|
467 | cpp_quote("")
|
---|
468 | [object, uuid (41b68150-904c-4e17-A0BA-A438182E359D), pointer_default (unique)]
|
---|
469 | interface IZoomEvents : IUnknown {
|
---|
470 | HRESULT OnZoomPercentChanged ([in] ULONG ulZoomPercent);
|
---|
471 | };
|
---|
472 |
|
---|
473 | cpp_quote("")
|
---|
474 | [object, uuid (d81f90a3-8156-44f7-ad28-5abb87003274), pointer_default (unique)]
|
---|
475 | interface IProtectFocus : IUnknown {
|
---|
476 | HRESULT AllowFocusChange ([out] BOOL *pfAllow);
|
---|
477 | };
|
---|
478 | cpp_quote("")
|
---|
479 | cpp_quote("#define SID_SProtectFocus IID_IProtectFocus")
|
---|
480 | cpp_quote("")
|
---|
481 | cpp_quote("#ifndef _LPPROTECTEDMODEMENUSERVICES_DEFINED")
|
---|
482 | cpp_quote("#define _LPPROTECTEDMODEMENUSERVICES_DEFINED")
|
---|
483 | [object, uuid (73c105ee-9dff-4a07-b83c-7eff290c266e), pointer_default (unique)]
|
---|
484 | interface IProtectedModeMenuServices : IUnknown {
|
---|
485 | HRESULT CreateMenu ([out] HMENU *phMenu);
|
---|
486 | HRESULT LoadMenu ([in, string] LPCWSTR pszModuleName,[in, string] LPCWSTR pszMenuName,[out] HMENU *phMenu);
|
---|
487 | HRESULT LoadMenuID ([in, string] LPCWSTR pszModuleName,[in] WORD wResourceID,[out] HMENU *phMenu);
|
---|
488 | }
|
---|
489 | cpp_quote("#endif")
|
---|
490 | cpp_quote("#endif")
|
---|
491 |
|
---|
492 | cpp_quote("#if WINAPI_FAMILY_ONE_PARTITION(WINAPI_FAMILY_DESKTOP_APP, WINAPI_PARTITION_APP)")
|
---|
493 | cpp_quote("typedef struct tagPAGESET { } PAGESET;")
|
---|
494 | cpp_quote("#endif")
|
---|