1 | /*
|
---|
2 | * Copyright (C) 2000 Ulrich Czekalla
|
---|
3 | * Copyright (C) 2003 Alexandre Julliard
|
---|
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 | * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
|
---|
22 | * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
|
---|
23 | * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
|
---|
24 | * a choice of LGPL license versions is made available with the language indicating
|
---|
25 | * that LGPLv2 or any later version may be used, or where a choice of which version
|
---|
26 | * of the LGPL is applied is otherwise unspecified.
|
---|
27 | */
|
---|
28 |
|
---|
29 | import "objidl.idl";
|
---|
30 | import "oleidl.idl";
|
---|
31 | import "servprov.idl";
|
---|
32 | import "msxml.idl";
|
---|
33 |
|
---|
34 | cpp_quote("#ifdef WINE_NO_UNICODE_MACROS")
|
---|
35 | cpp_quote("#undef GetUserName")
|
---|
36 | cpp_quote("#undef SetPort")
|
---|
37 | cpp_quote("#endif")
|
---|
38 |
|
---|
39 | interface IInternetProtocolSink;
|
---|
40 | interface IUri;
|
---|
41 |
|
---|
42 | /*****************************************************************************
|
---|
43 | * IInternet interface
|
---|
44 | */
|
---|
45 | [
|
---|
46 | object,
|
---|
47 | uuid(79eac9e0-baf9-11ce-8c82-00aa004ba90b),
|
---|
48 | pointer_default(unique),
|
---|
49 | local
|
---|
50 | ]
|
---|
51 | interface IInternet : IUnknown
|
---|
52 | {
|
---|
53 | typedef [unique] IInternet *LPIINTERNET;
|
---|
54 | }
|
---|
55 |
|
---|
56 | /*****************************************************************************
|
---|
57 | * IBinding interface
|
---|
58 | */
|
---|
59 | [
|
---|
60 | object,
|
---|
61 | uuid(79eac9c0-baf9-11ce-8c82-00aa004ba90b),
|
---|
62 | pointer_default(unique)
|
---|
63 | ]
|
---|
64 | interface IBinding : IUnknown
|
---|
65 | {
|
---|
66 | typedef [unique] IBinding *LPBINDING;
|
---|
67 |
|
---|
68 | HRESULT Abort();
|
---|
69 | HRESULT Suspend();
|
---|
70 | HRESULT Resume();
|
---|
71 |
|
---|
72 | HRESULT SetPriority(
|
---|
73 | [in] LONG nPriority);
|
---|
74 |
|
---|
75 | HRESULT GetPriority(
|
---|
76 | [out] LONG * pnPriority);
|
---|
77 |
|
---|
78 | [local]
|
---|
79 | HRESULT GetBindResult(
|
---|
80 | [out] CLSID *pclsidProtocol,
|
---|
81 | [out] DWORD *pdwResult,
|
---|
82 | [out] LPOLESTR *pszResult,
|
---|
83 | [in, out] DWORD *pdwReserved);
|
---|
84 |
|
---|
85 | [call_as(GetBindResult)]
|
---|
86 | HRESULT RemoteGetBindResult(
|
---|
87 | [out] CLSID *pclsidProtocol,
|
---|
88 | [out] DWORD *pdwResult,
|
---|
89 | [out] LPOLESTR *pszResult,
|
---|
90 | [in] DWORD dwReserved);
|
---|
91 | }
|
---|
92 |
|
---|
93 |
|
---|
94 | /*****************************************************************************
|
---|
95 | * IBindStatusCallback interface
|
---|
96 | */
|
---|
97 | [
|
---|
98 | object,
|
---|
99 | uuid(79eac9c1-baf9-11ce-8c82-00aa004ba90b),
|
---|
100 | pointer_default(unique)
|
---|
101 | ]
|
---|
102 | interface IBindStatusCallback : IUnknown
|
---|
103 | {
|
---|
104 | typedef [unique] IBindStatusCallback *LPBINDSTATUSCALLBACK;
|
---|
105 |
|
---|
106 | typedef enum
|
---|
107 | {
|
---|
108 | BINDVERB_GET = 0x00000000,
|
---|
109 | BINDVERB_POST = 0x00000001,
|
---|
110 | BINDVERB_PUT = 0x00000002,
|
---|
111 | BINDVERB_CUSTOM = 0x00000003
|
---|
112 | } BINDVERB;
|
---|
113 |
|
---|
114 | typedef enum
|
---|
115 | {
|
---|
116 | BINDINFOF_URLENCODESTGMEDDATA = 0x00000001,
|
---|
117 | BINDINFOF_URLENCODEDEXTRAINFO = 0x00000002
|
---|
118 | } BINDINFOF;
|
---|
119 |
|
---|
120 | typedef enum
|
---|
121 | {
|
---|
122 | BINDF_ASYNCHRONOUS = 0x00000001,
|
---|
123 | BINDF_ASYNCSTORAGE = 0x00000002,
|
---|
124 | BINDF_NOPROGRESSIVERENDERING = 0x00000004,
|
---|
125 | BINDF_OFFLINEOPERATION = 0x00000008,
|
---|
126 | BINDF_GETNEWESTVERSION = 0x00000010,
|
---|
127 | BINDF_NOWRITECACHE = 0x00000020,
|
---|
128 | BINDF_NEEDFILE = 0x00000040,
|
---|
129 | BINDF_PULLDATA = 0x00000080,
|
---|
130 | BINDF_IGNORESECURITYPROBLEM = 0x00000100,
|
---|
131 | BINDF_RESYNCHRONIZE = 0x00000200,
|
---|
132 | BINDF_HYPERLINK = 0x00000400,
|
---|
133 | BINDF_NO_UI = 0x00000800,
|
---|
134 | BINDF_SILENTOPERATION = 0x00001000,
|
---|
135 | BINDF_PRAGMA_NO_CACHE = 0x00002000,
|
---|
136 | BINDF_GETCLASSOBJECT = 0x00004000,
|
---|
137 | BINDF_RESERVED_1 = 0x00008000,
|
---|
138 | BINDF_FREE_THREADED = 0x00010000,
|
---|
139 | BINDF_DIRECT_READ = 0x00020000,
|
---|
140 | BINDF_FORMS_SUBMIT = 0x00040000,
|
---|
141 | BINDF_GETFROMCACHE_IF_NET_FAIL = 0x00080000,
|
---|
142 | BINDF_FROMURLMON = 0x00100000,
|
---|
143 | BINDF_FWD_BACK = 0x00200000,
|
---|
144 | BINDF_PREFERDEFAULTHANDLER = 0x00400000,
|
---|
145 | BINDF_ENFORCERESTRICTED = 0x00800000
|
---|
146 | } BINDF;
|
---|
147 |
|
---|
148 | typedef enum
|
---|
149 | {
|
---|
150 | URL_ENCODING_NONE = 0x00000000,
|
---|
151 | URL_ENCODING_ENABLE_UTF8 = 0x10000000,
|
---|
152 | URL_ENCODING_DISABLE_UTF8 = 0x20000000
|
---|
153 | } URL_ENCODING;
|
---|
154 |
|
---|
155 | typedef struct _tagBINDINFO
|
---|
156 | {
|
---|
157 | ULONG cbSize;
|
---|
158 | LPWSTR szExtraInfo;
|
---|
159 | STGMEDIUM stgmedData;
|
---|
160 | DWORD grfBindInfoF;
|
---|
161 | DWORD dwBindVerb;
|
---|
162 | LPWSTR szCustomVerb;
|
---|
163 | DWORD cbstgmedData;
|
---|
164 | DWORD dwOptions;
|
---|
165 | DWORD dwOptionsFlags;
|
---|
166 | DWORD dwCodePage;
|
---|
167 | SECURITY_ATTRIBUTES securityAttributes;
|
---|
168 | IID iid;
|
---|
169 | IUnknown *pUnk;
|
---|
170 | DWORD dwReserved;
|
---|
171 | } BINDINFO;
|
---|
172 |
|
---|
173 | typedef struct _REMSECURITY_ATTRIBUTES
|
---|
174 | {
|
---|
175 | DWORD nLength;
|
---|
176 | DWORD lpSecurityDescriptor;
|
---|
177 | BOOL bInheritHandle;
|
---|
178 | } REMSECURITY_ATTRIBUTES, *PREMSECURITY_ATTRIBUTES, *LPREMSECURITY_ATTRIBUTES;
|
---|
179 |
|
---|
180 | typedef struct _tagRemBINDINFO
|
---|
181 | {
|
---|
182 | ULONG cbSize;
|
---|
183 | LPWSTR szExtraInfo;
|
---|
184 | DWORD grfBindInfoF;
|
---|
185 | DWORD dwBindVerb;
|
---|
186 | LPWSTR szCustomVerb;
|
---|
187 | DWORD cbstgmedData;
|
---|
188 | DWORD dwOptions;
|
---|
189 | DWORD dwOptionsFlags;
|
---|
190 | DWORD dwCodePage;
|
---|
191 | REMSECURITY_ATTRIBUTES securityAttributes;
|
---|
192 | IID iid;
|
---|
193 | IUnknown *pUnk;
|
---|
194 | DWORD dwReserved;
|
---|
195 | } RemBINDINFO;
|
---|
196 |
|
---|
197 | typedef struct tagRemFORMATETC
|
---|
198 | {
|
---|
199 | DWORD cfFormat;
|
---|
200 | DWORD ptd;
|
---|
201 | DWORD dwAspect;
|
---|
202 | LONG lindex;
|
---|
203 | DWORD tymed;
|
---|
204 | } RemFORMATETC, *LPREMFORMATETC;
|
---|
205 |
|
---|
206 | typedef enum
|
---|
207 | {
|
---|
208 | BSCF_FIRSTDATANOTIFICATION = 0x01,
|
---|
209 | BSCF_INTERMEDIATEDATANOTIFICATION = 0x02,
|
---|
210 | BSCF_LASTDATANOTIFICATION = 0x04,
|
---|
211 | BSCF_DATAFULLYAVAILABLE = 0x08,
|
---|
212 | BSCF_AVAILABLEDATASIZEUNKNOWN = 0x10,
|
---|
213 | BSCF_SKIPDRAINDATAFORFILEURLS = 0x20,
|
---|
214 | BSCF_64BITLENGTHDOWNLOAD = 0x40
|
---|
215 | } BSCF;
|
---|
216 |
|
---|
217 | typedef enum BINDSTATUS
|
---|
218 | {
|
---|
219 | BINDSTATUS_FINDINGRESOURCE = 1,
|
---|
220 | BINDSTATUS_CONNECTING,
|
---|
221 | BINDSTATUS_REDIRECTING,
|
---|
222 | BINDSTATUS_BEGINDOWNLOADDATA,
|
---|
223 | BINDSTATUS_DOWNLOADINGDATA,
|
---|
224 | BINDSTATUS_ENDDOWNLOADDATA,
|
---|
225 | BINDSTATUS_BEGINDOWNLOADCOMPONENTS,
|
---|
226 | BINDSTATUS_INSTALLINGCOMPONENTS,
|
---|
227 | BINDSTATUS_ENDDOWNLOADCOMPONENTS,
|
---|
228 | BINDSTATUS_USINGCACHEDCOPY,
|
---|
229 | BINDSTATUS_SENDINGREQUEST,
|
---|
230 | BINDSTATUS_CLASSIDAVAILABLE,
|
---|
231 | BINDSTATUS_MIMETYPEAVAILABLE,
|
---|
232 | BINDSTATUS_CACHEFILENAMEAVAILABLE,
|
---|
233 | BINDSTATUS_BEGINSYNCOPERATION,
|
---|
234 | BINDSTATUS_ENDSYNCOPERATION,
|
---|
235 | BINDSTATUS_BEGINUPLOADDATA,
|
---|
236 | BINDSTATUS_UPLOADINGDATA,
|
---|
237 | BINDSTATUS_ENDUPLOADINGDATA,
|
---|
238 | BINDSTATUS_PROTOCOLCLASSID,
|
---|
239 | BINDSTATUS_ENCODING,
|
---|
240 | BINDSTATUS_VERIFIEDMIMETYPEAVAILABLE,
|
---|
241 | BINDSTATUS_CLASSINSTALLLOCATION,
|
---|
242 | BINDSTATUS_DECODING,
|
---|
243 | BINDSTATUS_LOADINGMIMEHANDLER,
|
---|
244 | BINDSTATUS_CONTENTDISPOSITIONATTACH,
|
---|
245 | BINDSTATUS_FILTERREPORTMIMETYPE,
|
---|
246 | BINDSTATUS_CLSIDCANINSTANTIATE,
|
---|
247 | BINDSTATUS_IUNKNOWNAVAILABLE,
|
---|
248 | BINDSTATUS_DIRECTBIND,
|
---|
249 | BINDSTATUS_RAWMIMETYPE,
|
---|
250 | BINDSTATUS_PROXYDETECTING,
|
---|
251 | BINDSTATUS_ACCEPTRANGES,
|
---|
252 | BINDSTATUS_COOKIE_SENT,
|
---|
253 | BINDSTATUS_COMPACT_POLICY_RECEIVED,
|
---|
254 | BINDSTATUS_COOKIE_SUPPRESSED,
|
---|
255 | BINDSTATUS_COOKIE_STATE_UNKNOWN,
|
---|
256 | BINDSTATUS_COOKIE_STATE_ACCEPT,
|
---|
257 | BINDSTATUS_COOKIE_STATE_REJECT,
|
---|
258 | BINDSTATUS_COOKIE_STATE_PROMPT,
|
---|
259 | BINDSTATUS_COOKIE_STATE_LEASH,
|
---|
260 | BINDSTATUS_COOKIE_STATE_DOWNGRADE,
|
---|
261 | BINDSTATUS_POLICY_HREF,
|
---|
262 | BINDSTATUS_P3P_HEADER,
|
---|
263 | BINDSTATUS_SESSION_COOKIE_RECEIVED,
|
---|
264 | BINDSTATUS_PERSISTENT_COOKIE_RECEIVED,
|
---|
265 | BINDSTATUS_SESSION_COOKIES_ALLOWED,
|
---|
266 | BINDSTATUS_CACHECONTROL,
|
---|
267 | BINDSTATUS_CONTENTDISPOSITIONFILENAME,
|
---|
268 | BINDSTATUS_MIMETEXTPLAINMISMATCH,
|
---|
269 | BINDSTATUS_PUBLISHERAVAILABLE,
|
---|
270 | BINDSTATUS_DISPLAYNAMEAVAILABLE
|
---|
271 | } BINDSTATUS;
|
---|
272 |
|
---|
273 |
|
---|
274 | HRESULT OnStartBinding(
|
---|
275 | [in] DWORD dwReserved,
|
---|
276 | [in] IBinding * pib);
|
---|
277 |
|
---|
278 | HRESULT GetPriority(
|
---|
279 | [out] LONG * pnPriority);
|
---|
280 |
|
---|
281 | HRESULT OnLowResource(
|
---|
282 | [in] DWORD reserved);
|
---|
283 |
|
---|
284 | HRESULT OnProgress(
|
---|
285 | [in] ULONG ulProgress,
|
---|
286 | [in] ULONG ulProgressMax,
|
---|
287 | [in] ULONG ulStatusCode,
|
---|
288 | [in] LPCWSTR szStatusText);
|
---|
289 |
|
---|
290 | HRESULT OnStopBinding(
|
---|
291 | [in] HRESULT hresult,
|
---|
292 | [in, unique] LPCWSTR szError);
|
---|
293 |
|
---|
294 | [local]
|
---|
295 | HRESULT GetBindInfo(
|
---|
296 | [out] DWORD *grfBINDF,
|
---|
297 | [in, out, unique] BINDINFO * pbindinfo);
|
---|
298 |
|
---|
299 | [call_as(GetBindInfo)]
|
---|
300 | HRESULT RemoteGetBindInfo(
|
---|
301 | [out] DWORD *grfBINDF,
|
---|
302 | [in, out, unique] RemBINDINFO * pbindinfo,
|
---|
303 | [in, out, unique] RemSTGMEDIUM* pstgmed);
|
---|
304 |
|
---|
305 | [local]
|
---|
306 | HRESULT OnDataAvailable(
|
---|
307 | [in] DWORD grfBSCF,
|
---|
308 | [in] DWORD dwSize,
|
---|
309 | [in] FORMATETC* pformatetc,
|
---|
310 | [in] STGMEDIUM* pstgmed);
|
---|
311 |
|
---|
312 | [call_as(OnDataAvailable)]
|
---|
313 | HRESULT RemoteOnDataAvailable(
|
---|
314 | [in] DWORD grfBSCF,
|
---|
315 | [in] DWORD dwSize,
|
---|
316 | [in] RemFORMATETC *pformatetc,
|
---|
317 | [in] RemSTGMEDIUM* pstgmed);
|
---|
318 |
|
---|
319 | HRESULT OnObjectAvailable(
|
---|
320 | [in] REFIID riid,
|
---|
321 | [in, iid_is(riid)] IUnknown* punk);
|
---|
322 | }
|
---|
323 |
|
---|
324 | /*****************************************************************************
|
---|
325 | * IBindStatusCallbackEx interface
|
---|
326 | */
|
---|
327 | [
|
---|
328 | object,
|
---|
329 | uuid(aaa74ef9-8ee7-4659-88d9-f8c504da73cc),
|
---|
330 | pointer_default(unique)
|
---|
331 | ]
|
---|
332 | interface IBindStatusCallbackEx : IBindStatusCallback
|
---|
333 | {
|
---|
334 | typedef [unique] IBindStatusCallbackEx *LPBINDSTATUSCALLBACKEX;
|
---|
335 |
|
---|
336 | typedef enum {
|
---|
337 | BINDF2_DISABLEBASICOVERHTTP = 0x00000001,
|
---|
338 | BINDF2_DISABLEAUTOCOOKIEHANDLING = 0x00000002,
|
---|
339 | BINDF2_READ_DATA_GREATER_THAN_4GB = 0x00000004,
|
---|
340 | BINDF2_DISABLE_HTTP_REDIRECT_XSECURITYID = 0x00000008,
|
---|
341 | BINDF2_RESERVED_3 = 0x20000000,
|
---|
342 | BINDF2_RESERVED_2 = 0x40000000,
|
---|
343 | BINDF2_RESERVED_1 = 0x80000000,
|
---|
344 | } BINDF2;
|
---|
345 |
|
---|
346 | [local]
|
---|
347 | HRESULT GetBindInfoEx(
|
---|
348 | [out] DWORD *grfBINDF,
|
---|
349 | [in, out, unique] BINDINFO *pbindinfo,
|
---|
350 | [out] DWORD *grfBINDF2,
|
---|
351 | [out] DWORD *pdwReserved);
|
---|
352 |
|
---|
353 | [call_as(GetBindInfoEx)]
|
---|
354 | HRESULT RemoteGetBindInfoEx(
|
---|
355 | [out] DWORD *grfBINDF,
|
---|
356 | [in, out, unique] RemBINDINFO *pbindinfo,
|
---|
357 | [in, out, unique] RemSTGMEDIUM *pstgmed,
|
---|
358 | [out] DWORD *grfBINDF2,
|
---|
359 | [out] DWORD *pdwReserved);
|
---|
360 | }
|
---|
361 |
|
---|
362 |
|
---|
363 | /*****************************************************************************
|
---|
364 | * IAuthenticate interface
|
---|
365 | */
|
---|
366 | [
|
---|
367 | object,
|
---|
368 | uuid(79EAC9D0-BAf9-11CE-8C82-00AA004BA90B),
|
---|
369 | pointer_default(unique)
|
---|
370 | ]
|
---|
371 | interface IAuthenticate : IUnknown
|
---|
372 | {
|
---|
373 | typedef [unique] IAuthenticate *LPAUTHENTICATION;
|
---|
374 |
|
---|
375 | HRESULT Authenticate(
|
---|
376 | [out] HWND* phwnd,
|
---|
377 | [out] LPWSTR *pszUsername,
|
---|
378 | [out] LPWSTR *pszPassword);
|
---|
379 | }
|
---|
380 |
|
---|
381 | /*****************************************************************************
|
---|
382 | * IHttpNegotiate interface
|
---|
383 | */
|
---|
384 | [
|
---|
385 | object,
|
---|
386 | uuid(79EAC9D2-BAF9-11CE-8C82-00AA004BA90B),
|
---|
387 | pointer_default(unique)
|
---|
388 | ]
|
---|
389 | interface IHttpNegotiate : IUnknown
|
---|
390 | {
|
---|
391 | typedef [unique] IHttpNegotiate *LPHTTPNEGOTIATE;
|
---|
392 |
|
---|
393 | HRESULT BeginningTransaction(
|
---|
394 | [in] LPCWSTR szURL,
|
---|
395 | [in, unique] LPCWSTR szHeaders,
|
---|
396 | [in] DWORD dwReserved,
|
---|
397 | [out] LPWSTR *pszAdditionalHeaders);
|
---|
398 |
|
---|
399 | HRESULT OnResponse(
|
---|
400 | [in] DWORD dwResponseCode,
|
---|
401 | [in, unique] LPCWSTR szResponseHeaders,
|
---|
402 | [in, unique] LPCWSTR szRequestHeaders,
|
---|
403 | [out] LPWSTR *pszAdditionalRequestHeaders);
|
---|
404 | }
|
---|
405 |
|
---|
406 | /*****************************************************************************
|
---|
407 | * IHttpNegotiate2 interface
|
---|
408 | */
|
---|
409 | [
|
---|
410 | object,
|
---|
411 | uuid(4F9F9FCB-E0F4-48eb-B7AB-FA2EA9365CB4),
|
---|
412 | pointer_default(unique)
|
---|
413 | ]
|
---|
414 | interface IHttpNegotiate2 : IHttpNegotiate
|
---|
415 | {
|
---|
416 | typedef [unique] IHttpNegotiate2 *LPHTTPNEGOTIATE2;
|
---|
417 |
|
---|
418 | HRESULT GetRootSecurityId(
|
---|
419 | [out, size_is(*pcbSecurityId)] BYTE *pbSecurityId,
|
---|
420 | [in, out] DWORD *pcbSecurityId,
|
---|
421 | [in] DWORD_PTR dwReserved);
|
---|
422 | }
|
---|
423 |
|
---|
424 | /*****************************************************************************
|
---|
425 | * IBindHost interface
|
---|
426 | */
|
---|
427 | cpp_quote("#define SID_IBindHost IID_IBindHost")
|
---|
428 | cpp_quote("#define SID_SBindHost IID_IBindHost")
|
---|
429 | [
|
---|
430 | object,
|
---|
431 | uuid(fc4801a1-2ba9-11cf-a229-00aa003d7352),
|
---|
432 | pointer_default(unique)
|
---|
433 | ]
|
---|
434 | interface IBindHost : IUnknown
|
---|
435 | {
|
---|
436 | typedef [unique] IBindHost *LPBINDHOST;
|
---|
437 |
|
---|
438 | HRESULT CreateMoniker(
|
---|
439 | [in] LPOLESTR szName,
|
---|
440 | [in] IBindCtx *pBC,
|
---|
441 | [out] IMoniker** ppmk,
|
---|
442 | [in] DWORD dwReserved);
|
---|
443 |
|
---|
444 | [local]
|
---|
445 | HRESULT MonikerBindToStorage(
|
---|
446 | [in] IMoniker *pMk,
|
---|
447 | [in] IBindCtx *pBC,
|
---|
448 | [in] IBindStatusCallback *pBSC,
|
---|
449 | [in] REFIID riid,
|
---|
450 | [out] void **ppvObj);
|
---|
451 |
|
---|
452 | [call_as(MonikerBindToStorage)]
|
---|
453 | HRESULT RemoteMonikerBindToStorage(
|
---|
454 | [in, unique] IMoniker *pMk,
|
---|
455 | [in, unique] IBindCtx *pBC,
|
---|
456 | [in, unique] IBindStatusCallback *pBSC,
|
---|
457 | [in] REFIID riid,
|
---|
458 | [out, iid_is(riid)] IUnknown **ppvObj);
|
---|
459 |
|
---|
460 | [local]
|
---|
461 | HRESULT MonikerBindToObject(
|
---|
462 | [in] IMoniker *pMk,
|
---|
463 | [in] IBindCtx *pBC,
|
---|
464 | [in] IBindStatusCallback *pBSC,
|
---|
465 | [in] REFIID riid,
|
---|
466 | [out] void **ppvObj);
|
---|
467 |
|
---|
468 | [call_as(MonikerBindToObject)]
|
---|
469 | HRESULT RemoteMonikerBindToObject(
|
---|
470 | [in, unique] IMoniker *pMk,
|
---|
471 | [in, unique] IBindCtx *pBC,
|
---|
472 | [in, unique] IBindStatusCallback *pBSC,
|
---|
473 | [in] REFIID riid,
|
---|
474 | [out, iid_is(riid)] IUnknown **ppvObj);
|
---|
475 | }
|
---|
476 |
|
---|
477 |
|
---|
478 | /*****************************************************************************
|
---|
479 | * IWinInetInfo interface
|
---|
480 | */
|
---|
481 | [
|
---|
482 | object,
|
---|
483 | uuid(79eac9d6-bafa-11ce-8c82-00aa004ba90b),
|
---|
484 | pointer_default(unique)
|
---|
485 | ]
|
---|
486 | interface IWinInetInfo : IUnknown
|
---|
487 | {
|
---|
488 | typedef [unique] IWinInetInfo *LPWININETINFO;
|
---|
489 |
|
---|
490 | [local]
|
---|
491 | HRESULT QueryOption(
|
---|
492 | [in] DWORD dwOption,
|
---|
493 | [in, out, size_is(*pcbBuf)] LPVOID pBuffer,
|
---|
494 | [in, out] DWORD *pcbBuf);
|
---|
495 |
|
---|
496 | [call_as(QueryOption)]
|
---|
497 | HRESULT RemoteQueryOption(
|
---|
498 | [in] DWORD dwOption,
|
---|
499 | [in, out, size_is(*pcbBuf)] BYTE *pBuffer,
|
---|
500 | [in, out] DWORD *pcbBuf);
|
---|
501 | }
|
---|
502 |
|
---|
503 |
|
---|
504 |
|
---|
505 | /*****************************************************************************
|
---|
506 | * IWinInetHttpInfo interface
|
---|
507 | */
|
---|
508 | [
|
---|
509 | object,
|
---|
510 | uuid(79eac9d8-bafa-11ce-8c82-00aa004ba90b),
|
---|
511 | pointer_default(unique)
|
---|
512 | ]
|
---|
513 | interface IWinInetHttpInfo : IWinInetInfo
|
---|
514 | {
|
---|
515 | typedef [unique] IWinInetHttpInfo *LPWININETHTTPINFO;
|
---|
516 |
|
---|
517 | [local]
|
---|
518 | HRESULT QueryInfo(
|
---|
519 | [in] DWORD dwOption,
|
---|
520 | [in, out,size_is(*pcbBuf)] LPVOID pBuffer,
|
---|
521 | [in, out] DWORD *pcbBuf,
|
---|
522 | [in, out] DWORD *pdwFlags,
|
---|
523 | [in, out] DWORD *pdwReserved);
|
---|
524 |
|
---|
525 | [call_as(QueryInfo)]
|
---|
526 | HRESULT RemoteQueryInfo(
|
---|
527 | [in] DWORD dwOption,
|
---|
528 | [in,out,size_is(*pcbBuf)] BYTE *pBuffer,
|
---|
529 | [in, out] DWORD *pcbBuf,
|
---|
530 | [in, out] DWORD *pdwFlags,
|
---|
531 | [in, out] DWORD *pdwReserved);
|
---|
532 | }
|
---|
533 |
|
---|
534 | /*****************************************************************************
|
---|
535 | * IWindowForBindingUI interface
|
---|
536 | */
|
---|
537 | [
|
---|
538 | local,
|
---|
539 | object,
|
---|
540 | uuid(79eac9d5-bafa-11ce-8c82-00aa004ba90b),
|
---|
541 | pointer_default(unique)
|
---|
542 | ]
|
---|
543 | interface IWindowForBindingUI : IUnknown
|
---|
544 | {
|
---|
545 | typedef [unique] IWindowForBindingUI *LPWINDOWFORBINDINGUI;
|
---|
546 |
|
---|
547 | HRESULT GetWindow(
|
---|
548 | [in] REFGUID rguidReason,
|
---|
549 | [out] HWND *phwnd);
|
---|
550 | }
|
---|
551 |
|
---|
552 | /*****************************************************************************
|
---|
553 | * ICodeInstall interface
|
---|
554 | */
|
---|
555 | [
|
---|
556 | local,
|
---|
557 | object,
|
---|
558 | uuid(79eac9d1-baf9-11ce-8c82-00aa004ba90b),
|
---|
559 | pointer_default(unique)
|
---|
560 | ]
|
---|
561 | interface ICodeInstall : IWindowForBindingUI
|
---|
562 | {
|
---|
563 | typedef [unique] ICodeInstall *LPCODEINSTALL;
|
---|
564 |
|
---|
565 | typedef enum {
|
---|
566 | CIP_DISK_FULL,
|
---|
567 | CIP_ACCESS_DENIED,
|
---|
568 | CIP_NEWER_VERSION_EXISTS,
|
---|
569 | CIP_OLDER_VERSION_EXISTS,
|
---|
570 | CIP_NAME_CONFLICT,
|
---|
571 | CIP_TRUST_VERIFICATION_COMPONENT_MISSING,
|
---|
572 | CIP_EXE_SELF_REGISTERATION_TIMEOUT,
|
---|
573 | CIP_UNSAFE_TO_ABORT,
|
---|
574 | CIP_NEED_REBOOT,
|
---|
575 | CIP_NEED_REBOOT_UI_PERMISSION
|
---|
576 | } CIP_STATUS;
|
---|
577 |
|
---|
578 | HRESULT OnCodeInstallProblem(
|
---|
579 | [in] ULONG ulStatusCode,
|
---|
580 | [in, unique] LPCWSTR szDestination,
|
---|
581 | [in, unique] LPCWSTR szSource,
|
---|
582 | [in] DWORD dwReserved);
|
---|
583 | }
|
---|
584 |
|
---|
585 | /*****************************************************************************
|
---|
586 | * IHttpSecurity interface
|
---|
587 | */
|
---|
588 | [
|
---|
589 | object,
|
---|
590 | uuid(79eac9d7-bafa-11ce-8c82-00aa004ba90b),
|
---|
591 | pointer_default(unique)
|
---|
592 | ]
|
---|
593 | interface IHttpSecurity : IWindowForBindingUI
|
---|
594 | {
|
---|
595 | typedef [unique] IHttpSecurity *LPHTTPSECURITY;
|
---|
596 |
|
---|
597 | HRESULT OnSecurityProblem(
|
---|
598 | [in] DWORD dwProblem);
|
---|
599 | }
|
---|
600 |
|
---|
601 |
|
---|
602 | /*****************************************************************************
|
---|
603 | * IPersistMoniker interface
|
---|
604 | */
|
---|
605 | [
|
---|
606 | object,
|
---|
607 | uuid(79eac9c9-baf9-11ce-8c82-00aa004ba90b),
|
---|
608 | pointer_default(unique)
|
---|
609 | ]
|
---|
610 | interface IPersistMoniker : IUnknown
|
---|
611 | {
|
---|
612 | typedef [unique] IPersistMoniker *LPPERSISTMONIKER;
|
---|
613 |
|
---|
614 | HRESULT GetClassID(
|
---|
615 | [out] CLSID *pClassID);
|
---|
616 |
|
---|
617 | HRESULT IsDirty();
|
---|
618 |
|
---|
619 | HRESULT Load(
|
---|
620 | [in] BOOL fFullyAvailable,
|
---|
621 | [in] IMoniker *pimkName,
|
---|
622 | [in] LPBC pibc,
|
---|
623 | [in] DWORD grfMode);
|
---|
624 |
|
---|
625 | HRESULT Save(
|
---|
626 | [in] IMoniker *pimkName,
|
---|
627 | [in] LPBC pbc,
|
---|
628 | [in] BOOL fRemember);
|
---|
629 |
|
---|
630 | HRESULT SaveCompleted(
|
---|
631 | [in] IMoniker *pimkName,
|
---|
632 | [in] LPBC pibc);
|
---|
633 |
|
---|
634 | HRESULT GetCurMoniker(
|
---|
635 | [out] IMoniker **ppimkName);
|
---|
636 | }
|
---|
637 |
|
---|
638 | /*****************************************************************************
|
---|
639 | * IMonikerProp interface
|
---|
640 | */
|
---|
641 | [
|
---|
642 | object,
|
---|
643 | uuid(A5CA5F7F-1847-4D87-9C5B-918509F7511D),
|
---|
644 | pointer_default(unique)
|
---|
645 | ]
|
---|
646 | interface IMonikerProp : IUnknown
|
---|
647 | {
|
---|
648 | typedef [unique] IMonikerProp *LPMONIKERPROP;
|
---|
649 |
|
---|
650 | typedef enum {
|
---|
651 | MIMETYPEPROP = 0,
|
---|
652 | USE_SRC_URL = 1,
|
---|
653 | CLASSIDPROP = 2,
|
---|
654 | TRUSTEDDOWNLOADPROP = 3,
|
---|
655 | POPUPLEVELPROP = 4
|
---|
656 | } MONIKERPROPERTY;
|
---|
657 |
|
---|
658 | HRESULT PutProperty(
|
---|
659 | [in] MONIKERPROPERTY mkp,
|
---|
660 | [in] LPCWSTR val);
|
---|
661 | }
|
---|
662 |
|
---|
663 | cpp_quote("#ifndef _LPBINDPROTOCOL_DEFINED")
|
---|
664 | cpp_quote("#define _LPBINDPROTOCOL_DEFINED")
|
---|
665 |
|
---|
666 | /*****************************************************************************
|
---|
667 | * IBindProtocol interface
|
---|
668 | */
|
---|
669 | [
|
---|
670 | local,
|
---|
671 | object,
|
---|
672 | uuid(79EAC9CD-BAF9-11CE-8C82-00AA004BA90B),
|
---|
673 | pointer_default(unique)
|
---|
674 | ]
|
---|
675 | interface IBindProtocol : IUnknown
|
---|
676 | {
|
---|
677 | typedef [unique] IBindProtocol *LPBINDPROTOCOL;
|
---|
678 |
|
---|
679 | HRESULT CreateBinding(
|
---|
680 | [in] LPCWSTR szUrl,
|
---|
681 | [in] IBindCtx *pbc,
|
---|
682 | [out] IBinding **ppb);
|
---|
683 | }
|
---|
684 |
|
---|
685 | cpp_quote("#endif /* !defined _LPBINDPROTOCOL_DEFINED */")
|
---|
686 |
|
---|
687 | /*****************************************************************************
|
---|
688 | * IInternetBindInfo interface
|
---|
689 | */
|
---|
690 | [
|
---|
691 | local,
|
---|
692 | object,
|
---|
693 | uuid(79EAC9E1-BAF9-11CE-8C82-00AA004BA90B),
|
---|
694 | pointer_default(unique)
|
---|
695 | ]
|
---|
696 | interface IInternetBindInfo : IUnknown
|
---|
697 | {
|
---|
698 | typedef [unique] IInternetBindInfo *LPIINTERNETBINDINFO;
|
---|
699 |
|
---|
700 | typedef enum tagBINDSTRING
|
---|
701 | {
|
---|
702 | BINDSTRING_HEADERS = 1,
|
---|
703 | BINDSTRING_ACCEPT_MIMES,
|
---|
704 | BINDSTRING_EXTRA_URL,
|
---|
705 | BINDSTRING_LANGUAGE,
|
---|
706 | BINDSTRING_USERNAME,
|
---|
707 | BINDSTRING_PASSWORD,
|
---|
708 | BINDSTRING_UA_PIXELS,
|
---|
709 | BINDSTRING_UA_COLOR,
|
---|
710 | BINDSTRING_OS,
|
---|
711 | BINDSTRING_USER_AGENT,
|
---|
712 | BINDSTRING_ACCEPT_ENCODINGS,
|
---|
713 | BINDSTRING_POST_COOKIE,
|
---|
714 | BINDSTRING_POST_DATA_MIME,
|
---|
715 | BINDSTRING_URL,
|
---|
716 | BINDSTRING_IID,
|
---|
717 | BINDSTRING_FLAG_BIND_TO_OBJECT,
|
---|
718 | BINDSTRING_PTR_BIND_CONTEXT
|
---|
719 | } BINDSTRING;
|
---|
720 |
|
---|
721 | HRESULT GetBindInfo(
|
---|
722 | [out] DWORD *grfBINDF,
|
---|
723 | [in, out, unique] BINDINFO *pbindinfo);
|
---|
724 |
|
---|
725 | HRESULT GetBindString(
|
---|
726 | [in] ULONG ulStringType,
|
---|
727 | [in, out] LPOLESTR *ppwzStr,
|
---|
728 | [in] ULONG cEl,
|
---|
729 | [in, out] ULONG *pcElFetched);
|
---|
730 | }
|
---|
731 |
|
---|
732 | /*****************************************************************************
|
---|
733 | * IInternetPriority interface
|
---|
734 | */
|
---|
735 | [
|
---|
736 | local,
|
---|
737 | object,
|
---|
738 | uuid(79EAC9EB-BAF9-11CE-8C82-00AA004BA90B),
|
---|
739 | pointer_default(unique)
|
---|
740 | ]
|
---|
741 | interface IInternetPriority : IUnknown
|
---|
742 | {
|
---|
743 | typedef [unique] IInternetPriority *LPIINTERNETPRIORITY;
|
---|
744 |
|
---|
745 | HRESULT SetPriority([in] LONG nPriority);
|
---|
746 | HRESULT GetPriority([out] LONG *pnPriority);
|
---|
747 | }
|
---|
748 |
|
---|
749 | /*****************************************************************************
|
---|
750 | * IInternetProtocolRoot interface
|
---|
751 | */
|
---|
752 | [
|
---|
753 | local,
|
---|
754 | object,
|
---|
755 | uuid(79EAC9E3-BAF9-11CE-8C82-00AA004BA90B),
|
---|
756 | pointer_default(unique)
|
---|
757 | ]
|
---|
758 | interface IInternetProtocolRoot : IUnknown
|
---|
759 | {
|
---|
760 | typedef [unique] IInternetProtocolRoot *LPIINTERNETPROTOCOLROOT;
|
---|
761 |
|
---|
762 | typedef enum _tagPI_FLAGS
|
---|
763 | {
|
---|
764 | PI_PARSE_URL = 0x00000001,
|
---|
765 | PI_FILTER_MODE = 0x00000002,
|
---|
766 | PI_FORCE_ASYNC = 0x00000004,
|
---|
767 | PI_USE_WORKERTHREAD = 0x00000008,
|
---|
768 | PI_MIMEVERIFICATION = 0x00000010,
|
---|
769 | PI_CLSIDLOOKUP = 0x00000020,
|
---|
770 | PI_DATAPROGRESS = 0x00000040,
|
---|
771 | PI_SYNCHRONOUS = 0x00000080,
|
---|
772 | PI_APARTMENTTHREADED = 0x00000100,
|
---|
773 | PI_CLASSINSTALL = 0x00000200,
|
---|
774 | PD_FORCE_SWITCH = 0x00010000
|
---|
775 | } PI_FLAGS;
|
---|
776 |
|
---|
777 | typedef struct _tagPROTOCOLDATA
|
---|
778 | {
|
---|
779 | DWORD grfFlags;
|
---|
780 | DWORD dwState;
|
---|
781 | LPVOID pData;
|
---|
782 | ULONG cbData;
|
---|
783 | } PROTOCOLDATA;
|
---|
784 |
|
---|
785 | HRESULT Start(
|
---|
786 | [in] LPCWSTR szUrl,
|
---|
787 | [in] IInternetProtocolSink *pOIProtSink,
|
---|
788 | [in] IInternetBindInfo *pOIBindInfo,
|
---|
789 | [in] DWORD grfPI,
|
---|
790 | [in] HANDLE_PTR dwReserved);
|
---|
791 |
|
---|
792 | HRESULT Continue(
|
---|
793 | [in] PROTOCOLDATA *pProtocolData);
|
---|
794 |
|
---|
795 | HRESULT Abort(
|
---|
796 | [in] HRESULT hrReason,
|
---|
797 | [in] DWORD dwOptions);
|
---|
798 |
|
---|
799 | HRESULT Terminate(
|
---|
800 | [in] DWORD dwOptions);
|
---|
801 |
|
---|
802 | HRESULT Suspend();
|
---|
803 |
|
---|
804 | HRESULT Resume();
|
---|
805 | }
|
---|
806 |
|
---|
807 | /*****************************************************************************
|
---|
808 | * IInternetProtocolSink interface
|
---|
809 | */
|
---|
810 | [
|
---|
811 | local,
|
---|
812 | object,
|
---|
813 | uuid(79EAC9E5-BAF9-11CE-8C82-00AA004BA90B),
|
---|
814 | pointer_default(unique)
|
---|
815 | ]
|
---|
816 | interface IInternetProtocolSink : IUnknown
|
---|
817 | {
|
---|
818 | typedef [unique] IInternetProtocolSink *LPIINTERNETPROTOCOLSINK;
|
---|
819 |
|
---|
820 | HRESULT Switch(
|
---|
821 | [in] PROTOCOLDATA *pProtocolData);
|
---|
822 |
|
---|
823 | HRESULT ReportProgress(
|
---|
824 | [in] ULONG ulStatusCode,
|
---|
825 | [in] LPCWSTR szStatusText);
|
---|
826 |
|
---|
827 | HRESULT ReportData(
|
---|
828 | [in] DWORD grfBSCF,
|
---|
829 | [in] ULONG ulProgress,
|
---|
830 | [in] ULONG ulProgressMax);
|
---|
831 |
|
---|
832 | HRESULT ReportResult(
|
---|
833 | [in] HRESULT hrResult,
|
---|
834 | [in] DWORD dwError,
|
---|
835 | [in] LPCWSTR szResult);
|
---|
836 | }
|
---|
837 |
|
---|
838 | /*****************************************************************************
|
---|
839 | * IInternetProtocol interface
|
---|
840 | */
|
---|
841 | [
|
---|
842 | local,
|
---|
843 | object,
|
---|
844 | uuid(79EAC9E4-BAF9-11CE-8C82-00AA004BA90B),
|
---|
845 | pointer_default(unique)
|
---|
846 | ]
|
---|
847 | interface IInternetProtocol : IInternetProtocolRoot
|
---|
848 | {
|
---|
849 | typedef [unique] IInternetProtocol *LPIINTERNETPROTOCOL;
|
---|
850 |
|
---|
851 | HRESULT Read(
|
---|
852 | [in,out, size_is(cb), length_is(*pcbRead)] void *pv,
|
---|
853 | [in] ULONG cb,
|
---|
854 | [out] ULONG *pcbRead);
|
---|
855 |
|
---|
856 | HRESULT Seek(
|
---|
857 | [in] LARGE_INTEGER dlibMove,
|
---|
858 | [in] DWORD dwOrigin,
|
---|
859 | [out] ULARGE_INTEGER *plibNewPosition);
|
---|
860 |
|
---|
861 | HRESULT LockRequest(
|
---|
862 | [in] DWORD dwOptions);
|
---|
863 |
|
---|
864 | HRESULT UnlockRequest();
|
---|
865 | }
|
---|
866 |
|
---|
867 | /*****************************************************************************
|
---|
868 | * IInternetProtocolInfo interface
|
---|
869 | */
|
---|
870 | [
|
---|
871 | local,
|
---|
872 | object,
|
---|
873 | uuid(79eac9ec-baf9-11ce-8c82-00aa004ba90b),
|
---|
874 | pointer_default(unique)
|
---|
875 | ]
|
---|
876 | interface IInternetProtocolInfo : IUnknown
|
---|
877 | {
|
---|
878 | typedef [unique] IInternetProtocolInfo *LPIINTERNETPROTOCOLINFO;
|
---|
879 |
|
---|
880 | typedef enum _tagPARSEACTION
|
---|
881 | {
|
---|
882 | PARSE_CANONICALIZE = 1,
|
---|
883 | PARSE_FRIENDLY,
|
---|
884 | PARSE_SECURITY_URL,
|
---|
885 | PARSE_ROOTDOCUMENT,
|
---|
886 | PARSE_DOCUMENT,
|
---|
887 | PARSE_ANCHOR,
|
---|
888 | PARSE_ENCODE,
|
---|
889 | PARSE_DECODE,
|
---|
890 | PARSE_PATH_FROM_URL,
|
---|
891 | PARSE_URL_FROM_PATH,
|
---|
892 | PARSE_MIME,
|
---|
893 | PARSE_SERVER,
|
---|
894 | PARSE_SCHEMA,
|
---|
895 | PARSE_SITE,
|
---|
896 | PARSE_DOMAIN,
|
---|
897 | PARSE_LOCATION,
|
---|
898 | PARSE_SECURITY_DOMAIN,
|
---|
899 | PARSE_ESCAPE,
|
---|
900 | PARSE_UNESCAPE
|
---|
901 | } PARSEACTION;
|
---|
902 |
|
---|
903 | typedef enum _tagPSUACTION
|
---|
904 | {
|
---|
905 | PSU_DEFAULT = 1,
|
---|
906 | PSU_SECURITY_URL_ONLY
|
---|
907 | } PSUACTION;
|
---|
908 |
|
---|
909 | typedef enum _tagQUERYOPTION
|
---|
910 | {
|
---|
911 | QUERY_EXPIRATION_DATE = 1,
|
---|
912 | QUERY_TIME_OF_LAST_CHANGE,
|
---|
913 | QUERY_CONTENT_ENCODING,
|
---|
914 | QUERY_CONTENT_TYPE,
|
---|
915 | QUERY_REFRESH,
|
---|
916 | QUERY_RECOMBINE,
|
---|
917 | QUERY_CAN_NAVIGATE,
|
---|
918 | QUERY_USES_NETWORK,
|
---|
919 | QUERY_IS_CACHED,
|
---|
920 | QUERY_IS_INSTALLEDENTRY,
|
---|
921 | QUERY_IS_CACHED_OR_MAPPED,
|
---|
922 | QUERY_USES_CACHE,
|
---|
923 | QUERY_IS_SECURE,
|
---|
924 | QUERY_IS_SAFE,
|
---|
925 | QUERY_USES_HISTORYFOLDER,
|
---|
926 | QUERY_IS_CACHED_AND_USABLE_OFFLINE
|
---|
927 | } QUERYOPTION;
|
---|
928 |
|
---|
929 | HRESULT ParseUrl(
|
---|
930 | [in] LPCWSTR pwzUrl,
|
---|
931 | [in] PARSEACTION ParseAction,
|
---|
932 | [in] DWORD dwParseFlags,
|
---|
933 | [out] LPWSTR pwzResult,
|
---|
934 | [in] DWORD cchResult,
|
---|
935 | [out] DWORD *pcchResult,
|
---|
936 | [in] DWORD dwReserved);
|
---|
937 |
|
---|
938 | HRESULT CombineUrl(
|
---|
939 | [in] LPCWSTR pwzBaseUrl,
|
---|
940 | [in] LPCWSTR pwzRelativeUrl,
|
---|
941 | [in] DWORD dwCombineFlags,
|
---|
942 | [out] LPWSTR pwzResult,
|
---|
943 | [in] DWORD cchResult,
|
---|
944 | [out] DWORD *pcchResult,
|
---|
945 | [in] DWORD dwReserved);
|
---|
946 |
|
---|
947 | HRESULT CompareUrl(
|
---|
948 | [in] LPCWSTR pwzUrl1,
|
---|
949 | [in] LPCWSTR pwzUrl2,
|
---|
950 | [in] DWORD dwCompareFlags);
|
---|
951 |
|
---|
952 | HRESULT QueryInfo(
|
---|
953 | [in] LPCWSTR pwzUrl,
|
---|
954 | [in] QUERYOPTION OueryOption,
|
---|
955 | [in] DWORD dwQueryFlags,
|
---|
956 | [in, out,size_is(*pcbBuf)] LPVOID pBuffer,
|
---|
957 | [in] DWORD cbBuffer,
|
---|
958 | [in, out] DWORD *pcbBuf,
|
---|
959 | [in] DWORD dwReserved);
|
---|
960 | }
|
---|
961 |
|
---|
962 | /*****************************************************************************
|
---|
963 | * IInternetSession interface
|
---|
964 | */
|
---|
965 | [
|
---|
966 | local,
|
---|
967 | object,
|
---|
968 | uuid(79eac9e7-baf9-11ce-8c82-00aa004ba90b),
|
---|
969 | pointer_default(unique)
|
---|
970 | ]
|
---|
971 | interface IInternetSession : IUnknown
|
---|
972 | {
|
---|
973 | typedef [unique] IInternetSession *LPIINTERNETSESSION;
|
---|
974 |
|
---|
975 | typedef enum _tagOIBDG_FLAGS
|
---|
976 | {
|
---|
977 | OIBDG_APARTMENTTHREADED = 0x0100,
|
---|
978 | OIBDG_DATAONLY = 0x1000
|
---|
979 | } OIBDG_FLAGS;
|
---|
980 |
|
---|
981 | HRESULT RegisterNameSpace(
|
---|
982 | [in] IClassFactory *pCF,
|
---|
983 | [in] REFCLSID rclsid,
|
---|
984 | [in] LPCWSTR pwzProtocol,
|
---|
985 | [in] ULONG cPatterns,
|
---|
986 | [in] const LPCWSTR *ppwzPatterns,
|
---|
987 | [in] DWORD dwReserved);
|
---|
988 |
|
---|
989 | HRESULT UnregisterNameSpace(
|
---|
990 | [in] IClassFactory *pCF,
|
---|
991 | [in] LPCWSTR pszProtocol);
|
---|
992 |
|
---|
993 | HRESULT RegisterMimeFilter(
|
---|
994 | [in] IClassFactory *pCF,
|
---|
995 | [in] REFCLSID rclsid,
|
---|
996 | [in] LPCWSTR pwzType);
|
---|
997 |
|
---|
998 | HRESULT UnregisterMimeFilter(
|
---|
999 | [in] IClassFactory *pCF,
|
---|
1000 | [in] LPCWSTR pwzType);
|
---|
1001 |
|
---|
1002 | HRESULT CreateBinding(
|
---|
1003 | [in] LPBC pBC,
|
---|
1004 | [in] LPCWSTR szUrl,
|
---|
1005 | [in] IUnknown *pUnkOuter,
|
---|
1006 | [out, unique] IUnknown **ppUnk,
|
---|
1007 | [out, unique] IInternetProtocol **ppOInetProt,
|
---|
1008 | [in] DWORD dwOption);
|
---|
1009 |
|
---|
1010 | HRESULT SetSessionOption(
|
---|
1011 | [in] DWORD dwOption,
|
---|
1012 | [in] LPVOID pBuffer,
|
---|
1013 | [in] DWORD dwBufferLength,
|
---|
1014 | [in] DWORD dwReserved);
|
---|
1015 | }
|
---|
1016 |
|
---|
1017 | /*****************************************************************************
|
---|
1018 | * IInternetSecurityMgrSite interface
|
---|
1019 | */
|
---|
1020 | [
|
---|
1021 | local,
|
---|
1022 | object,
|
---|
1023 | uuid(79eac9ed-baf9-11ce-8c82-00aa004ba90b),
|
---|
1024 | pointer_default(unique)
|
---|
1025 | ]
|
---|
1026 | interface IInternetSecurityMgrSite : IUnknown
|
---|
1027 | {
|
---|
1028 | HRESULT GetWindow(
|
---|
1029 | [out] HWND *phwnd);
|
---|
1030 |
|
---|
1031 | HRESULT EnableModeless(
|
---|
1032 | [in] BOOL fEnable);
|
---|
1033 | }
|
---|
1034 |
|
---|
1035 |
|
---|
1036 | /*****************************************************************************
|
---|
1037 | * IInternetSecurityManager interface
|
---|
1038 | */
|
---|
1039 | cpp_quote("#define SID_SInternetSecurityManager IID_IInternetSecurityManager")
|
---|
1040 |
|
---|
1041 | [
|
---|
1042 | object,
|
---|
1043 | uuid(79eac9ee-baf9-11ce-8c82-00aa004ba90b),
|
---|
1044 | pointer_default(unique)
|
---|
1045 | ]
|
---|
1046 | interface IInternetSecurityManager : IUnknown
|
---|
1047 | {
|
---|
1048 | HRESULT SetSecuritySite(
|
---|
1049 | [in, unique] IInternetSecurityMgrSite *pSite);
|
---|
1050 |
|
---|
1051 | HRESULT GetSecuritySite(
|
---|
1052 | [out] IInternetSecurityMgrSite **ppSite);
|
---|
1053 |
|
---|
1054 | HRESULT MapUrlToZone(
|
---|
1055 | [in] LPCWSTR pwszUrl,
|
---|
1056 | [out] DWORD *pdwZone,
|
---|
1057 | [in] DWORD dwFlags);
|
---|
1058 |
|
---|
1059 | cpp_quote("#define MAX_SIZE_SECURITY_ID 512")
|
---|
1060 |
|
---|
1061 | HRESULT GetSecurityId(
|
---|
1062 | [in] LPCWSTR pwszUrl,
|
---|
1063 | [out, size_is(*pcbSecurityId)] BYTE *pbSecurityId,
|
---|
1064 | [in, out] DWORD *pcbSecurityId,
|
---|
1065 | [in] DWORD_PTR dwReserved);
|
---|
1066 |
|
---|
1067 |
|
---|
1068 | typedef enum {
|
---|
1069 | PUAF_DEFAULT = 0x00,
|
---|
1070 | PUAF_NOUI = 0x01,
|
---|
1071 | PUAF_ISFILE = 0x02,
|
---|
1072 | PUAF_WARN_IF_DENIED = 0x04,
|
---|
1073 | PUAF_FORCEUI_FOREGROUND = 0x08,
|
---|
1074 | PUAF_CHECK_TIPS = 0x10
|
---|
1075 | } PUAF;
|
---|
1076 |
|
---|
1077 | HRESULT ProcessUrlAction(
|
---|
1078 | [in] LPCWSTR pwszUrl,
|
---|
1079 | [in] DWORD dwAction,
|
---|
1080 | [out, size_is(cbPolicy)] BYTE *pPolicy,
|
---|
1081 | [in] DWORD cbPolicy,
|
---|
1082 | [in] BYTE *pContext,
|
---|
1083 | [in] DWORD cbContext,
|
---|
1084 | [in] DWORD dwFlags,
|
---|
1085 | [in] DWORD dwReserved);
|
---|
1086 |
|
---|
1087 | HRESULT QueryCustomPolicy(
|
---|
1088 | [in] LPCWSTR pwszUrl,
|
---|
1089 | [in] REFGUID guidKey,
|
---|
1090 | [out, size_is(,*pcbPolicy)] BYTE **ppPolicy,
|
---|
1091 | [out] DWORD *pcbPolicy,
|
---|
1092 | [in] BYTE *pContext,
|
---|
1093 | [in] DWORD cbContext,
|
---|
1094 | [in] DWORD dwReserved);
|
---|
1095 |
|
---|
1096 | typedef enum {
|
---|
1097 | SZM_CREATE = 0x0,
|
---|
1098 | SZM_DELETE = 0x1
|
---|
1099 | } SZM_FLAGS;
|
---|
1100 |
|
---|
1101 | HRESULT SetZoneMapping(
|
---|
1102 | [in] DWORD dwZone,
|
---|
1103 | [in] LPCWSTR lpszPattern,
|
---|
1104 | [in] DWORD dwFlags);
|
---|
1105 |
|
---|
1106 | HRESULT GetZoneMappings(
|
---|
1107 | [in] DWORD dwZone,
|
---|
1108 | [out] IEnumString **ppenumString,
|
---|
1109 | [in] DWORD dwFlags);
|
---|
1110 | }
|
---|
1111 |
|
---|
1112 | /*****************************************************************************
|
---|
1113 | * IInternetSecurityManagerEx interface
|
---|
1114 | */
|
---|
1115 | cpp_quote("#define SID_SInternetSecurityManagerEx IID_IInternetSecurityManagerEx")
|
---|
1116 |
|
---|
1117 | [
|
---|
1118 | object,
|
---|
1119 | uuid(f164edf1-cc7c-4f0d-9a94-34222625C393),
|
---|
1120 | pointer_default(unique)
|
---|
1121 | ]
|
---|
1122 | interface IInternetSecurityManagerEx : IInternetSecurityManager
|
---|
1123 | {
|
---|
1124 | HRESULT ProcessUrlActionEx(
|
---|
1125 | [in] LPCWSTR pwszUrl,
|
---|
1126 | [in] DWORD dwAction,
|
---|
1127 | [out] BYTE *pPolicy,
|
---|
1128 | [in] DWORD cbPolicy,
|
---|
1129 | [in] BYTE *pContext,
|
---|
1130 | [in] DWORD cbContext,
|
---|
1131 | [in] DWORD dwFlags,
|
---|
1132 | [in] DWORD dwReserved,
|
---|
1133 | [out] DWORD *pdwOutFlags);
|
---|
1134 | }
|
---|
1135 |
|
---|
1136 | /*****************************************************************************
|
---|
1137 | * IInternetSecurityManagerEx2 interface
|
---|
1138 | */
|
---|
1139 | cpp_quote("#define SID_SInternetSecurityManagerEx2 IID_IInternetSecurityManagerEx2")
|
---|
1140 |
|
---|
1141 | [
|
---|
1142 | object,
|
---|
1143 | uuid(f1e50292-a795-4117-8e09-2b560a72ac60),
|
---|
1144 | pointer_default(unique)
|
---|
1145 | ]
|
---|
1146 | interface IInternetSecurityManagerEx2 : IInternetSecurityManagerEx
|
---|
1147 | {
|
---|
1148 | HRESULT MapUrlToZoneEx2(
|
---|
1149 | [in] IUri *pUri,
|
---|
1150 | [out] DWORD *pdwZone,
|
---|
1151 | [in] DWORD dwFlags,
|
---|
1152 | [out] LPWSTR *ppwszMappedUrl,
|
---|
1153 | [out] DWORD *pdwOutFlags);
|
---|
1154 |
|
---|
1155 | HRESULT ProcessUrlActionEx2(
|
---|
1156 | [in] IUri *pUri,
|
---|
1157 | [in] DWORD dwAction,
|
---|
1158 | [out] BYTE *pPolicy,
|
---|
1159 | [in] DWORD cbPolicy,
|
---|
1160 | [in] BYTE *pContext,
|
---|
1161 | [in] DWORD cbContext,
|
---|
1162 | [in] DWORD dwFlags,
|
---|
1163 | [in] DWORD_PTR dwReserved,
|
---|
1164 | [out] DWORD *pdwOutFlags);
|
---|
1165 |
|
---|
1166 | HRESULT GetSecurityIdEx2(
|
---|
1167 | [in] IUri *pUri,
|
---|
1168 | [out] BYTE *pbSecurityId,
|
---|
1169 | [in, out] DWORD *pcbSecurityId,
|
---|
1170 | [in] DWORD_PTR dwReserved);
|
---|
1171 |
|
---|
1172 | HRESULT QueryCustomPolicyEx2(
|
---|
1173 | [in] IUri *pUri,
|
---|
1174 | [in] REFGUID guidKey,
|
---|
1175 | [out] BYTE **ppPolicy,
|
---|
1176 | [out] DWORD *pcbPolicy,
|
---|
1177 | [in] BYTE *pContext,
|
---|
1178 | [in] DWORD cbContext,
|
---|
1179 | [in] DWORD_PTR dwReserved);
|
---|
1180 | }
|
---|
1181 |
|
---|
1182 | /*****************************************************************************
|
---|
1183 | * IInternetHostSecurityManager interface
|
---|
1184 | */
|
---|
1185 | cpp_quote("#define SID_SInternetHostSecurityManager IID_IInternetHostSecurityManager")
|
---|
1186 |
|
---|
1187 | [
|
---|
1188 | local,
|
---|
1189 | object,
|
---|
1190 | uuid(3af280b6-cb3f-11d0-891e-00c04fb6bfc4),
|
---|
1191 | pointer_default(unique)
|
---|
1192 | ]
|
---|
1193 | interface IInternetHostSecurityManager : IUnknown
|
---|
1194 | {
|
---|
1195 | HRESULT GetSecurityId(
|
---|
1196 | [out, size_is(*pcbSecurityId)] BYTE *pbSecurityId,
|
---|
1197 | [in, out] DWORD *pcbSecurityId,
|
---|
1198 | [in] DWORD_PTR dwReserved);
|
---|
1199 |
|
---|
1200 | HRESULT ProcessUrlAction(
|
---|
1201 | [in] DWORD dwAction,
|
---|
1202 | [out, size_is(cbPolicy)] BYTE *pPolicy,
|
---|
1203 | [in] DWORD cbPolicy,
|
---|
1204 | [in] BYTE *pContext,
|
---|
1205 | [in] DWORD cbContext,
|
---|
1206 | [in] DWORD dwFlags,
|
---|
1207 | [in] DWORD dwReserved);
|
---|
1208 |
|
---|
1209 | HRESULT QueryCustomPolicy(
|
---|
1210 | [in] REFGUID guidKey,
|
---|
1211 | [out, size_is(,*pcbPolicy)] BYTE **ppPolicy,
|
---|
1212 | [out] DWORD *pcbPolicy,
|
---|
1213 | [in] BYTE *pContext,
|
---|
1214 | [in] DWORD cbContext,
|
---|
1215 | [in] DWORD dwReserved);
|
---|
1216 | }
|
---|
1217 |
|
---|
1218 | cpp_quote("#define URLACTION_MIN 0x00001000")
|
---|
1219 | cpp_quote("#define URLACTION_DOWNLOAD_MIN 0x00001000")
|
---|
1220 | cpp_quote("#define URLACTION_DOWNLOAD_SIGNED_ACTIVEX 0x00001001")
|
---|
1221 | cpp_quote("#define URLACTION_DOWNLOAD_UNSIGNED_ACTIVEX 0x00001004")
|
---|
1222 | cpp_quote("#define URLACTION_DOWNLOAD_CURR_MAX 0x00001004")
|
---|
1223 | cpp_quote("#define URLACTION_DOWNLOAD_MAX 0x000011ff")
|
---|
1224 |
|
---|
1225 | cpp_quote("#define URLACTION_ACTIVEX_MIN 0x00001200")
|
---|
1226 | cpp_quote("#define URLACTION_ACTIVEX_RUN 0x00001200")
|
---|
1227 | cpp_quote("#define URLPOLICY_ACTIVEX_CHECK_LIST 0x00010000")
|
---|
1228 | cpp_quote("#define URLACTION_ACTIVEX_OVERRIDE_OBJECT_SAFETY 0x00001201")
|
---|
1229 | cpp_quote("#define URLACTION_ACTIVEX_OVERRIDE_DATA_SAFETY 0x00001202")
|
---|
1230 | cpp_quote("#define URLACTION_ACTIVEX_OVERRIDE_SCRIPT_SAFETY 0x00001203")
|
---|
1231 | cpp_quote("#define URLACTION_SCRIPT_OVERRIDE_SAFETY 0x00001401")
|
---|
1232 | cpp_quote("#define URLACTION_ACTIVEX_CONFIRM_NOOBJECTSAFETY 0x00001204")
|
---|
1233 | cpp_quote("#define URLACTION_ACTIVEX_TREATASUNTRUSTED 0x00001205")
|
---|
1234 | cpp_quote("#define URLACTION_ACTIVEX_CURR_MAX 0x00001205")
|
---|
1235 | cpp_quote("#define URLACTION_ACTIVEX_MAX 0x000013ff")
|
---|
1236 |
|
---|
1237 | cpp_quote("#define URLACTION_SCRIPT_MIN 0x00001400")
|
---|
1238 | cpp_quote("#define URLACTION_SCRIPT_RUN 0x00001400")
|
---|
1239 | cpp_quote("#define URLACTION_SCRIPT_JAVA_USE 0x00001402")
|
---|
1240 | cpp_quote("#define URLACTION_SCRIPT_SAFE_ACTIVEX 0x00001405")
|
---|
1241 | cpp_quote("#define URLACTION_CROSS_DOMAIN_DATA 0x00001406")
|
---|
1242 | cpp_quote("#define URLACTION_SCRIPT_PASTE 0x00001407")
|
---|
1243 | cpp_quote("#define URLACTION_SCRIPT_CURR_MAX 0x00001407")
|
---|
1244 | cpp_quote("#define URLACTION_SCRIPT_MAX 0x000015ff")
|
---|
1245 |
|
---|
1246 | cpp_quote("#define URLACTION_HTML_MIN 0x00001600")
|
---|
1247 | cpp_quote("#define URLACTION_HTML_SUBMIT_FORMS 0x00001601")
|
---|
1248 | cpp_quote("#define URLACTION_HTML_SUBMIT_FORMS_FROM 0x00001602")
|
---|
1249 | cpp_quote("#define URLACTION_HTML_SUBMIT_FORMS_TO 0x00001603")
|
---|
1250 | cpp_quote("#define URLACTION_HTML_FONT_DOWNLOAD 0x00001604")
|
---|
1251 | cpp_quote("#define URLACTION_HTML_JAVA_RUN 0x00001605")
|
---|
1252 | cpp_quote("#define URLACTION_HTML_USERDATA_SAVE 0x00001606")
|
---|
1253 | cpp_quote("#define URLACTION_HTML_SUBFRAME_NAVIGATE 0x00001607")
|
---|
1254 | cpp_quote("#define URLACTION_HTML_META_REFRESH 0x00001608")
|
---|
1255 | cpp_quote("#define URLACTION_HTML_MIXED_CONTENT 0x00001609")
|
---|
1256 | cpp_quote("#define URLACTION_HTML_MAX 0x000017ff")
|
---|
1257 |
|
---|
1258 | cpp_quote("#define URLACTION_SHELL_MIN 0x00001800")
|
---|
1259 | cpp_quote("#define URLACTION_SHELL_INSTALL_DTITEMS 0x00001800")
|
---|
1260 | cpp_quote("#define URLACTION_SHELL_MOVE_OR_COPY 0x00001802")
|
---|
1261 | cpp_quote("#define URLACTION_SHELL_FILE_DOWNLOAD 0x00001803")
|
---|
1262 | cpp_quote("#define URLACTION_SHELL_VERB 0x00001804")
|
---|
1263 | cpp_quote("#define URLACTION_SHELL_WEBVIEW_VERB 0x00001805")
|
---|
1264 | cpp_quote("#define URLACTION_SHELL_CURR_MAX 0x00001805")
|
---|
1265 | cpp_quote("#define URLACTION_SHELL_MAX 0x000019ff")
|
---|
1266 |
|
---|
1267 | cpp_quote("#define URLACTION_NETWORK_MIN 0x00001a00")
|
---|
1268 | cpp_quote("#define URLACTION_CREDENTIALS_USE 0x00001a00")
|
---|
1269 | cpp_quote("#define URLACTION_AUTHENTICATE_CLIENT 0x00001a01")
|
---|
1270 | cpp_quote("#define URLACTION_COOKIES 0x00001a02")
|
---|
1271 | cpp_quote("#define URLACTION_COOKIES_SESSION 0x00001a03")
|
---|
1272 | cpp_quote("#define URLACTION_CLIENT_CERT_PROMPT 0x00001a04")
|
---|
1273 | cpp_quote("#define URLACTION_COOKIES_THIRD_PARTY 0x00001a05")
|
---|
1274 | cpp_quote("#define URLACTION_COOKIES_SESSION_THIRD_PARTY 0x00001a06")
|
---|
1275 | cpp_quote("#define URLACTION_COOKIES_ENABLED 0x00001a10")
|
---|
1276 | cpp_quote("#define URLACTION_NETWORK_CURR_MAX 0x00001a10")
|
---|
1277 | cpp_quote("#define URLACTION_NETWORK_MAX 0x00001bff")
|
---|
1278 |
|
---|
1279 | cpp_quote("#define URLACTION_JAVA_MIN 0x00001c00")
|
---|
1280 | cpp_quote("#define URLACTION_JAVA_PERMISSIONS 0x00001c00")
|
---|
1281 | cpp_quote("#define URLPOLICY_JAVA_PROHIBIT 0x00000000")
|
---|
1282 | cpp_quote("#define URLPOLICY_JAVA_HIGH 0x00010000")
|
---|
1283 | cpp_quote("#define URLPOLICY_JAVA_MEDIUM 0x00020000")
|
---|
1284 | cpp_quote("#define URLPOLICY_JAVA_LOW 0x00030000")
|
---|
1285 | cpp_quote("#define URLPOLICY_JAVA_CUSTOM 0x00800000")
|
---|
1286 | cpp_quote("#define URLACTION_JAVA_CURR_MAX 0x00001c00")
|
---|
1287 | cpp_quote("#define URLACTION_JAVA_MAX 0x00001cff")
|
---|
1288 |
|
---|
1289 | cpp_quote("#define URLACTION_INFODELIVERY_MIN 0x00001d00")
|
---|
1290 | cpp_quote("#define URLACTION_INFODELIVERY_NO_ADDING_CHANNELS 0x00001d00")
|
---|
1291 | cpp_quote("#define URLACTION_INFODELIVERY_NO_EDITING_CHANNELS 0x00001d01")
|
---|
1292 | cpp_quote("#define URLACTION_INFODELIVERY_NO_REMOVING_CHANNELS 0x00001d02")
|
---|
1293 | cpp_quote("#define URLACTION_INFODELIVERY_NO_ADDING_SUBSCRIPTIONS 0x00001d03")
|
---|
1294 | cpp_quote("#define URLACTION_INFODELIVERY_NO_EDITING_SUBSCRIPTIONS 0x00001d04")
|
---|
1295 | cpp_quote("#define URLACTION_INFODELIVERY_NO_REMOVING_SUBSCRIPTIONS 0x00001d05")
|
---|
1296 | cpp_quote("#define URLACTION_INFODELIVERY_NO_CHANNEL_LOGGING 0x00001d06")
|
---|
1297 | cpp_quote("#define URLACTION_INFODELIVERY_CURR_MAX 0x00001d06")
|
---|
1298 | cpp_quote("#define URLACTION_INFODELIVERY_MAX 0x00001dff")
|
---|
1299 |
|
---|
1300 | cpp_quote("#define URLACTION_CHANNEL_SOFTDIST_MIN 0x00001e00")
|
---|
1301 | cpp_quote("#define URLACTION_CHANNEL_SOFTDIST_PERMISSIONS 0x00001e05")
|
---|
1302 | cpp_quote("#define URLPOLICY_CHANNEL_SOFTDIST_PROHIBIT 0x00010000")
|
---|
1303 | cpp_quote("#define URLPOLICY_CHANNEL_SOFTDIST_PRECACHE 0x00020000")
|
---|
1304 | cpp_quote("#define URLPOLICY_CHANNEL_SOFTDIST_AUTOINSTALL 0x00030000")
|
---|
1305 | cpp_quote("#define URLACTION_CHANNEL_SOFTDIST_MAX 0x00001eff")
|
---|
1306 |
|
---|
1307 | cpp_quote("#define URLACTION_BEHAVIOR_MIN 0x00002000")
|
---|
1308 | cpp_quote("#define URLACTION_BEHAVIOR_RUN 0x00002000")
|
---|
1309 | cpp_quote("#define URLPOLICY_BEHAVIOR_CHECK_LIST 0x00010000")
|
---|
1310 |
|
---|
1311 | cpp_quote("#define URLACTION_FEATURE_MIN 0x00002100")
|
---|
1312 | cpp_quote("#define URLACTION_FEATURE_MIME_SNIFFING 0x00002100")
|
---|
1313 | cpp_quote("#define URLACTION_FEATURE_ZONE_ELEVATION 0x00002101")
|
---|
1314 | cpp_quote("#define URLACTION_FEATURE_WINDOW_RESTRICTIONS 0x00002102")
|
---|
1315 | cpp_quote("#define URLACTION_FEATURE_SCRIPT_STATUS_BAR 0x00002103")
|
---|
1316 | cpp_quote("#define URLACTION_FEATURE_FORCE_ADDR_AND_STATUS 0x00002104")
|
---|
1317 | cpp_quote("#define URLACTION_FEATURE_BLOCK_INPUT_PROMPTS 0x00002105")
|
---|
1318 |
|
---|
1319 | cpp_quote("#define URLPOLICY_ALLOW 0x00")
|
---|
1320 | cpp_quote("#define URLPOLICY_QUERY 0x01")
|
---|
1321 | cpp_quote("#define URLPOLICY_DISALLOW 0x03")
|
---|
1322 |
|
---|
1323 | cpp_quote("#define URLPOLICY_NOTIFY_ON_ALLOW 0x10")
|
---|
1324 | cpp_quote("#define URLPOLICY_NOTIFY_ON_DISALLOW 0x20")
|
---|
1325 |
|
---|
1326 | cpp_quote("#define URLPOLICY_LOG_ON_ALLOW 0x40")
|
---|
1327 | cpp_quote("#define URLPOLICY_LOG_ON_DISALLOW 0x80")
|
---|
1328 |
|
---|
1329 | cpp_quote("#define URLPOLICY_DONTCHECKDLGBOX 0x100")
|
---|
1330 |
|
---|
1331 | cpp_quote("#define URLPOLICY_CREDENTIALS_SILENT_LOGON_OK 0x00000000")
|
---|
1332 | cpp_quote("#define URLPOLICY_CREDENTIALS_MUST_PROMPT_USER 0x00010000")
|
---|
1333 | cpp_quote("#define URLPOLICY_CREDENTIALS_CONDITIONAL_PROMPT 0x00020000")
|
---|
1334 | cpp_quote("#define URLPOLICY_CREDENTIALS_ANONYMOUS_ONLY 0x00030000")
|
---|
1335 |
|
---|
1336 | cpp_quote("#define URLPOLICY_AUTHENTICATE_CLEARTEXT_OK 0x00000000")
|
---|
1337 | cpp_quote("#define URLPOLICY_AUTHENTICATE_CHALLENGE_RESPONSE 0x00010000")
|
---|
1338 | cpp_quote("#define URLPOLICY_AUTHENTICATE_MUTUAL_ONLY 0x00030000")
|
---|
1339 |
|
---|
1340 | cpp_quote("#define URLPOLICY_MASK_PERMISSIONS 0x0f")
|
---|
1341 | cpp_quote("#define GetUrlPolicyPermissions(dw) (dw & URLPOLICY_MASK_PERMISSIONS)")
|
---|
1342 | cpp_quote("#define SetUrlPolicyPermissions(dw,dw2) ((dw) = ((dw) & ~URLPOLICY_MASK_PERMISSIONS) | (dw2))")
|
---|
1343 |
|
---|
1344 | /*****************************************************************************
|
---|
1345 | * IInternetZoneManager interface
|
---|
1346 | */
|
---|
1347 | [
|
---|
1348 | local,
|
---|
1349 | object,
|
---|
1350 | uuid(79EAC9EF-BAf9-11CE-8C82-00AA004BA90B),
|
---|
1351 | pointer_default(unique)
|
---|
1352 | ]
|
---|
1353 | interface IInternetZoneManager : IUnknown
|
---|
1354 | {
|
---|
1355 | typedef [unique] IInternetZoneManager* LPURLZONEMANAGER;
|
---|
1356 |
|
---|
1357 | typedef enum tagURLZONE
|
---|
1358 | {
|
---|
1359 | URLZONE_INVALID = -1,
|
---|
1360 | URLZONE_PREDEFINED_MIN = 0,
|
---|
1361 | URLZONE_LOCAL_MACHINE = 0,
|
---|
1362 | URLZONE_INTRANET = 1,
|
---|
1363 | URLZONE_TRUSTED = 2,
|
---|
1364 | URLZONE_INTERNET = 3,
|
---|
1365 | URLZONE_UNTRUSTED = 4,
|
---|
1366 | URLZONE_PREDEFINED_MAX = 999,
|
---|
1367 | URLZONE_USER_MIN = 1000,
|
---|
1368 | URLZONE_USER_MAX = 10000,
|
---|
1369 | } URLZONE;
|
---|
1370 |
|
---|
1371 | typedef enum tagURLTEMPLATE
|
---|
1372 | {
|
---|
1373 | URLTEMPLATE_CUSTOM = 0x00000,
|
---|
1374 | URLTEMPLATE_PREDEFINED_MIN = 0x10000,
|
---|
1375 | URLTEMPLATE_LOW = 0x10000,
|
---|
1376 | URLTEMPLATE_MEDLOW = 0x10500,
|
---|
1377 | URLTEMPLATE_MEDIUM = 0x11000,
|
---|
1378 | URLTEMPLATE_MEDHIGH = 0x11500,
|
---|
1379 | URLTEMPLATE_HIGH = 0x12000,
|
---|
1380 | URLTEMPLATE_PREDEFINED_MAX = 0x20000,
|
---|
1381 | } URLTEMPLATE ;
|
---|
1382 |
|
---|
1383 | typedef enum {
|
---|
1384 | ZAFLAGS_CUSTOM_EDIT = 0x00000001,
|
---|
1385 | ZAFLAGS_ADD_SITES = 0x00000002,
|
---|
1386 | ZAFLAGS_REQUIRE_VERIFICATION = 0x00000004,
|
---|
1387 | ZAFLAGS_INCLUDE_PROXY_OVERRIDE = 0x00000008,
|
---|
1388 | ZAFLAGS_INCLUDE_INTRANET_SITES = 0x00000010,
|
---|
1389 | ZAFLAGS_NO_UI = 0x00000020,
|
---|
1390 | ZAFLAGS_SUPPORTS_VERIFICATION = 0x00000040,
|
---|
1391 | ZAFLAGS_UNC_AS_INTRANET = 0x00000080,
|
---|
1392 | ZAFLAGS_DETECT_INTRANET = 0x00000100,
|
---|
1393 | ZAFLAGS_USE_LOCKED_ZONES = 0x00010000,
|
---|
1394 | ZAFLAGS_VERIFY_TEMPLATE_SETTINGS = 0x00020000,
|
---|
1395 | ZAFLAGS_NO_CACHE = 0x00040000,
|
---|
1396 | } ZAFLAGS ;
|
---|
1397 |
|
---|
1398 | enum {
|
---|
1399 | MAX_ZONE_PATH = 260,
|
---|
1400 | MAX_ZONE_DESCRIPTION = 200
|
---|
1401 | };
|
---|
1402 |
|
---|
1403 | typedef struct _ZONEATTRIBUTES {
|
---|
1404 | ULONG cbSize;
|
---|
1405 | WCHAR szDisplayName[MAX_ZONE_PATH];
|
---|
1406 | WCHAR szDescription[MAX_ZONE_DESCRIPTION];
|
---|
1407 | WCHAR szIconPath[MAX_ZONE_PATH];
|
---|
1408 | DWORD dwTemplateMinLevel;
|
---|
1409 | DWORD dwTemplateRecommended;
|
---|
1410 | DWORD dwTemplateCurrentLevel;
|
---|
1411 | DWORD dwFlags;
|
---|
1412 | } ZONEATTRIBUTES, *LPZONEATTRIBUTES;
|
---|
1413 |
|
---|
1414 | typedef enum _URLZONEREG {
|
---|
1415 | URLZONEREG_DEFAULT,
|
---|
1416 | URLZONEREG_HKLM,
|
---|
1417 | URLZONEREG_HKCU
|
---|
1418 | } URLZONEREG;
|
---|
1419 |
|
---|
1420 | HRESULT GetZoneAttributes(
|
---|
1421 | [in] DWORD dwZone,
|
---|
1422 | [in, out, unique] ZONEATTRIBUTES* pZoneAttributes);
|
---|
1423 |
|
---|
1424 | HRESULT SetZoneAttributes(
|
---|
1425 | [in] DWORD dwZone,
|
---|
1426 | [in] ZONEATTRIBUTES* pZoneAttributes);
|
---|
1427 |
|
---|
1428 | HRESULT GetZoneCustomPolicy(
|
---|
1429 | [in] DWORD dwZone,
|
---|
1430 | [in] REFGUID guidKey,
|
---|
1431 | [out] BYTE **ppPolicy,
|
---|
1432 | [out] DWORD* pcbPolicy,
|
---|
1433 | [in] URLZONEREG ulrZoneReg);
|
---|
1434 |
|
---|
1435 | HRESULT SetZoneCustomPolicy(
|
---|
1436 | [in] DWORD dwZone,
|
---|
1437 | [in] REFGUID guidKey,
|
---|
1438 | [in] BYTE *ppPolicy,
|
---|
1439 | [in] DWORD pcbPolicy,
|
---|
1440 | [in] URLZONEREG ulrZoneReg);
|
---|
1441 |
|
---|
1442 | HRESULT GetZoneActionPolicy(
|
---|
1443 | [in] DWORD dwZone,
|
---|
1444 | [in] DWORD dwAction,
|
---|
1445 | [out] BYTE* pPolicy,
|
---|
1446 | [in] DWORD cbPolicy,
|
---|
1447 | [in] URLZONEREG urlZoneReg);
|
---|
1448 |
|
---|
1449 | HRESULT SetZoneActionPolicy(
|
---|
1450 | [in] DWORD dwZone,
|
---|
1451 | [in] DWORD dwAction,
|
---|
1452 | [in] BYTE* pPolicy,
|
---|
1453 | [in] DWORD cbPolicy,
|
---|
1454 | [in] URLZONEREG urlZoneReg);
|
---|
1455 |
|
---|
1456 | HRESULT PromptAction(
|
---|
1457 | [in] DWORD dwAction,
|
---|
1458 | [in] HWND hwndParent,
|
---|
1459 | [in] LPCWSTR pwszUrl,
|
---|
1460 | [in] LPCWSTR pwszText,
|
---|
1461 | [in] DWORD dwPromptFlags );
|
---|
1462 |
|
---|
1463 | HRESULT LogAction(
|
---|
1464 | [in] DWORD dwAction,
|
---|
1465 | [in] LPCWSTR pwszUrl,
|
---|
1466 | [in] LPCWSTR pwszText,
|
---|
1467 | [in] DWORD dwLogFlags);
|
---|
1468 |
|
---|
1469 | HRESULT CreateZoneEnumerator(
|
---|
1470 | [out] DWORD* pdwEnum,
|
---|
1471 | [out] DWORD* pdwCount,
|
---|
1472 | [in] DWORD dwFlags);
|
---|
1473 |
|
---|
1474 | HRESULT GetZoneAt(
|
---|
1475 | [in] DWORD dwEnum,
|
---|
1476 | [in] DWORD dwIndex,
|
---|
1477 | [out] DWORD* pdwZone);
|
---|
1478 |
|
---|
1479 | HRESULT DestroyZoneEnumerator(
|
---|
1480 | [in] DWORD dwEnum);
|
---|
1481 |
|
---|
1482 | HRESULT CopyTemplatePoliciesToZone(
|
---|
1483 | [in] DWORD dwTemplate,
|
---|
1484 | [in] DWORD dwZone,
|
---|
1485 | [in] DWORD dwReserved);
|
---|
1486 | }
|
---|
1487 |
|
---|
1488 | /*****************************************************************************
|
---|
1489 | * IInternetZoneManagerEx interface
|
---|
1490 | */
|
---|
1491 | [
|
---|
1492 | local,
|
---|
1493 | object,
|
---|
1494 | uuid(A4C23339-8E06-431E-9BF4-7E711C085648),
|
---|
1495 | pointer_default(unique)
|
---|
1496 | ]
|
---|
1497 | interface IInternetZoneManagerEx : IInternetZoneManager
|
---|
1498 | {
|
---|
1499 | HRESULT GetZoneActionPolicyEx(
|
---|
1500 | [in] DWORD dwZone,
|
---|
1501 | [in] DWORD dwAction,
|
---|
1502 | [out] BYTE* pPolicy,
|
---|
1503 | [in] DWORD cbPolicy,
|
---|
1504 | [in] URLZONEREG urlZoneReg,
|
---|
1505 | [in] DWORD dwFlags);
|
---|
1506 |
|
---|
1507 | HRESULT SetZoneActionPolicyEx(
|
---|
1508 | [in] DWORD dwZone,
|
---|
1509 | [in] DWORD dwAction,
|
---|
1510 | [in] BYTE* pPolicy,
|
---|
1511 | [in] DWORD cbPolicy,
|
---|
1512 | [in] URLZONEREG urlZoneReg,
|
---|
1513 | [in] DWORD dwFlags);
|
---|
1514 |
|
---|
1515 | }
|
---|
1516 |
|
---|
1517 | /*****************************************************************************
|
---|
1518 | * IInternetZoneManagerEx2 interface
|
---|
1519 | */
|
---|
1520 |
|
---|
1521 | cpp_quote("#define SECURITY_IE_STATE_GREEN 0")
|
---|
1522 | cpp_quote("#define SECURITY_IE_STATE_RED 1")
|
---|
1523 |
|
---|
1524 | [
|
---|
1525 | local,
|
---|
1526 | object,
|
---|
1527 | uuid(EDC17559-DD5D-4846-8EEF-8BECBA5A4ABF),
|
---|
1528 | pointer_default(unique)
|
---|
1529 | ]
|
---|
1530 | interface IInternetZoneManagerEx2 : IInternetZoneManagerEx
|
---|
1531 | {
|
---|
1532 | HRESULT GetZoneAttributesEx(
|
---|
1533 | [in] DWORD dwZone,
|
---|
1534 | [in, out, unique] ZONEATTRIBUTES* pZoneAttributes,
|
---|
1535 | [in] DWORD dwFlags);
|
---|
1536 |
|
---|
1537 | HRESULT GetZoneSecurityState(
|
---|
1538 | [in] DWORD dwZoneIndex,
|
---|
1539 | [in] BOOL fRespectPolicy,
|
---|
1540 | [in, out] LPDWORD pdwState,
|
---|
1541 | [in, out] BOOL *pfPolicyEncountered);
|
---|
1542 |
|
---|
1543 | HRESULT GetIESecurityState(
|
---|
1544 | [in] BOOL fRespectPolicy,
|
---|
1545 | [in, out] LPDWORD pdwState,
|
---|
1546 | [in, out] BOOL *pfPolicyEncountered,
|
---|
1547 | [in] BOOL fNoCache);
|
---|
1548 |
|
---|
1549 | HRESULT FixInsecureSettings(void);
|
---|
1550 |
|
---|
1551 | }
|
---|
1552 |
|
---|
1553 |
|
---|
1554 | typedef struct _tagSOFTDISTINFO
|
---|
1555 | {
|
---|
1556 | ULONG cbSize;
|
---|
1557 | DWORD dwFlags;
|
---|
1558 | DWORD dwAdState;
|
---|
1559 | LPWSTR szTitle;
|
---|
1560 | LPWSTR szAbstract;
|
---|
1561 | LPWSTR szHREF;
|
---|
1562 | DWORD dwInstalledVersionMS;
|
---|
1563 | DWORD dwInstalledVersionLS;
|
---|
1564 | DWORD dwUpdateVersionMS;
|
---|
1565 | DWORD dwUpdateVersionLS;
|
---|
1566 | DWORD dwAdvertisedVersionMS;
|
---|
1567 | DWORD dwAdvertisedVersionLS;
|
---|
1568 | DWORD dwReserved;
|
---|
1569 | } SOFTDISTINFO, *LPSOFTDISTINFO;
|
---|
1570 |
|
---|
1571 | typedef struct _tagCODEBASEHOLD
|
---|
1572 | {
|
---|
1573 | DWORD cbSize;
|
---|
1574 | LPWSTR szDistUnit;
|
---|
1575 | LPWSTR szCodeBase;
|
---|
1576 | DWORD dwVersionMS;
|
---|
1577 | DWORD dwVersionLS;
|
---|
1578 | DWORD dwStyle;
|
---|
1579 | } CODEBASEHOLD, *LPCODEBASEHOLD;
|
---|
1580 |
|
---|
1581 | [
|
---|
1582 | local,
|
---|
1583 | object,
|
---|
1584 | uuid(b15b8dc1-c7e1-11d0-8680-00aa00bdcb71),
|
---|
1585 | pointer_default(unique)
|
---|
1586 | ]
|
---|
1587 | interface ISoftDistExt : IUnknown
|
---|
1588 | {
|
---|
1589 | HRESULT ProcessSoftDist(
|
---|
1590 | [in] LPCWSTR szCDFURL,
|
---|
1591 | [in] IXMLElement *pSoftDistElement,
|
---|
1592 | [in, out] LPSOFTDISTINFO lpsdi );
|
---|
1593 |
|
---|
1594 | HRESULT GetFirstCodeBase(
|
---|
1595 | [in] LPWSTR *szCodeBase,
|
---|
1596 | [in] LPDWORD dwMaxSize );
|
---|
1597 |
|
---|
1598 | HRESULT GetNextCodeBase(
|
---|
1599 | [in] LPWSTR *szCodeBase,
|
---|
1600 | [in] LPDWORD dwMaxSize );
|
---|
1601 |
|
---|
1602 | HRESULT AsyncInstallDistributionUnit(
|
---|
1603 | [in] IBindCtx *pbc,
|
---|
1604 | [in] LPVOID lpReserved,
|
---|
1605 | [in] DWORD flags,
|
---|
1606 | [in] LPCODEBASEHOLD lpcbh);
|
---|
1607 | }
|
---|
1608 |
|
---|
1609 | typedef enum _tagINTERNETFEATURELIST
|
---|
1610 | {
|
---|
1611 | FEATURE_OBJECT_CACHING,
|
---|
1612 | FEATURE_ZONE_ELEVATION,
|
---|
1613 | FEATURE_MIME_HANDLING,
|
---|
1614 | FEATURE_MIME_SNIFFING,
|
---|
1615 | FEATURE_WINDOW_RESTRICTIONS,
|
---|
1616 | FEATURE_WEBOC_POPUPMANAGEMENT,
|
---|
1617 | FEATURE_BEHAVIORS,
|
---|
1618 | FEATURE_DISABLE_MK_PROTOCOL,
|
---|
1619 | FEATURE_LOCALMACHINE_LOCKDOWN,
|
---|
1620 | FEATURE_SECURITYBAND,
|
---|
1621 | FEATURE_RESTRICT_ACTIVEXINSTALL,
|
---|
1622 | FEATURE_VALIDATE_NAVIGATE_URL,
|
---|
1623 | FEATURE_RESTRICT_FILEDOWNLOAD,
|
---|
1624 | FEATURE_ADDON_MANAGEMENT,
|
---|
1625 | FEATURE_PROTOCOL_LOCKDOWN,
|
---|
1626 | FEATURE_HTTP_USERNAME_PASSWORD_DISABLE,
|
---|
1627 | FEATURE_SAFE_BINDTOOBJECT,
|
---|
1628 | FEATURE_UNC_SAVEDFILECHECK,
|
---|
1629 | FEATURE_GET_URL_DOM_FILEPATH_UNENCODED,
|
---|
1630 | FEATURE_TABBED_BROWSING,
|
---|
1631 | FEATURE_SSLUX,
|
---|
1632 | FEATURE_DISABLE_NAVIGATION_SOUNDS,
|
---|
1633 | FEATURE_DISABLE_LEGACY_COMPRESSION,
|
---|
1634 | FEATURE_FORCE_ADDR_AND_STATUS,
|
---|
1635 | FEATURE_XMLHTTP,
|
---|
1636 | FEATURE_DISABLE_TELNET_PROTOCOL,
|
---|
1637 | FEATURE_FEEDS,
|
---|
1638 | FEATURE_BLOCK_INPUT_PROMPTS,
|
---|
1639 | FEATURE_ENTRY_COUNT
|
---|
1640 | } INTERNETFEATURELIST;
|
---|
1641 |
|
---|
1642 | cpp_quote("#define SET_FEATURE_ON_THREAD 0x00000001")
|
---|
1643 | cpp_quote("#define SET_FEATURE_ON_PROCESS 0x00000002")
|
---|
1644 | cpp_quote("#define SET_FEATURE_IN_REGISTRY 0x00000004")
|
---|
1645 | cpp_quote("#define SET_FEATURE_ON_THREAD_LOCALMACHINE 0x00000008")
|
---|
1646 | cpp_quote("#define SET_FEATURE_ON_THREAD_INTRANET 0x00000010")
|
---|
1647 | cpp_quote("#define SET_FEATURE_ON_THREAD_TRUSTED 0x00000020")
|
---|
1648 | cpp_quote("#define SET_FEATURE_ON_THREAD_INTERNET 0x00000040")
|
---|
1649 | cpp_quote("#define SET_FEATURE_ON_THREAD_RESTRICTED 0x00000080")
|
---|
1650 |
|
---|
1651 | cpp_quote("#define GET_FEATURE_FROM_THREAD 0x00000001")
|
---|
1652 | cpp_quote("#define GET_FEATURE_FROM_PROCESS 0x00000002")
|
---|
1653 | cpp_quote("#define GET_FEATURE_FROM_REGISTRY 0x00000004")
|
---|
1654 | cpp_quote("#define GET_FEATURE_FROM_THREAD_LOCALMACHINE 0x00000008")
|
---|
1655 | cpp_quote("#define GET_FEATURE_FROM_THREAD_INTRANET 0x00000010")
|
---|
1656 | cpp_quote("#define GET_FEATURE_FROM_THREAD_TRUSTED 0x00000020")
|
---|
1657 | cpp_quote("#define GET_FEATURE_FROM_THREAD_INTERNET 0x00000040")
|
---|
1658 | cpp_quote("#define GET_FEATURE_FROM_THREAD_RESTRICTED 0x00000080")
|
---|
1659 |
|
---|
1660 | typedef struct _tagPROTOCOLFILTERDATA {
|
---|
1661 | DWORD cbSize;
|
---|
1662 | IInternetProtocolSink *pProtocolSink;
|
---|
1663 | IInternetProtocol *pProtocol;
|
---|
1664 | IUnknown *pUnk;
|
---|
1665 | DWORD dwFilterFlags;
|
---|
1666 | } PROTOCOLFILTERDATA;
|
---|
1667 |
|
---|
1668 | /*****************************************************************************
|
---|
1669 | * IUri interface
|
---|
1670 | */
|
---|
1671 | [
|
---|
1672 | object,
|
---|
1673 | uuid(a39ee748-6a27-4817-a6f2-13914bef5890),
|
---|
1674 | pointer_default(unique)
|
---|
1675 | ]
|
---|
1676 | interface IUri : IUnknown
|
---|
1677 | {
|
---|
1678 | typedef enum
|
---|
1679 | {
|
---|
1680 | Uri_PROPERTY_ABSOLUTE_URI = 0,
|
---|
1681 | Uri_PROPERTY_STRING_START = Uri_PROPERTY_ABSOLUTE_URI,
|
---|
1682 | Uri_PROPERTY_AUTHORITY = 1,
|
---|
1683 | Uri_PROPERTY_DISPLAY_URI = 2,
|
---|
1684 | Uri_PROPERTY_DOMAIN = 3,
|
---|
1685 | Uri_PROPERTY_EXTENSION = 4,
|
---|
1686 | Uri_PROPERTY_FRAGMENT = 5,
|
---|
1687 | Uri_PROPERTY_HOST = 6,
|
---|
1688 | Uri_PROPERTY_PASSWORD = 7,
|
---|
1689 | Uri_PROPERTY_PATH = 8,
|
---|
1690 | Uri_PROPERTY_PATH_AND_QUERY = 9,
|
---|
1691 | Uri_PROPERTY_QUERY = 10,
|
---|
1692 | Uri_PROPERTY_RAW_URI = 11,
|
---|
1693 | Uri_PROPERTY_SCHEME_NAME = 12,
|
---|
1694 | Uri_PROPERTY_USER_INFO = 13,
|
---|
1695 | Uri_PROPERTY_USER_NAME = 14,
|
---|
1696 | Uri_PROPERTY_STRING_LAST = Uri_PROPERTY_USER_NAME,
|
---|
1697 | Uri_PROPERTY_HOST_TYPE = 15,
|
---|
1698 | Uri_PROPERTY_DWORD_START = Uri_PROPERTY_HOST_TYPE,
|
---|
1699 | Uri_PROPERTY_PORT = 16,
|
---|
1700 | Uri_PROPERTY_SCHEME = 17,
|
---|
1701 | Uri_PROPERTY_ZONE = 18,
|
---|
1702 | Uri_PROPERTY_DWORD_LAST = Uri_PROPERTY_ZONE
|
---|
1703 | } Uri_PROPERTY;
|
---|
1704 |
|
---|
1705 | typedef enum
|
---|
1706 | {
|
---|
1707 | Uri_HOST_UNKNOWN = 0,
|
---|
1708 | Uri_HOST_DNS = 1,
|
---|
1709 | Uri_HOST_IPV4 = 2,
|
---|
1710 | Uri_HOST_IPV6 = 3,
|
---|
1711 | Uri_HOST_IDN = 4
|
---|
1712 | } Uri_HOST_TYPE;
|
---|
1713 |
|
---|
1714 | HRESULT GetPropertyBSTR(
|
---|
1715 | [in] Uri_PROPERTY uriProp,
|
---|
1716 | [out] BSTR *pbstrProperty,
|
---|
1717 | [in] DWORD dwFlags);
|
---|
1718 |
|
---|
1719 | HRESULT GetPropertyLength(
|
---|
1720 | [in] Uri_PROPERTY uriProp,
|
---|
1721 | [out] DWORD *pcchProperty,
|
---|
1722 | [in] DWORD dwFlags);
|
---|
1723 |
|
---|
1724 | HRESULT GetPropertyDWORD(
|
---|
1725 | [in] Uri_PROPERTY uriProp,
|
---|
1726 | [out] DWORD *pdwProperty,
|
---|
1727 | [in] DWORD dwFlags);
|
---|
1728 |
|
---|
1729 | HRESULT HasProperty(
|
---|
1730 | [in] Uri_PROPERTY uriProp,
|
---|
1731 | [out] BOOL *pfHasProperty);
|
---|
1732 |
|
---|
1733 | HRESULT GetAbsoluteUri(
|
---|
1734 | [out] BSTR *pbstrAbsoluteUri);
|
---|
1735 |
|
---|
1736 | HRESULT GetAuthority(
|
---|
1737 | [out] BSTR *pbstrAuthority);
|
---|
1738 |
|
---|
1739 | HRESULT GetDisplayUri(
|
---|
1740 | [out] BSTR *pbstrDisplayString);
|
---|
1741 |
|
---|
1742 | HRESULT GetDomain(
|
---|
1743 | [out] BSTR *pbstrDomain);
|
---|
1744 |
|
---|
1745 | HRESULT GetExtension(
|
---|
1746 | [out] BSTR *pbstrExtension);
|
---|
1747 |
|
---|
1748 | HRESULT GetFragment(
|
---|
1749 | [out] BSTR *pbstrFragment);
|
---|
1750 |
|
---|
1751 | HRESULT GetHost(
|
---|
1752 | [out] BSTR *pbstrHost);
|
---|
1753 |
|
---|
1754 | HRESULT GetPassword(
|
---|
1755 | [out] BSTR *pbstrPassword);
|
---|
1756 |
|
---|
1757 | HRESULT GetPath(
|
---|
1758 | [out] BSTR *pbstrPath);
|
---|
1759 |
|
---|
1760 | HRESULT GetPathAndQuery(
|
---|
1761 | [out] BSTR *pbstrPathAndQuery);
|
---|
1762 |
|
---|
1763 | HRESULT GetQuery(
|
---|
1764 | [out] BSTR *pbstrQuery);
|
---|
1765 |
|
---|
1766 | HRESULT GetRawUri(
|
---|
1767 | [out] BSTR *pbstrRawUri);
|
---|
1768 |
|
---|
1769 | HRESULT GetSchemeName(
|
---|
1770 | [out] BSTR *pbstrSchemeName);
|
---|
1771 |
|
---|
1772 | HRESULT GetUserInfo(
|
---|
1773 | [out] BSTR *pbstrUserInfo);
|
---|
1774 |
|
---|
1775 | HRESULT GetUserName(
|
---|
1776 | [out] BSTR *pbstrUserName);
|
---|
1777 |
|
---|
1778 | HRESULT GetHostType(
|
---|
1779 | [out] DWORD *pdwHostType);
|
---|
1780 |
|
---|
1781 | HRESULT GetPort(
|
---|
1782 | [out] DWORD *pdwPort);
|
---|
1783 |
|
---|
1784 | HRESULT GetScheme(
|
---|
1785 | [out] DWORD *pdwScheme);
|
---|
1786 |
|
---|
1787 | HRESULT GetZone(
|
---|
1788 | [out] DWORD *pdwZone);
|
---|
1789 |
|
---|
1790 | HRESULT GetProperties(
|
---|
1791 | [out] LPDWORD pdwFlags);
|
---|
1792 |
|
---|
1793 | HRESULT IsEqual(
|
---|
1794 | [in] IUri *pUri,
|
---|
1795 | [out] BOOL *pfEqual);
|
---|
1796 | }
|
---|
1797 |
|
---|
1798 | cpp_quote("HRESULT WINAPI CreateUri(LPCWSTR,DWORD,DWORD_PTR,IUri**);")
|
---|
1799 | cpp_quote("HRESULT WINAPI CreateUriWithFragment(LPCWSTR,LPCWSTR,DWORD,DWORD_PTR,IUri**);")
|
---|
1800 | cpp_quote("HRESULT WINAPI CreateUriFromMultiByteString(LPCSTR,DWORD,DWORD,DWORD,DWORD_PTR,IUri**);")
|
---|
1801 |
|
---|
1802 | cpp_quote("#define Uri_HAS_ABSOLUTE_URI (1 << Uri_PROPERTY_ABSOLUTE_URI)")
|
---|
1803 | cpp_quote("#define Uri_HAS_AUTHORITY (1 << Uri_PROPERTY_AUTHORITY)")
|
---|
1804 | cpp_quote("#define Uri_HAS_DISPLAY_URI (1 << Uri_PROPERTY_DISPLAY_URI)")
|
---|
1805 | cpp_quote("#define Uri_HAS_DOMAIN (1 << Uri_PROPERTY_DOMAIN)")
|
---|
1806 | cpp_quote("#define Uri_HAS_EXTENSION (1 << Uri_PROPERTY_EXTENSION)")
|
---|
1807 | cpp_quote("#define Uri_HAS_FRAGMENT (1 << Uri_PROPERTY_FRAGMENT)")
|
---|
1808 | cpp_quote("#define Uri_HAS_HOST (1 << Uri_PROPERTY_HOST)")
|
---|
1809 | cpp_quote("#define Uri_HAS_PASSWORD (1 << Uri_PROPERTY_PASSWORD)")
|
---|
1810 | cpp_quote("#define Uri_HAS_PATH (1 << Uri_PROPERTY_PATH)")
|
---|
1811 | cpp_quote("#define Uri_HAS_QUERY (1 << Uri_PROPERTY_QUERY)")
|
---|
1812 | cpp_quote("#define Uri_HAS_RAW_URI (1 << Uri_PROPERTY_RAW_URI)")
|
---|
1813 | cpp_quote("#define Uri_HAS_SCHEME_NAME (1 << Uri_PROPERTY_SCHEME_NAME)")
|
---|
1814 | cpp_quote("#define Uri_HAS_USER_NAME (1 << Uri_PROPERTY_USER_NAME)")
|
---|
1815 | cpp_quote("#define Uri_HAS_PATH_AND_QUERY (1 << Uri_PROPERTY_PATH_AND_QUERY)")
|
---|
1816 | cpp_quote("#define Uri_HAS_USER_INFO (1 << Uri_PROPERTY_USER_INFO)")
|
---|
1817 | cpp_quote("#define Uri_HAS_HOST_TYPE (1 << Uri_PROPERTY_HOST_TYPE)")
|
---|
1818 | cpp_quote("#define Uri_HAS_PORT (1 << Uri_PROPERTY_PORT)")
|
---|
1819 | cpp_quote("#define Uri_HAS_SCHEME (1 << Uri_PROPERTY_SCHEME)")
|
---|
1820 | cpp_quote("#define Uri_HAS_ZONE (1 << Uri_PROPERTY_ZONE)")
|
---|
1821 |
|
---|
1822 | cpp_quote("#define Uri_CREATE_ALLOW_RELATIVE 0x0001")
|
---|
1823 | cpp_quote("#define Uri_CREATE_ALLOW_IMPLICIT_WILDCARD_SCHEME 0x0002")
|
---|
1824 | cpp_quote("#define Uri_CREATE_ALLOW_IMPLICIT_FILE_SCHEME 0x0004")
|
---|
1825 | cpp_quote("#define Uri_CREATE_NOFRAG 0x0008")
|
---|
1826 | cpp_quote("#define Uri_CREATE_NO_CANONICALIZE 0x0010")
|
---|
1827 | cpp_quote("#define Uri_CREATE_CANONICALIZE 0x0100")
|
---|
1828 | cpp_quote("#define Uri_CREATE_FILE_USE_DOS_PATH 0x0020")
|
---|
1829 | cpp_quote("#define Uri_CREATE_DECODE_EXTRA_INFO 0x0040")
|
---|
1830 | cpp_quote("#define Uri_CREATE_NO_DECODE_EXTRA_INFO 0x0080")
|
---|
1831 | cpp_quote("#define Uri_CREATE_CRACK_UNKNOWN_SCHEMES 0x0200")
|
---|
1832 | cpp_quote("#define Uri_CREATE_NO_CRACK_UNKNOWN_SCHEMES 0x0400")
|
---|
1833 | cpp_quote("#define Uri_CREATE_PRE_PROCESS_HTML_URI 0x0800")
|
---|
1834 | cpp_quote("#define Uri_CREATE_NO_PRE_PROCESS_HTML_URI 0x1000")
|
---|
1835 | cpp_quote("#define Uri_CREATE_IE_SETTINGS 0x2000")
|
---|
1836 | cpp_quote("#define Uri_CREATE_NO_IE_SETTINGS 0x4000")
|
---|
1837 | cpp_quote("#define Uri_CREATE_NO_ENCODE_FORBIDDEN_CHARACTERS 0x8000")
|
---|
1838 |
|
---|
1839 | cpp_quote("#define Uri_DISPLAY_NO_FRAGMENT 0x00000001")
|
---|
1840 | cpp_quote("#define Uri_PUNYCODE_IDN_HOST 0x00000002")
|
---|
1841 | cpp_quote("#define Uri_DISPLAY_IDN_HOST 0x00000004")
|
---|
1842 |
|
---|
1843 | cpp_quote("#define Uri_ENCODING_USER_INFO_AND_PATH_IS_PERCENT_ENCODED_UTF8 0x00000001")
|
---|
1844 | cpp_quote("#define Uri_ENCODING_USER_INFO_AND_PATH_IS_CP 0x00000002")
|
---|
1845 | cpp_quote("#define Uri_ENCODING_HOST_IS_IDN 0x00000004")
|
---|
1846 | cpp_quote("#define Uri_ENCODING_HOST_IS_PERCENT_ENCODED_UTF8 0x00000008")
|
---|
1847 | cpp_quote("#define Uri_ENCODING_HOST_IS_PERCENT_ENCODED_CP 0x00000010")
|
---|
1848 | cpp_quote("#define Uri_ENCODING_QUERY_AND_FRAGMENT_IS_PERCENT_ENCODED_UTF8 0x00000020")
|
---|
1849 | cpp_quote("#define Uri_ENCODING_QUERY_AND_FRAGMENT_IS_CP 0x00000040")
|
---|
1850 | cpp_quote("#define Uri_ENCODING_RFC (Uri_ENCODING_USER_INFO_AND_PATH_IS_PERCENT_ENCODED_UTF8|Uri_ENCODING_HOST_IS_PERCENT_ENCODED_UTF8|Uri_ENCODING_QUERY_AND_FRAGMENT_IS_PERCENT_ENCODED_UTF8)")
|
---|
1851 |
|
---|
1852 | cpp_quote("#define UriBuilder_USE_ORIGINAL_FLAGS 0x00000001")
|
---|
1853 |
|
---|
1854 | /*****************************************************************************
|
---|
1855 | * IUriContainer interface
|
---|
1856 | */
|
---|
1857 | [
|
---|
1858 | local,
|
---|
1859 | object,
|
---|
1860 | uuid(a158a630-ed6f-45fb-b987-f68676f57752),
|
---|
1861 | pointer_default(unique)
|
---|
1862 | ]
|
---|
1863 | interface IUriContainer : IUnknown
|
---|
1864 | {
|
---|
1865 | HRESULT GetIUri([out] IUri **ppIUri);
|
---|
1866 | }
|
---|
1867 |
|
---|
1868 | /*****************************************************************************
|
---|
1869 | * IUriBuilder interface
|
---|
1870 | */
|
---|
1871 | [
|
---|
1872 | local,
|
---|
1873 | object,
|
---|
1874 | uuid(4221b2e1-8955-46c0-bd5b-de9897565de7),
|
---|
1875 | pointer_default(unique)
|
---|
1876 | ]
|
---|
1877 | interface IUriBuilder: IUnknown
|
---|
1878 | {
|
---|
1879 | HRESULT CreateUriSimple(
|
---|
1880 | [in] DWORD dwAllowEncodingPropertyMask,
|
---|
1881 | [in] DWORD_PTR dwReserved,
|
---|
1882 | [out] IUri **ppIUri);
|
---|
1883 |
|
---|
1884 | HRESULT CreateUri(
|
---|
1885 | [in] DWORD dwCreateFlags,
|
---|
1886 | [in] DWORD dwAllowEncodingPropertyMask,
|
---|
1887 | [in] DWORD_PTR dwReserved,
|
---|
1888 | [out] IUri **ppIUri);
|
---|
1889 |
|
---|
1890 | HRESULT CreateUriWithFlags(
|
---|
1891 | [in] DWORD dwCreateFlags,
|
---|
1892 | [in] DWORD dwUriBuilderFlags,
|
---|
1893 | [in] DWORD dwAllowEncodingPropertyMask,
|
---|
1894 | [in] DWORD_PTR dwReserved,
|
---|
1895 | [out] IUri **ppIUri);
|
---|
1896 |
|
---|
1897 | HRESULT GetIUri(
|
---|
1898 | [out] IUri **ppIUri);
|
---|
1899 |
|
---|
1900 | HRESULT SetIUri(
|
---|
1901 | [in, unique] IUri *pIUri);
|
---|
1902 |
|
---|
1903 | HRESULT GetFragment(
|
---|
1904 | [out] DWORD *pcchFragment,
|
---|
1905 | [out] LPCWSTR *ppwzFragment);
|
---|
1906 |
|
---|
1907 | HRESULT GetHost(
|
---|
1908 | [out] DWORD *pcchHost,
|
---|
1909 | [out] LPCWSTR *ppwzHost);
|
---|
1910 |
|
---|
1911 | HRESULT GetPassword(
|
---|
1912 | [out] DWORD *pcchPassword,
|
---|
1913 | [out] LPCWSTR *ppwzPassword);
|
---|
1914 |
|
---|
1915 | HRESULT GetPath(
|
---|
1916 | [out] DWORD *pcchPath,
|
---|
1917 | [out] LPCWSTR *ppwzPath);
|
---|
1918 |
|
---|
1919 | HRESULT GetPort(
|
---|
1920 | [out] BOOL *pfHasPort,
|
---|
1921 | [out] DWORD *pdwPort);
|
---|
1922 |
|
---|
1923 | HRESULT GetQuery(
|
---|
1924 | [out] DWORD *pcchQuery,
|
---|
1925 | [out] LPCWSTR *ppwzQuery);
|
---|
1926 |
|
---|
1927 | HRESULT GetSchemeName(
|
---|
1928 | [out] DWORD *pcchSchemeName,
|
---|
1929 | [out] LPCWSTR *ppwzSchemeName);
|
---|
1930 |
|
---|
1931 | HRESULT GetUserName(
|
---|
1932 | [out] DWORD *pcchUserName,
|
---|
1933 | [out] LPCWSTR *ppwzUserName);
|
---|
1934 |
|
---|
1935 | HRESULT SetFragment(
|
---|
1936 | [in] LPCWSTR pwzNewValue);
|
---|
1937 |
|
---|
1938 | HRESULT SetHost(
|
---|
1939 | [in] LPCWSTR pwzNewValue);
|
---|
1940 |
|
---|
1941 | HRESULT SetPassword(
|
---|
1942 | [in] LPCWSTR pwzNewValue);
|
---|
1943 |
|
---|
1944 | HRESULT SetPath(
|
---|
1945 | [in] LPCWSTR pwzNewValue);
|
---|
1946 |
|
---|
1947 | HRESULT SetPort(
|
---|
1948 | [in] BOOL fHasPort,
|
---|
1949 | [in] DWORD dwNewValue);
|
---|
1950 |
|
---|
1951 | HRESULT SetQuery(
|
---|
1952 | [in] LPCWSTR pwzNewValue);
|
---|
1953 |
|
---|
1954 | HRESULT SetSchemeName(
|
---|
1955 | [in] LPCWSTR pwzNewValue);
|
---|
1956 |
|
---|
1957 | HRESULT SetUserName(
|
---|
1958 | [in] LPCWSTR pwzNewValue);
|
---|
1959 |
|
---|
1960 | HRESULT RemoveProperties(
|
---|
1961 | [in] DWORD dwPropertyMask);
|
---|
1962 |
|
---|
1963 | HRESULT HasBeenModified(
|
---|
1964 | [out] BOOL *pfModified);
|
---|
1965 | };
|
---|
1966 |
|
---|
1967 | cpp_quote("HRESULT WINAPI CreateIUriBuilder(IUri*,DWORD,DWORD_PTR,IUriBuilder**);")
|
---|
1968 |
|
---|
1969 | /*****************************************************************************
|
---|
1970 | * IUriBuilderFactory interface
|
---|
1971 | */
|
---|
1972 | [
|
---|
1973 | local,
|
---|
1974 | object,
|
---|
1975 | uuid(e982ce48-0b96-440c-bc37-0c869b27a29e),
|
---|
1976 | pointer_default(unique)
|
---|
1977 | ]
|
---|
1978 | interface IUriBuilderFactory : IUnknown
|
---|
1979 | {
|
---|
1980 | HRESULT CreateIUriBuilder(
|
---|
1981 | [in] DWORD dwFlags,
|
---|
1982 | [in] DWORD_PTR dwReserved,
|
---|
1983 | [out] IUriBuilder **ppIUriBuilder);
|
---|
1984 |
|
---|
1985 | HRESULT CreateInitializedIUriBuilder(
|
---|
1986 | [in] DWORD dwFlags,
|
---|
1987 | [in] DWORD_PTR dwReserved,
|
---|
1988 | [out] IUriBuilder **ppIUriBuilder);
|
---|
1989 | }
|
---|
1990 |
|
---|
1991 | /*****************************************************************************
|
---|
1992 | * IInternetProtocolEx interface
|
---|
1993 | */
|
---|
1994 | [
|
---|
1995 | local,
|
---|
1996 | object,
|
---|
1997 | uuid(c7a98e66-1010-492c-a1c8-c809e1f75905),
|
---|
1998 | pointer_default(unique)
|
---|
1999 | ]
|
---|
2000 | interface IInternetProtocolEx : IInternetProtocol
|
---|
2001 | {
|
---|
2002 | HRESULT StartEx(
|
---|
2003 | [in] IUri *pUri,
|
---|
2004 | [in] IInternetProtocolSink *pOIProtSink,
|
---|
2005 | [in] IInternetBindInfo *pOIBindInfo,
|
---|
2006 | [in] DWORD grfPI,
|
---|
2007 | [in] HANDLE *dwReserved);
|
---|
2008 | }
|
---|
2009 |
|
---|
2010 | /*****************************************************************************
|
---|
2011 | * IGetBindHandle interface
|
---|
2012 | */
|
---|
2013 | [
|
---|
2014 | local,
|
---|
2015 | object,
|
---|
2016 | uuid(AF0FF408-129D-4b20-91F0-02BD23D88352),
|
---|
2017 | pointer_default(unique)
|
---|
2018 | ]
|
---|
2019 | interface IGetBindHandle : IUnknown
|
---|
2020 | {
|
---|
2021 | typedef [unique] IGetBindHandle *LPGETBINDHANDLE;
|
---|
2022 |
|
---|
2023 | typedef enum {
|
---|
2024 | BINDHANDLETYPES_APPCACHE = 0x00000000,
|
---|
2025 | BINDHANDLETYPES_DEPENDENCY = 0x00000001,
|
---|
2026 | BINDHANDLETYPES_COUNT
|
---|
2027 | } BINDHANDLETYPES;
|
---|
2028 |
|
---|
2029 | HRESULT GetBindHandle(
|
---|
2030 | [in] BINDHANDLETYPES enumRequestedHandle,
|
---|
2031 | [out] HANDLE *pRetHandle);
|
---|
2032 | }
|
---|
2033 |
|
---|
2034 | cpp_quote("#define CONFIRMSAFETYACTION_LOADOBJECT 0x00000001")
|
---|
2035 |
|
---|
2036 | struct CONFIRMSAFETY
|
---|
2037 | {
|
---|
2038 | CLSID clsid;
|
---|
2039 | IUnknown *pUnk;
|
---|
2040 | DWORD dwFlags;
|
---|
2041 | };
|
---|
2042 |
|
---|
2043 | cpp_quote("EXTERN_C const GUID GUID_CUSTOM_CONFIRMOBJECTSAFETY;")
|
---|
2044 |
|
---|
2045 | cpp_quote("DEFINE_GUID(CLSID_InternetSecurityManager, 0x7b8a2d94, 0x0ac9, 0x11d1, 0x89, 0x6c, 0x00, 0xc0, 0x4f, 0xB6, 0xbf, 0xc4);")
|
---|
2046 | cpp_quote("DEFINE_GUID(CLSID_InternetZoneManager, 0x7B8A2D95, 0x0AC9, 0x11D1, 0x89, 0x6C, 0x00, 0xC0, 0x4F, 0xB6, 0xBF, 0xC4);")
|
---|
2047 | cpp_quote("DEFINE_GUID(IID_IAsyncMoniker, 0x79EAC9D3, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
|
---|
2048 | cpp_quote("DEFINE_GUID(IID_IAsyncBindCtx, 0x79EAC9D4, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
|
---|
2049 | cpp_quote("DEFINE_GUID(CLSID_StdURLMoniker, 0x79EAC9E0, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
|
---|
2050 | cpp_quote("DEFINE_GUID(CLSID_DeCompMimeFilter, 0x8f6b0360, 0xb80d, 0x11d0, 0xa9,0xb3, 0x00,0x60,0x97,0x94,0x23,0x11);")
|
---|
2051 |
|
---|
2052 | cpp_quote("DEFINE_GUID(CLSID_CdlProtocol, 0x3dd53d40, 0x7b8b, 0x11D0, 0xb0,0x13, 0x00,0xaa,0x00,0x59,0xce,0x02);")
|
---|
2053 | cpp_quote("DEFINE_GUID(CLSID_FileProtocol, 0x79EAC9E7, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
|
---|
2054 | cpp_quote("DEFINE_GUID(CLSID_FtpProtocol, 0x79EAC9E3, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
|
---|
2055 | cpp_quote("DEFINE_GUID(CLSID_GopherProtocol, 0x79EAC9E4, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
|
---|
2056 | cpp_quote("DEFINE_GUID(CLSID_HttpProtocol, 0x79EAC9E2, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
|
---|
2057 | cpp_quote("DEFINE_GUID(CLSID_HttpSProtocol, 0x79EAC9E5, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
|
---|
2058 | cpp_quote("DEFINE_GUID(CLSID_MkProtocol, 0x79EAC9E6, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
|
---|
2059 |
|
---|
2060 | cpp_quote("#define URLMON_OPTION_USERAGENT 0x10000001")
|
---|
2061 | cpp_quote("#define URLMON_OPTION_USERAGENT_REFRESH 0x10000002")
|
---|
2062 | cpp_quote("#define URLMON_OPTION_URL_ENCODING 0x10000004")
|
---|
2063 |
|
---|
2064 | cpp_quote("#define MK_S_ASYNCHRONOUS _HRESULT_TYPEDEF_(0x000401E8)")
|
---|
2065 | cpp_quote("#ifndef S_ASYNCHRONOUS")
|
---|
2066 | cpp_quote("#define S_ASYNCHRONOUS MK_S_ASYNCHRONOUS")
|
---|
2067 | cpp_quote("#endif")
|
---|
2068 |
|
---|
2069 | cpp_quote("#define INET_E_ERROR_FIRST _HRESULT_TYPEDEF_(0x800C0002)")
|
---|
2070 | cpp_quote("#define INET_E_INVALID_URL _HRESULT_TYPEDEF_(0x800C0002)")
|
---|
2071 | cpp_quote("#define INET_E_NO_SESSION _HRESULT_TYPEDEF_(0x800C0003)")
|
---|
2072 | cpp_quote("#define INET_E_CANNOT_CONNECT _HRESULT_TYPEDEF_(0x800C0004)")
|
---|
2073 | cpp_quote("#define INET_E_RESOURCE_NOT_FOUND _HRESULT_TYPEDEF_(0x800C0005)")
|
---|
2074 | cpp_quote("#define INET_E_OBJECT_NOT_FOUND _HRESULT_TYPEDEF_(0x800C0006)")
|
---|
2075 | cpp_quote("#define INET_E_DATA_NOT_AVAILABLE _HRESULT_TYPEDEF_(0x800C0007)")
|
---|
2076 | cpp_quote("#define INET_E_DOWNLOAD_FAILURE _HRESULT_TYPEDEF_(0x800C0008)")
|
---|
2077 | cpp_quote("#define INET_E_AUTHENTICATION_REQUIRED _HRESULT_TYPEDEF_(0x800C0009)")
|
---|
2078 | cpp_quote("#define INET_E_NO_VALID_MEDIA _HRESULT_TYPEDEF_(0x800C000A)")
|
---|
2079 | cpp_quote("#define INET_E_CONNECTION_TIMEOUT _HRESULT_TYPEDEF_(0x800C000B)")
|
---|
2080 | cpp_quote("#define INET_E_INVALID_REQUEST _HRESULT_TYPEDEF_(0x800C000C)")
|
---|
2081 | cpp_quote("#define INET_E_UNKNOWN_PROTOCOL _HRESULT_TYPEDEF_(0x800C000D)")
|
---|
2082 | cpp_quote("#define INET_E_SECURITY_PROBLEM _HRESULT_TYPEDEF_(0x800C000E)")
|
---|
2083 | cpp_quote("#define INET_E_CANNOT_LOAD_DATA _HRESULT_TYPEDEF_(0x800C000F)")
|
---|
2084 | cpp_quote("#define INET_E_CANNOT_INSTANTIATE_OBJECT _HRESULT_TYPEDEF_(0x800C0010)")
|
---|
2085 | cpp_quote("#define INET_E_USE_DEFAULT_PROTOCOLHANDLER _HRESULT_TYPEDEF_(0x800C0011)")
|
---|
2086 | cpp_quote("#define INET_E_USE_DEFAULT_SETTING _HRESULT_TYPEDEF_(0x800C0012L)")
|
---|
2087 | cpp_quote("#define INET_E_DEFAULT_ACTION INET_E_USE_DEFAULT_PROTOCOLHANDLER")
|
---|
2088 | cpp_quote("#define INET_E_QUERYOPTION_UNKNOWN _HRESULT_TYPEDEF_(0x800C0013)")
|
---|
2089 | cpp_quote("#define INET_E_REDIRECT_FAILED _HRESULT_TYPEDEF_(0x800C0014)")
|
---|
2090 | cpp_quote("#define INET_E_REDIRECT_TO_DIR _HRESULT_TYPEDEF_(0x800C0015)")
|
---|
2091 | cpp_quote("#define INET_E_CANNOT_LOCK_REQUEST _HRESULT_TYPEDEF_(0x800C0016)")
|
---|
2092 | cpp_quote("#define INET_E_USE_EXTENDED_BINDING _HRESULT_TYPEDEF_(0x800C0017)")
|
---|
2093 | cpp_quote("#define INET_E_TERMINATED_BIND _HRESULT_TYPEDEF_(0x800C0018)")
|
---|
2094 | cpp_quote("#define INET_E_INVALID_CERTIFICATE _HRESULT_TYPEDEF_(0x800C0019)")
|
---|
2095 | cpp_quote("#define INET_E_CODE_DOWNLOAD_DECLINED _HRESULT_TYPEDEF_(0x800C0100)")
|
---|
2096 | cpp_quote("#define INET_E_RESULT_DISPATCHED _HRESULT_TYPEDEF_(0x800C0200)")
|
---|
2097 | cpp_quote("#define INET_E_CANNOT_REPLACE_SFP_FILE _HRESULT_TYPEDEF_(0x800C0300)")
|
---|
2098 | cpp_quote("#define INET_E_CODE_INSTALL_SUPPRESSED _HRESULT_TYPEDEF_(0x800C0400)")
|
---|
2099 | cpp_quote("#define INET_E_CODE_INSTALL_BLOCKED_BY_HASH_POLICY _HRESULT_TYPEDEF_(0x800C0500)")
|
---|
2100 | cpp_quote("#define INET_E_DOWNLOAD_BLOCKED_BY_INPRIVATE _HRESULT_TYPEDEF_(0x800C0501)")
|
---|
2101 | cpp_quote("#define INET_E_ERROR_LAST INET_E_DOWNLOAD_BLOCKED_BY_INPRIVATE")
|
---|
2102 |
|
---|
2103 | cpp_quote("HRESULT WINAPI CoGetClassObjectFromURL(REFCLSID, LPCWSTR, DWORD, DWORD, LPCWSTR, LPBINDCTX, DWORD, LPVOID, REFIID, LPVOID*);")
|
---|
2104 | cpp_quote("HRESULT WINAPI CreateURLMoniker(IMoniker *pmkContext, LPCWSTR szURL, IMoniker **ppmk);")
|
---|
2105 | cpp_quote("HRESULT WINAPI CreateURLMonikerEx(IMoniker*,LPCWSTR,IMoniker**,DWORD);")
|
---|
2106 | cpp_quote("HRESULT WINAPI CreateURLMonikerEx2(IMoniker*,IUri*,IMoniker**,DWORD);")
|
---|
2107 | cpp_quote("HRESULT WINAPI RegisterBindStatusCallback(IBindCtx *pbc, IBindStatusCallback *pbsc, IBindStatusCallback **ppbsc, DWORD dwReserved);")
|
---|
2108 | cpp_quote("HRESULT WINAPI CompareSecurityIds(BYTE*,DWORD,BYTE*,DWORD,DWORD);")
|
---|
2109 | cpp_quote("HRESULT WINAPI URLDownloadToFileA(LPUNKNOWN,LPCSTR,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
|
---|
2110 | cpp_quote("HRESULT WINAPI URLDownloadToFileW(LPUNKNOWN,LPCWSTR,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
|
---|
2111 | cpp_quote("HRESULT WINAPI URLDownloadToCacheFileA(LPUNKNOWN,LPCSTR,LPSTR,DWORD,DWORD,LPBINDSTATUSCALLBACK);")
|
---|
2112 | cpp_quote("HRESULT WINAPI URLDownloadToCacheFileW(LPUNKNOWN,LPCWSTR,LPWSTR,DWORD,DWORD,LPBINDSTATUSCALLBACK);")
|
---|
2113 | cpp_quote("HRESULT WINAPI CoInternetGetSession(DWORD,IInternetSession**,DWORD);")
|
---|
2114 | cpp_quote("HRESULT WINAPI MkParseDisplayNameEx(IBindCtx*,LPCWSTR,ULONG*,IMoniker**);")
|
---|
2115 | cpp_quote("HRESULT WINAPI IsAsyncMoniker(IMoniker* pmk);")
|
---|
2116 | cpp_quote("HRESULT WINAPI CreateAsyncBindCtx(DWORD, IBindStatusCallback*, IEnumFORMATETC*, IBindCtx**);")
|
---|
2117 | cpp_quote("HRESULT WINAPI CreateAsyncBindCtxEx(IBindCtx*,DWORD,IBindStatusCallback*,IEnumFORMATETC*,IBindCtx**,DWORD);")
|
---|
2118 | cpp_quote("HRESULT WINAPI CoInternetCreateSecurityManager(IServiceProvider*,IInternetSecurityManager**,DWORD);")
|
---|
2119 | cpp_quote("HRESULT WINAPI CoInternetCombineUrl(LPCWSTR,LPCWSTR,DWORD,LPWSTR,DWORD,DWORD*,DWORD);")
|
---|
2120 | cpp_quote("HRESULT WINAPI CoInternetCombineUrlEx(IUri*,LPCWSTR,DWORD,IUri**,DWORD_PTR);")
|
---|
2121 | cpp_quote("HRESULT WINAPI CoInternetCompareUrl(LPCWSTR,LPCWSTR,DWORD);")
|
---|
2122 | cpp_quote("HRESULT WINAPI CoInternetCombineIUri(IUri*,IUri*,DWORD,IUri**,DWORD_PTR);")
|
---|
2123 | cpp_quote("HRESULT WINAPI CoInternetCreateZoneManager(IServiceProvider*, IInternetZoneManager**, DWORD);")
|
---|
2124 | cpp_quote("HRESULT WINAPI CoInternetParseUrl(LPCWSTR,PARSEACTION,DWORD,LPWSTR,DWORD,DWORD*,DWORD);")
|
---|
2125 | cpp_quote("HRESULT WINAPI CoInternetParseIUri(IUri*,PARSEACTION,DWORD,LPWSTR,DWORD,DWORD*,DWORD_PTR);")
|
---|
2126 | cpp_quote("HRESULT WINAPI CoInternetQueryInfo(LPCWSTR,QUERYOPTION,DWORD,LPVOID,DWORD,DWORD*,DWORD);")
|
---|
2127 | cpp_quote("HRESULT WINAPI CoInternetSetFeatureEnabled(INTERNETFEATURELIST,DWORD,BOOL);")
|
---|
2128 | cpp_quote("HRESULT WINAPI CoInternetIsFeatureEnabled(INTERNETFEATURELIST,DWORD dwFlags);")
|
---|
2129 | cpp_quote("HRESULT WINAPI CoInternetIsFeatureEnabledForUrl(INTERNETFEATURELIST,DWORD,LPCWSTR,IInternetSecurityManager*);")
|
---|
2130 | cpp_quote("HRESULT WINAPI CoInternetGetSecurityUrl(LPCWSTR,LPWSTR*,PSUACTION,DWORD);")
|
---|
2131 | cpp_quote("HRESULT WINAPI CoInternetGetSecurityUrlEx(IUri*,IUri**,PSUACTION,DWORD_PTR);")
|
---|
2132 | cpp_quote("HRESULT WINAPI AsyncInstallDistributionUnit(LPCWSTR,LPCWSTR,LPCWSTR,DWORD,DWORD,LPCWSTR,IBindCtx*,LPVOID,DWORD);")
|
---|
2133 | cpp_quote("HRESULT WINAPI CreateFormatEnumerator(UINT,FORMATETC*,IEnumFORMATETC**);")
|
---|
2134 | cpp_quote("HRESULT WINAPI GetSoftwareUpdateInfo( LPCWSTR szDistUnit, LPSOFTDISTINFO psdi);")
|
---|
2135 | cpp_quote("HRESULT WINAPI FaultInIEFeature(HWND,uCLSSPEC*,QUERYCONTEXT*,DWORD);")
|
---|
2136 | cpp_quote("HRESULT WINAPI FindMimeFromData(LPBC,LPCWSTR,LPVOID,DWORD,LPCWSTR,DWORD,LPWSTR*,DWORD);")
|
---|
2137 | cpp_quote("HRESULT WINAPI GetClassFileOrMime(LPBC,LPCWSTR,LPVOID,DWORD,LPCWSTR,DWORD,CLSID*);")
|
---|
2138 | cpp_quote("HRESULT WINAPI HlinkGoBack(IUnknown*);")
|
---|
2139 | cpp_quote("HRESULT WINAPI HlinkGoForward(IUnknown*);")
|
---|
2140 | cpp_quote("HRESULT WINAPI HlinkNavigateMoniker(IUnknown*,IMoniker*);")
|
---|
2141 | cpp_quote("HRESULT WINAPI HlinkNavigateString(IUnknown*,LPCWSTR);")
|
---|
2142 | cpp_quote("HRESULT WINAPI HlinkSimpleNavigateToMoniker(IMoniker*,LPCWSTR,LPCWSTR,IUnknown*,IBindCtx*,IBindStatusCallback*,DWORD,DWORD);")
|
---|
2143 | cpp_quote("HRESULT WINAPI HlinkSimpleNavigateToString(LPCWSTR,LPCWSTR,LPCWSTR,IUnknown*,IBindCtx*,IBindStatusCallback*,DWORD,DWORD);")
|
---|
2144 | cpp_quote("HRESULT WINAPI IsValidURL(LPBC,LPCWSTR,DWORD);")
|
---|
2145 | cpp_quote("HRESULT WINAPI ObtainUserAgentString(DWORD,LPSTR,DWORD*);")
|
---|
2146 | cpp_quote("HRESULT WINAPI RegisterFormatEnumerator(LPBC,IEnumFORMATETC*,DWORD);")
|
---|
2147 | cpp_quote("HRESULT WINAPI RevokeFormatEnumerator(LPBC,IEnumFORMATETC*);")
|
---|
2148 | cpp_quote("HRESULT WINAPI RevokeBindStatusCallback(LPBC,IBindStatusCallback*);")
|
---|
2149 | cpp_quote("HRESULT WINAPI CopyStgMedium(const STGMEDIUM*,STGMEDIUM*);")
|
---|
2150 | cpp_quote("HRESULT WINAPI CopyBindInfo(const BINDINFO*,BINDINFO*);")
|
---|
2151 | cpp_quote("void WINAPI ReleaseBindInfo(BINDINFO*);")
|
---|
2152 | cpp_quote("HRESULT WINAPI UrlMkGetSessionOption(DWORD,LPVOID,DWORD,DWORD*,DWORD);")
|
---|
2153 | cpp_quote("HRESULT WINAPI UrlMkSetSessionOption(DWORD,LPVOID,DWORD,DWORD);")
|
---|
2154 | cpp_quote("HRESULT WINAPI URLOpenStreamA(LPUNKNOWN,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
|
---|
2155 | cpp_quote("HRESULT WINAPI URLOpenStreamW(LPUNKNOWN,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
|
---|
2156 | cpp_quote("HRESULT WINAPI URLOpenPullStreamA(LPUNKNOWN,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
|
---|
2157 | cpp_quote("HRESULT WINAPI URLOpenPullStreamW(LPUNKNOWN,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
|
---|
2158 | cpp_quote("HRESULT WINAPI URLOpenBlockingStreamA(LPUNKNOWN,LPCSTR,LPSTREAM*,DWORD,LPBINDSTATUSCALLBACK);")
|
---|
2159 | cpp_quote("HRESULT WINAPI URLOpenBlockingStreamW(LPUNKNOWN,LPCWSTR,LPSTREAM*,DWORD,LPBINDSTATUSCALLBACK);")
|
---|
2160 |
|
---|
2161 | cpp_quote("#define OInetCombineUrl CoInternetCombineUrl")
|
---|
2162 | cpp_quote("#define OInetCompareUrl CoInternetCompareUrl")
|
---|
2163 | cpp_quote("#define OInetGetSession CoInternetGetSession")
|
---|
2164 |
|
---|
2165 | cpp_quote("BOOL WINAPI IsLoggingEnabledA(LPCSTR);")
|
---|
2166 | cpp_quote("BOOL WINAPI IsLoggingEnabledW(LPCWSTR);")
|
---|
2167 | cpp_quote("#define IsLoggingEnabled WINELIB_NAME_AW(IsLoggingEnabled)")
|
---|
2168 |
|
---|
2169 | cpp_quote("#define MKSYS_URLMONIKER 6")
|
---|
2170 | cpp_quote("#define URL_MK_LEGACY 0")
|
---|
2171 | cpp_quote("#define URL_MK_UNIFORM 1")
|
---|
2172 | cpp_quote("#define URL_MK_NO_CANONICALIZE 2")
|
---|