VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/urlmon.idl@ 21731

Last change on this file since 21731 was 21731, checked in by vboxsync, 16 years ago

crOpenGL: update to wine 1.1.26

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

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette