VirtualBox

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

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

crOpenGL: update wine to 1.1.23

  • Property svn:eol-style set to native
File size: 51.4 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 * IAuthenticate interface
324 */
325[
326 local,
327 object,
328 uuid(79EAC9D0-BAf9-11CE-8C82-00AA004BA90B),
329 pointer_default(unique)
330]
331interface IAuthenticate : IUnknown
332{
333 typedef [unique] IAuthenticate *LPAUTHENTICATION;
334
335 HRESULT Authenticate(
336 [out] HWND* phwnd,
337 [out] LPWSTR *pszUsername,
338 [out] LPWSTR *pszPassword);
339}
340
341/*****************************************************************************
342 * IHttpNegotiate interface
343 */
344[
345 object,
346 uuid(79EAC9D2-BAF9-11CE-8C82-00AA004BA90B),
347 pointer_default(unique)
348]
349interface IHttpNegotiate : IUnknown
350{
351 typedef [unique] IHttpNegotiate *LPHTTPNEGOTIATE;
352
353 HRESULT BeginningTransaction(
354 [in] LPCWSTR szURL,
355 [in, unique] LPCWSTR szHeaders,
356 [in] DWORD dwReserved,
357 [out] LPWSTR *pszAdditionalHeaders);
358
359 HRESULT OnResponse(
360 [in] DWORD dwResponseCode,
361 [in, unique] LPCWSTR szResponseHeaders,
362 [in, unique] LPCWSTR szRequestHeaders,
363 [out] LPWSTR *pszAdditionalRequestHeaders);
364}
365
366/*****************************************************************************
367 * IHttpNegotiate2 interface
368 */
369[
370 object,
371 uuid(4F9F9FCB-E0F4-48eb-B7AB-FA2EA9365CB4),
372 pointer_default(unique)
373]
374interface IHttpNegotiate2 : IHttpNegotiate
375{
376 typedef [unique] IHttpNegotiate2 *LPHTTPNEGOTIATE2;
377
378 HRESULT GetRootSecurityId(
379 [out, size_is(*pcbSecurityId)] BYTE *pbSecurityId,
380 [in, out] DWORD *pcbSecurityId,
381 [in] DWORD_PTR dwReserved);
382}
383
384/*****************************************************************************
385 * IBindHost interface
386 */
387cpp_quote("#define SID_IBindHost IID_IBindHost")
388cpp_quote("#define SID_SBindHost IID_IBindHost")
389[
390 object,
391 uuid(fc4801a1-2ba9-11cf-a229-00aa003d7352),
392 pointer_default(unique)
393]
394interface IBindHost : IUnknown
395{
396 typedef [unique] IBindHost *LPBINDHOST;
397
398 HRESULT CreateMoniker(
399 [in] LPOLESTR szName,
400 [in] IBindCtx *pBC,
401 [out] IMoniker** ppmk,
402 [in] DWORD dwReserved);
403
404 [local]
405 HRESULT MonikerBindToStorage(
406 [in] IMoniker *pMk,
407 [in] IBindCtx *pBC,
408 [in] IBindStatusCallback *pBSC,
409 [in] REFIID riid,
410 [out] void **ppvObj);
411
412 [call_as(MonikerBindToStorage)]
413 HRESULT RemoteMonikerBindToStorage(
414 [in, unique] IMoniker *pMk,
415 [in, unique] IBindCtx *pBC,
416 [in, unique] IBindStatusCallback *pBSC,
417 [in] REFIID riid,
418 [out, iid_is(riid)] IUnknown **ppvObj);
419
420 [local]
421 HRESULT MonikerBindToObject(
422 [in] IMoniker *pMk,
423 [in] IBindCtx *pBC,
424 [in] IBindStatusCallback *pBSC,
425 [in] REFIID riid,
426 [out] void **ppvObj);
427
428 [call_as(MonikerBindToObject)]
429 HRESULT RemoteMonikerBindToObject(
430 [in, unique] IMoniker *pMk,
431 [in, unique] IBindCtx *pBC,
432 [in, unique] IBindStatusCallback *pBSC,
433 [in] REFIID riid,
434 [out, iid_is(riid)] IUnknown **ppvObj);
435}
436
437
438/*****************************************************************************
439 * IWinInetInfo interface
440 */
441[
442 object,
443 uuid(79eac9d6-bafa-11ce-8c82-00aa004ba90b),
444 pointer_default(unique)
445]
446interface IWinInetInfo : IUnknown
447{
448 typedef [unique] IWinInetInfo *LPWININETINFO;
449
450 [local]
451 HRESULT QueryOption(
452 [in] DWORD dwOption,
453 [in, out, size_is(*pcbBuf)] LPVOID pBuffer,
454 [in, out] DWORD *pcbBuf);
455
456 [call_as(QueryOption)]
457 HRESULT RemoteQueryOption(
458 [in] DWORD dwOption,
459 [in, out, size_is(*pcbBuf)] BYTE *pBuffer,
460 [in, out] DWORD *pcbBuf);
461}
462
463
464
465/*****************************************************************************
466 * IWinInetHttpInfo interface
467 */
468[
469 object,
470 uuid(79eac9d8-bafa-11ce-8c82-00aa004ba90b),
471 pointer_default(unique)
472]
473interface IWinInetHttpInfo : IWinInetInfo
474{
475 typedef [unique] IWinInetHttpInfo *LPWININETHTTPINFO;
476
477 [local]
478 HRESULT QueryInfo(
479 [in] DWORD dwOption,
480 [in, out,size_is(*pcbBuf)] LPVOID pBuffer,
481 [in, out] DWORD *pcbBuf,
482 [in, out] DWORD *pdwFlags,
483 [in, out] DWORD *pdwReserved);
484
485 [call_as(QueryInfo)]
486 HRESULT RemoteQueryInfo(
487 [in] DWORD dwOption,
488 [in,out,size_is(*pcbBuf)] BYTE *pBuffer,
489 [in, out] DWORD *pcbBuf,
490 [in, out] DWORD *pdwFlags,
491 [in, out] DWORD *pdwReserved);
492}
493
494/*****************************************************************************
495 * IWindowForBindingUI interface
496 */
497[
498 local,
499 object,
500 uuid(79eac9d5-bafa-11ce-8c82-00aa004ba90b),
501 pointer_default(unique)
502]
503interface IWindowForBindingUI : IUnknown
504{
505 typedef [unique] IWindowForBindingUI *LPWINDOWFORBINDINGUI;
506
507 HRESULT GetWindow(
508 [in] REFGUID rguidReason,
509 [out] HWND *phwnd);
510}
511
512/*****************************************************************************
513 * IHttpSecurity interface
514 */
515[
516 object,
517 uuid(79eac9d7-bafa-11ce-8c82-00aa004ba90b),
518 pointer_default(unique)
519]
520interface IHttpSecurity : IWindowForBindingUI
521{
522 typedef [unique] IHttpSecurity *LPHTTPSECURITY;
523
524 HRESULT OnSecurityProblem(
525 [in] DWORD dwProblem);
526}
527
528
529/*****************************************************************************
530 * IPersistMoniker interface
531 */
532[
533 object,
534 uuid(79eac9c9-baf9-11ce-8c82-00aa004ba90b),
535 pointer_default(unique)
536]
537interface IPersistMoniker : IUnknown
538{
539 typedef [unique] IPersistMoniker *LPPERSISTMONIKER;
540
541 HRESULT GetClassID(
542 [out] CLSID *pClassID);
543
544 HRESULT IsDirty();
545
546 HRESULT Load(
547 [in] BOOL fFullyAvailable,
548 [in] IMoniker *pimkName,
549 [in] LPBC pibc,
550 [in] DWORD grfMode);
551
552 HRESULT Save(
553 [in] IMoniker *pimkName,
554 [in] LPBC pbc,
555 [in] BOOL fRemember);
556
557 HRESULT SaveCompleted(
558 [in] IMoniker *pimkName,
559 [in] LPBC pibc);
560
561 HRESULT GetCurMoniker(
562 [out] IMoniker **ppimkName);
563}
564
565/*****************************************************************************
566 * IMonikerProp interface
567 */
568[
569 object,
570 uuid(A5CA5F7F-1847-4D87-9C5B-918509F7511D),
571 pointer_default(unique)
572]
573interface IMonikerProp : IUnknown
574{
575 typedef [unique] IMonikerProp *LPMONIKERPROP;
576
577 typedef enum {
578 MIMETYPEPROP = 0,
579 USE_SRC_URL = 1,
580 CLASSIDPROP = 2,
581 TRUSTEDDOWNLOADPROP = 3,
582 POPUPLEVELPROP = 4
583 } MONIKERPROPERTY;
584
585 HRESULT PutProperty(
586 [in] MONIKERPROPERTY mkp,
587 [in] LPCWSTR val);
588}
589
590cpp_quote("#ifndef _LPBINDPROTOCOL_DEFINED")
591cpp_quote("#define _LPBINDPROTOCOL_DEFINED")
592
593/*****************************************************************************
594 * IBindProtocol interface
595 */
596[
597 local,
598 object,
599 uuid(79EAC9CD-BAF9-11CE-8C82-00AA004BA90B),
600 pointer_default(unique)
601]
602interface IBindProtocol : IUnknown
603{
604 typedef [unique] IBindProtocol *LPBINDPROTOCOL;
605
606 HRESULT CreateBinding(
607 [in] LPCWSTR szUrl,
608 [in] IBindCtx *pbc,
609 [out] IBinding **ppb);
610}
611
612cpp_quote("#endif /* !defined _LPBINDPROTOCOL_DEFINED */")
613
614/*****************************************************************************
615 * IInternetBindInfo interface
616 */
617[
618 local,
619 object,
620 uuid(79EAC9E1-BAF9-11CE-8C82-00AA004BA90B),
621 pointer_default(unique)
622]
623interface IInternetBindInfo : IUnknown
624{
625 typedef [unique] IInternetBindInfo *LPIINTERNETBINDINFO;
626
627 typedef enum tagBINDSTRING
628 {
629 BINDSTRING_HEADERS = 1,
630 BINDSTRING_ACCEPT_MIMES,
631 BINDSTRING_EXTRA_URL,
632 BINDSTRING_LANGUAGE,
633 BINDSTRING_USERNAME,
634 BINDSTRING_PASSWORD,
635 BINDSTRING_UA_PIXELS,
636 BINDSTRING_UA_COLOR,
637 BINDSTRING_OS,
638 BINDSTRING_USER_AGENT,
639 BINDSTRING_ACCEPT_ENCODINGS,
640 BINDSTRING_POST_COOKIE,
641 BINDSTRING_POST_DATA_MIME,
642 BINDSTRING_URL,
643 BINDSTRING_IID,
644 BINDSTRING_FLAG_BIND_TO_OBJECT,
645 BINDSTRING_PTR_BIND_CONTEXT
646 } BINDSTRING;
647
648 HRESULT GetBindInfo(
649 [out] DWORD *grfBINDF,
650 [in, out, unique] BINDINFO *pbindinfo);
651
652 HRESULT GetBindString(
653 [in] ULONG ulStringType,
654 [in, out] LPOLESTR *ppwzStr,
655 [in] ULONG cEl,
656 [in, out] ULONG *pcElFetched);
657}
658
659/*****************************************************************************
660 * IInternetPriority interface
661 */
662[
663 local,
664 object,
665 uuid(79EAC9EB-BAF9-11CE-8C82-00AA004BA90B),
666 pointer_default(unique)
667]
668interface IInternetPriority : IUnknown
669{
670 typedef [unique] IInternetPriority *LPIINTERNETPRIORITY;
671
672 HRESULT SetPriority([in] LONG nPriority);
673 HRESULT GetPriority([out] LONG *pnPriority);
674}
675
676/*****************************************************************************
677 * IInternetProtocolRoot interface
678 */
679[
680 local,
681 object,
682 uuid(79EAC9E3-BAF9-11CE-8C82-00AA004BA90B),
683 pointer_default(unique)
684]
685interface IInternetProtocolRoot : IUnknown
686{
687 typedef [unique] IInternetProtocolRoot *LPIINTERNETPROTOCOLROOT;
688
689 typedef enum _tagPI_FLAGS
690 {
691 PI_PARSE_URL = 0x00000001,
692 PI_FILTER_MODE = 0x00000002,
693 PI_FORCE_ASYNC = 0x00000004,
694 PI_USE_WORKERTHREAD = 0x00000008,
695 PI_MIMEVERIFICATION = 0x00000010,
696 PI_CLSIDLOOKUP = 0x00000020,
697 PI_DATAPROGRESS = 0x00000040,
698 PI_SYNCHRONOUS = 0x00000080,
699 PI_APARTMENTTHREADED = 0x00000100,
700 PI_CLASSINSTALL = 0x00000200,
701 PD_FORCE_SWITCH = 0x00010000
702 } PI_FLAGS;
703
704 typedef struct _tagPROTOCOLDATA
705 {
706 DWORD grfFlags;
707 DWORD dwState;
708 LPVOID pData;
709 ULONG cbData;
710 } PROTOCOLDATA;
711
712 HRESULT Start(
713 [in] LPCWSTR szUrl,
714 [in] IInternetProtocolSink *pOIProtSink,
715 [in] IInternetBindInfo *pOIBindInfo,
716 [in] DWORD grfPI,
717 [in] HANDLE_PTR dwReserved);
718
719 HRESULT Continue(
720 [in] PROTOCOLDATA *pProtocolData);
721
722 HRESULT Abort(
723 [in] HRESULT hrReason,
724 [in] DWORD dwOptions);
725
726 HRESULT Terminate(
727 [in] DWORD dwOptions);
728
729 HRESULT Suspend();
730
731 HRESULT Resume();
732}
733
734/*****************************************************************************
735 * IInternetProtocolSink interface
736 */
737[
738 local,
739 object,
740 uuid(79EAC9E5-BAF9-11CE-8C82-00AA004BA90B),
741 pointer_default(unique)
742]
743interface IInternetProtocolSink : IUnknown
744{
745 typedef [unique] IInternetProtocolSink *LPIINTERNETPROTOCOLSINK;
746
747 HRESULT Switch(
748 [in] PROTOCOLDATA *pProtocolData);
749
750 HRESULT ReportProgress(
751 [in] ULONG ulStatusCode,
752 [in] LPCWSTR szStatusText);
753
754 HRESULT ReportData(
755 [in] DWORD grfBSCF,
756 [in] ULONG ulProgress,
757 [in] ULONG ulProgressMax);
758
759 HRESULT ReportResult(
760 [in] HRESULT hrResult,
761 [in] DWORD dwError,
762 [in] LPCWSTR szResult);
763}
764
765/*****************************************************************************
766 * IInternetProtocol interface
767 */
768[
769 local,
770 object,
771 uuid(79EAC9E4-BAF9-11CE-8C82-00AA004BA90B),
772 pointer_default(unique)
773]
774interface IInternetProtocol : IInternetProtocolRoot
775{
776 typedef [unique] IInternetProtocol *LPIINTERNETPROTOCOL;
777
778 HRESULT Read(
779 [in,out, size_is(cb), length_is(*pcbRead)] void *pv,
780 [in] ULONG cb,
781 [out] ULONG *pcbRead);
782
783 HRESULT Seek(
784 [in] LARGE_INTEGER dlibMove,
785 [in] DWORD dwOrigin,
786 [out] ULARGE_INTEGER *plibNewPosition);
787
788 HRESULT LockRequest(
789 [in] DWORD dwOptions);
790
791 HRESULT UnlockRequest();
792}
793
794/*****************************************************************************
795 * IInternetProtocolInfo interface
796 */
797[
798 local,
799 object,
800 uuid(79eac9ec-baf9-11ce-8c82-00aa004ba90b),
801 pointer_default(unique)
802]
803interface IInternetProtocolInfo : IUnknown
804{
805 typedef [unique] IInternetProtocolInfo *LPIINTERNETPROTOCOLINFO;
806
807 typedef enum _tagPARSEACTION
808 {
809 PARSE_CANONICALIZE = 1,
810 PARSE_FRIENDLY,
811 PARSE_SECURITY_URL,
812 PARSE_ROOTDOCUMENT,
813 PARSE_DOCUMENT,
814 PARSE_ANCHOR,
815 PARSE_ENCODE,
816 PARSE_DECODE,
817 PARSE_PATH_FROM_URL,
818 PARSE_URL_FROM_PATH,
819 PARSE_MIME,
820 PARSE_SERVER,
821 PARSE_SCHEMA,
822 PARSE_SITE,
823 PARSE_DOMAIN,
824 PARSE_LOCATION,
825 PARSE_SECURITY_DOMAIN,
826 PARSE_ESCAPE,
827 PARSE_UNESCAPE
828 } PARSEACTION;
829
830 typedef enum _tagPSUACTION
831 {
832 PSU_DEFAULT = 1,
833 PSU_SECURITY_URL_ONLY
834 } PSUACTION;
835
836 typedef enum _tagQUERYOPTION
837 {
838 QUERY_EXPIRATION_DATE = 1,
839 QUERY_TIME_OF_LAST_CHANGE,
840 QUERY_CONTENT_ENCODING,
841 QUERY_CONTENT_TYPE,
842 QUERY_REFRESH,
843 QUERY_RECOMBINE,
844 QUERY_CAN_NAVIGATE,
845 QUERY_USES_NETWORK,
846 QUERY_IS_CACHED,
847 QUERY_IS_INSTALLEDENTRY,
848 QUERY_IS_CACHED_OR_MAPPED,
849 QUERY_USES_CACHE,
850 QUERY_IS_SECURE,
851 QUERY_IS_SAFE,
852 QUERY_USES_HISTORYFOLDER
853 } QUERYOPTION;
854
855 HRESULT ParseUrl(
856 [in] LPCWSTR pwzUrl,
857 [in] PARSEACTION ParseAction,
858 [in] DWORD dwParseFlags,
859 [out] LPWSTR pwzResult,
860 [in] DWORD cchResult,
861 [out] DWORD *pcchResult,
862 [in] DWORD dwReserved);
863
864 HRESULT CombineUrl(
865 [in] LPCWSTR pwzBaseUrl,
866 [in] LPCWSTR pwzRelativeUrl,
867 [in] DWORD dwCombineFlags,
868 [out] LPWSTR pwzResult,
869 [in] DWORD cchResult,
870 [out] DWORD *pcchResult,
871 [in] DWORD dwReserved);
872
873 HRESULT CompareUrl(
874 [in] LPCWSTR pwzUrl1,
875 [in] LPCWSTR pwzUrl2,
876 [in] DWORD dwCompareFlags);
877
878 HRESULT QueryInfo(
879 [in] LPCWSTR pwzUrl,
880 [in] QUERYOPTION OueryOption,
881 [in] DWORD dwQueryFlags,
882 [in, out,size_is(*pcbBuf)] LPVOID pBuffer,
883 [in] DWORD cbBuffer,
884 [in, out] DWORD *pcbBuf,
885 [in] DWORD dwReserved);
886}
887
888/*****************************************************************************
889 * IInternetSession interface
890 */
891[
892 local,
893 object,
894 uuid(79eac9e7-baf9-11ce-8c82-00aa004ba90b),
895 pointer_default(unique)
896]
897interface IInternetSession : IUnknown
898{
899 typedef [unique] IInternetSession *LPIINTERNETSESSION;
900
901 typedef enum _tagOIBDG_FLAGS
902 {
903 OIBDG_APARTMENTTHREADED = 0x0100,
904 OIBDG_DATAONLY = 0x1000
905 } OIBDG_FLAGS;
906
907 HRESULT RegisterNameSpace(
908 [in] IClassFactory *pCF,
909 [in] REFCLSID rclsid,
910 [in] LPCWSTR pwzProtocol,
911 [in] ULONG cPatterns,
912 [in] const LPCWSTR *ppwzPatterns,
913 [in] DWORD dwReserved);
914
915 HRESULT UnregisterNameSpace(
916 [in] IClassFactory *pCF,
917 [in] LPCWSTR pszProtocol);
918
919 HRESULT RegisterMimeFilter(
920 [in] IClassFactory *pCF,
921 [in] REFCLSID rclsid,
922 [in] LPCWSTR pwzType);
923
924 HRESULT UnregisterMimeFilter(
925 [in] IClassFactory *pCF,
926 [in] LPCWSTR pwzType);
927
928 HRESULT CreateBinding(
929 [in] LPBC pBC,
930 [in] LPCWSTR szUrl,
931 [in] IUnknown *pUnkOuter,
932 [out, unique] IUnknown **ppUnk,
933 [out, unique] IInternetProtocol **ppOInetProt,
934 [in] DWORD dwOption);
935
936 HRESULT SetSessionOption(
937 [in] DWORD dwOption,
938 [in] LPVOID pBuffer,
939 [in] DWORD dwBufferLength,
940 [in] DWORD dwReserved);
941}
942
943/*****************************************************************************
944 * IInternetSecurityMgrSite interface
945 */
946[
947 local,
948 object,
949 uuid(79eac9ed-baf9-11ce-8c82-00aa004ba90b),
950 pointer_default(unique)
951]
952interface IInternetSecurityMgrSite : IUnknown
953{
954 HRESULT GetWindow(
955 [out] HWND *phwnd);
956
957 HRESULT EnableModeless(
958 [in] BOOL fEnable);
959}
960
961
962/*****************************************************************************
963 * IInternetSecurityManager interface
964 */
965cpp_quote("#define SID_SInternetSecurityManager IID_IInternetSecurityManager")
966
967[
968 object,
969 uuid(79eac9ee-baf9-11ce-8c82-00aa004ba90b),
970 pointer_default(unique)
971]
972interface IInternetSecurityManager : IUnknown
973{
974 HRESULT SetSecuritySite(
975 [in, unique] IInternetSecurityMgrSite *pSite);
976
977 HRESULT GetSecuritySite(
978 [out] IInternetSecurityMgrSite **ppSite);
979
980 HRESULT MapUrlToZone(
981 [in] LPCWSTR pwszUrl,
982 [out] DWORD *pdwZone,
983 [in] DWORD dwFlags);
984
985cpp_quote("#define MAX_SIZE_SECURITY_ID 512")
986
987 HRESULT GetSecurityId(
988 [in] LPCWSTR pwszUrl,
989 [out, size_is(*pcbSecurityId)] BYTE *pbSecurityId,
990 [in, out] DWORD *pcbSecurityId,
991 [in] DWORD_PTR dwReserved);
992
993
994 typedef enum {
995 PUAF_DEFAULT = 0x00,
996 PUAF_NOUI = 0x01,
997 PUAF_ISFILE = 0x02,
998 PUAF_WARN_IF_DENIED = 0x04,
999 PUAF_FORCEUI_FOREGROUND = 0x08,
1000 PUAF_CHECK_TIPS = 0x10
1001 } PUAF;
1002
1003 HRESULT ProcessUrlAction(
1004 [in] LPCWSTR pwszUrl,
1005 [in] DWORD dwAction,
1006 [out, size_is(cbPolicy)] BYTE *pPolicy,
1007 [in] DWORD cbPolicy,
1008 [in] BYTE *pContext,
1009 [in] DWORD cbContext,
1010 [in] DWORD dwFlags,
1011 [in] DWORD dwReserved);
1012
1013 HRESULT QueryCustomPolicy(
1014 [in] LPCWSTR pwszUrl,
1015 [in] REFGUID guidKey,
1016 [out, size_is(,*pcbPolicy)] BYTE **ppPolicy,
1017 [out] DWORD *pcbPolicy,
1018 [in] BYTE *pContext,
1019 [in] DWORD cbContext,
1020 [in] DWORD dwReserved);
1021
1022 typedef enum {
1023 SZM_CREATE = 0x0,
1024 SZM_DELETE = 0x1
1025 } SZM_FLAGS;
1026
1027 HRESULT SetZoneMapping(
1028 [in] DWORD dwZone,
1029 [in] LPCWSTR lpszPattern,
1030 [in] DWORD dwFlags);
1031
1032 HRESULT GetZoneMappings(
1033 [in] DWORD dwZone,
1034 [out] IEnumString **ppenumString,
1035 [in] DWORD dwFlags);
1036}
1037
1038cpp_quote("#define URLACTION_MIN 0x00001000")
1039cpp_quote("#define URLACTION_DOWNLOAD_MIN 0x00001000")
1040cpp_quote("#define URLACTION_DOWNLOAD_SIGNED_ACTIVEX 0x00001001")
1041cpp_quote("#define URLACTION_DOWNLOAD_UNSIGNED_ACTIVEX 0x00001004")
1042cpp_quote("#define URLACTION_DOWNLOAD_CURR_MAX 0x00001004")
1043cpp_quote("#define URLACTION_DOWNLOAD_MAX 0x000011ff")
1044
1045cpp_quote("#define URLACTION_ACTIVEX_MIN 0x00001200")
1046cpp_quote("#define URLACTION_ACTIVEX_RUN 0x00001200")
1047cpp_quote("#define URLPOLICY_ACTIVEX_CHECK_LIST 0x00010000")
1048cpp_quote("#define URLACTION_ACTIVEX_OVERRIDE_OBJECT_SAFETY 0x00001201")
1049cpp_quote("#define URLACTION_ACTIVEX_OVERRIDE_DATA_SAFETY 0x00001202")
1050cpp_quote("#define URLACTION_ACTIVEX_OVERRIDE_SCRIPT_SAFETY 0x00001203")
1051cpp_quote("#define URLACTION_SCRIPT_OVERRIDE_SAFETY 0x00001401")
1052cpp_quote("#define URLACTION_ACTIVEX_CONFIRM_NOOBJECTSAFETY 0x00001204")
1053cpp_quote("#define URLACTION_ACTIVEX_TREATASUNTRUSTED 0x00001205")
1054cpp_quote("#define URLACTION_ACTIVEX_CURR_MAX 0x00001205")
1055cpp_quote("#define URLACTION_ACTIVEX_MAX 0x000013ff")
1056
1057cpp_quote("#define URLACTION_SCRIPT_MIN 0x00001400")
1058cpp_quote("#define URLACTION_SCRIPT_RUN 0x00001400")
1059cpp_quote("#define URLACTION_SCRIPT_JAVA_USE 0x00001402")
1060cpp_quote("#define URLACTION_SCRIPT_SAFE_ACTIVEX 0x00001405")
1061cpp_quote("#define URLACTION_CROSS_DOMAIN_DATA 0x00001406")
1062cpp_quote("#define URLACTION_SCRIPT_PASTE 0x00001407")
1063cpp_quote("#define URLACTION_SCRIPT_CURR_MAX 0x00001407")
1064cpp_quote("#define URLACTION_SCRIPT_MAX 0x000015ff")
1065
1066cpp_quote("#define URLACTION_HTML_MIN 0x00001600")
1067cpp_quote("#define URLACTION_HTML_SUBMIT_FORMS 0x00001601")
1068cpp_quote("#define URLACTION_HTML_SUBMIT_FORMS_FROM 0x00001602")
1069cpp_quote("#define URLACTION_HTML_SUBMIT_FORMS_TO 0x00001603")
1070cpp_quote("#define URLACTION_HTML_FONT_DOWNLOAD 0x00001604")
1071cpp_quote("#define URLACTION_HTML_JAVA_RUN 0x00001605")
1072cpp_quote("#define URLACTION_HTML_USERDATA_SAVE 0x00001606")
1073cpp_quote("#define URLACTION_HTML_SUBFRAME_NAVIGATE 0x00001607")
1074cpp_quote("#define URLACTION_HTML_META_REFRESH 0x00001608")
1075cpp_quote("#define URLACTION_HTML_MIXED_CONTENT 0x00001609")
1076cpp_quote("#define URLACTION_HTML_MAX 0x000017ff")
1077
1078cpp_quote("#define URLACTION_SHELL_MIN 0x00001800")
1079cpp_quote("#define URLACTION_SHELL_INSTALL_DTITEMS 0x00001800")
1080cpp_quote("#define URLACTION_SHELL_MOVE_OR_COPY 0x00001802")
1081cpp_quote("#define URLACTION_SHELL_FILE_DOWNLOAD 0x00001803")
1082cpp_quote("#define URLACTION_SHELL_VERB 0x00001804")
1083cpp_quote("#define URLACTION_SHELL_WEBVIEW_VERB 0x00001805")
1084cpp_quote("#define URLACTION_SHELL_CURR_MAX 0x00001805")
1085cpp_quote("#define URLACTION_SHELL_MAX 0x000019ff")
1086
1087cpp_quote("#define URLACTION_NETWORK_MIN 0x00001a00")
1088cpp_quote("#define URLACTION_CREDENTIALS_USE 0x00001a00")
1089cpp_quote("#define URLACTION_AUTHENTICATE_CLIENT 0x00001a01")
1090cpp_quote("#define URLACTION_COOKIES 0x00001a02")
1091cpp_quote("#define URLACTION_COOKIES_SESSION 0x00001a03")
1092cpp_quote("#define URLACTION_CLIENT_CERT_PROMPT 0x00001a04")
1093cpp_quote("#define URLACTION_COOKIES_THIRD_PARTY 0x00001a05")
1094cpp_quote("#define URLACTION_COOKIES_SESSION_THIRD_PARTY 0x00001a06")
1095cpp_quote("#define URLACTION_COOKIES_ENABLED 0x00001a10")
1096cpp_quote("#define URLACTION_NETWORK_CURR_MAX 0x00001a10")
1097cpp_quote("#define URLACTION_NETWORK_MAX 0x00001bff")
1098
1099cpp_quote("#define URLACTION_JAVA_MIN 0x00001c00")
1100cpp_quote("#define URLACTION_JAVA_PERMISSIONS 0x00001c00")
1101cpp_quote("#define URLPOLICY_JAVA_PROHIBIT 0x00000000")
1102cpp_quote("#define URLPOLICY_JAVA_HIGH 0x00010000")
1103cpp_quote("#define URLPOLICY_JAVA_MEDIUM 0x00020000")
1104cpp_quote("#define URLPOLICY_JAVA_LOW 0x00030000")
1105cpp_quote("#define URLPOLICY_JAVA_CUSTOM 0x00800000")
1106cpp_quote("#define URLACTION_JAVA_CURR_MAX 0x00001c00")
1107cpp_quote("#define URLACTION_JAVA_MAX 0x00001cff")
1108
1109cpp_quote("#define URLACTION_INFODELIVERY_MIN 0x00001d00")
1110cpp_quote("#define URLACTION_INFODELIVERY_NO_ADDING_CHANNELS 0x00001d00")
1111cpp_quote("#define URLACTION_INFODELIVERY_NO_EDITING_CHANNELS 0x00001d01")
1112cpp_quote("#define URLACTION_INFODELIVERY_NO_REMOVING_CHANNELS 0x00001d02")
1113cpp_quote("#define URLACTION_INFODELIVERY_NO_ADDING_SUBSCRIPTIONS 0x00001d03")
1114cpp_quote("#define URLACTION_INFODELIVERY_NO_EDITING_SUBSCRIPTIONS 0x00001d04")
1115cpp_quote("#define URLACTION_INFODELIVERY_NO_REMOVING_SUBSCRIPTIONS 0x00001d05")
1116cpp_quote("#define URLACTION_INFODELIVERY_NO_CHANNEL_LOGGING 0x00001d06")
1117cpp_quote("#define URLACTION_INFODELIVERY_CURR_MAX 0x00001d06")
1118cpp_quote("#define URLACTION_INFODELIVERY_MAX 0x00001dff")
1119
1120cpp_quote("#define URLACTION_CHANNEL_SOFTDIST_MIN 0x00001e00")
1121cpp_quote("#define URLACTION_CHANNEL_SOFTDIST_PERMISSIONS 0x00001e05")
1122cpp_quote("#define URLPOLICY_CHANNEL_SOFTDIST_PROHIBIT 0x00010000")
1123cpp_quote("#define URLPOLICY_CHANNEL_SOFTDIST_PRECACHE 0x00020000")
1124cpp_quote("#define URLPOLICY_CHANNEL_SOFTDIST_AUTOINSTALL 0x00030000")
1125cpp_quote("#define URLACTION_CHANNEL_SOFTDIST_MAX 0x00001eff")
1126
1127cpp_quote("#define URLPOLICY_ALLOW 0x00")
1128cpp_quote("#define URLPOLICY_QUERY 0x01")
1129cpp_quote("#define URLPOLICY_DISALLOW 0x03")
1130
1131cpp_quote("#define URLPOLICY_NOTIFY_ON_ALLOW 0x10")
1132cpp_quote("#define URLPOLICY_NOTIFY_ON_DISALLOW 0x20")
1133
1134cpp_quote("#define URLPOLICY_LOG_ON_ALLOW 0x40")
1135cpp_quote("#define URLPOLICY_LOG_ON_DISALLOW 0x80")
1136
1137cpp_quote("#define URLPOLICY_DONTCHECKDLGBOX 0x100")
1138
1139cpp_quote("#define URLPOLICY_CREDENTIALS_SILENT_LOGON_OK 0x00000000")
1140cpp_quote("#define URLPOLICY_CREDENTIALS_MUST_PROMPT_USER 0x00010000")
1141cpp_quote("#define URLPOLICY_CREDENTIALS_CONDITIONAL_PROMPT 0x00020000")
1142cpp_quote("#define URLPOLICY_CREDENTIALS_ANONYMOUS_ONLY 0x00030000")
1143
1144cpp_quote("#define URLPOLICY_AUTHENTICATE_CLEARTEXT_OK 0x00000000")
1145cpp_quote("#define URLPOLICY_AUTHENTICATE_CHALLENGE_RESPONSE 0x00010000")
1146cpp_quote("#define URLPOLICY_AUTHENTICATE_MUTUAL_ONLY 0x00030000")
1147
1148cpp_quote("#define URLPOLICY_MASK_PERMISSIONS 0x0f")
1149cpp_quote("#define GetUrlPolicyPermissions(dw) (dw & URLPOLICY_MASK_PERMISSIONS)")
1150cpp_quote("#define SetUrlPolicyPermissions(dw,dw2) ((dw) = ((dw) & ~URLPOLICY_MASK_PERMISSIONS) | (dw2))")
1151
1152/*****************************************************************************
1153 * IInternetZoneManager interface
1154 */
1155[
1156 local,
1157 object,
1158 uuid(79EAC9EF-BAf9-11CE-8C82-00AA004BA90B),
1159 pointer_default(unique)
1160]
1161interface IInternetZoneManager : IUnknown
1162{
1163 typedef [unique] IInternetZoneManager* LPURLZONEMANAGER;
1164
1165 typedef enum tagURLZONE
1166 {
1167 URLZONE_PREDEFINED_MIN = 0,
1168 URLZONE_LOCAL_MACHINE = 0,
1169 URLZONE_INTRANET = 1,
1170 URLZONE_TRUSTED = 2,
1171 URLZONE_INTERNET = 3,
1172 URLZONE_UNTRUSTED = 4,
1173 URLZONE_PREDEFINED_MAX = 999,
1174 URLZONE_USER_MIN = 1000,
1175 URLZONE_USER_MAX = 10000,
1176 } URLZONE;
1177
1178 typedef enum tagURLTEMPLATE
1179 {
1180 URLTEMPLATE_CUSTOM = 0x00000,
1181 URLTEMPLATE_PREDEFINED_MIN = 0x10000,
1182 URLTEMPLATE_LOW = 0x10000,
1183 URLTEMPLATE_MEDIUM = 0x11000,
1184 URLTEMPLATE_HIGH = 0x12000,
1185 URLTEMPLATE_PREDEFINED_MAX = 0x20000,
1186 } URLTEMPLATE ;
1187
1188 typedef enum {
1189 ZAFLAGS_CUSTOM_EDIT = 0x00000001,
1190 ZAFLAGS_ADD_SITES = 0x00000002,
1191 ZAFLAGS_REQUIRE_VERIFICATION = 0x00000004,
1192 ZAFLAGS_INCLUDE_PROXY_OVERRIDE = 0x00000008,
1193 ZAFLAGS_INCLUDE_INTRANET_SITES = 0x00000010,
1194 ZAFLAGS_NO_UI = 0x00000020,
1195 ZAFLAGS_SUPPORTS_VERIFICATION = 0x00000040,
1196 ZAFLAGS_UNC_AS_INTRANET = 0x00000080,
1197 } ZAFLAGS ;
1198
1199 enum {
1200 MAX_ZONE_PATH = 260,
1201 MAX_ZONE_DESCRIPTION = 200
1202 };
1203
1204 typedef struct _ZONEATTRIBUTES {
1205 ULONG cbSize;
1206 WCHAR szDisplayName[MAX_ZONE_PATH];
1207 WCHAR szDescription[MAX_ZONE_DESCRIPTION];
1208 WCHAR szIconPath[MAX_ZONE_PATH];
1209 DWORD dwTemplateMinLevel;
1210 DWORD dwTemplateRecommended;
1211 DWORD dwTemplateCurrentLevel;
1212 DWORD dwFlags;
1213 } ZONEATTRIBUTES, *LPZONEATTRIBUTES;
1214
1215 typedef enum _URLZONEREG {
1216 URLZONEREG_DEFAULT,
1217 URLZONEREG_HKLM,
1218 URLZONEREG_HKCU
1219 } URLZONEREG;
1220
1221 HRESULT GetZoneAttributes(
1222 [in] DWORD dwZone,
1223 [in, out, unique] ZONEATTRIBUTES* pZoneAttributes);
1224
1225 HRESULT SetZoneAttributes(
1226 [in] DWORD dwZone,
1227 [in] ZONEATTRIBUTES* pZoneAttributes);
1228
1229 HRESULT GetZoneCustomPolicy(
1230 [in] DWORD dwZone,
1231 [in] REFGUID guidKey,
1232 [out] BYTE **ppPolicy,
1233 [out] DWORD* pcbPolicy,
1234 [in] URLZONEREG ulrZoneReg);
1235
1236 HRESULT SetZoneCustomPolicy(
1237 [in] DWORD dwZone,
1238 [in] REFGUID guidKey,
1239 [in] BYTE *ppPolicy,
1240 [in] DWORD pcbPolicy,
1241 [in] URLZONEREG ulrZoneReg);
1242
1243 HRESULT GetZoneActionPolicy(
1244 [in] DWORD dwZone,
1245 [in] DWORD dwAction,
1246 [out] BYTE* pPolicy,
1247 [in] DWORD cbPolicy,
1248 [in] URLZONEREG urlZoneReg);
1249
1250 HRESULT SetZoneActionPolicy(
1251 [in] DWORD dwZone,
1252 [in] DWORD dwAction,
1253 [in] BYTE* pPolicy,
1254 [in] DWORD cbPolicy,
1255 [in] URLZONEREG urlZoneReg);
1256
1257 HRESULT PromptAction(
1258 [in] DWORD dwAction,
1259 [in] HWND hwndParent,
1260 [in] LPCWSTR pwszUrl,
1261 [in] LPCWSTR pwszText,
1262 [in] DWORD dwPromptFlags );
1263
1264 HRESULT LogAction(
1265 [in] DWORD dwAction,
1266 [in] LPCWSTR pwszUrl,
1267 [in] LPCWSTR pwszText,
1268 [in] DWORD dwLogFlags);
1269
1270 HRESULT CreateZoneEnumerator(
1271 [out] DWORD* pdwEnum,
1272 [out] DWORD* pdwCount,
1273 [in] DWORD dwFlags);
1274
1275 HRESULT GetZoneAt(
1276 [in] DWORD dwEnum,
1277 [in] DWORD dwIndex,
1278 [out] DWORD* pdwZone);
1279
1280 HRESULT DestroyZoneEnumerator(
1281 [in] DWORD dwEnum);
1282
1283 HRESULT CopyTemplatePoliciesToZone(
1284 [in] DWORD dwTemplate,
1285 [in] DWORD dwZone,
1286 [in] DWORD dwReserved);
1287}
1288
1289typedef struct _tagSOFTDISTINFO
1290{
1291 ULONG cbSize;
1292 DWORD dwFlags;
1293 DWORD dwAdState;
1294 LPWSTR szTitle;
1295 LPWSTR szAbstract;
1296 LPWSTR szHREF;
1297 DWORD dwInstalledVersionMS;
1298 DWORD dwInstalledVersionLS;
1299 DWORD dwUpdateVersionMS;
1300 DWORD dwUpdateVersionLS;
1301 DWORD dwAdvertisedVersionMS;
1302 DWORD dwAdvertisedVersionLS;
1303 DWORD dwReserved;
1304} SOFTDISTINFO, *LPSOFTDISTINFO;
1305
1306typedef struct _tagCODEBASEHOLD
1307{
1308 DWORD cbSize;
1309 LPWSTR szDistUnit;
1310 LPWSTR szCodeBase;
1311 DWORD dwVersionMS;
1312 DWORD dwVersionLS;
1313 DWORD dwStyle;
1314} CODEBASEHOLD, *LPCODEBASEHOLD;
1315
1316[
1317 local,
1318 object,
1319 uuid(b15b8dc1-c7e1-11d0-8680-00aa00bdcb71),
1320 pointer_default(unique)
1321]
1322interface ISoftDistExt : IUnknown
1323{
1324 HRESULT ProcessSoftDist(
1325 [in] LPCWSTR szCDFURL,
1326 [in] IXMLElement *pSoftDistElement,
1327 [in, out] LPSOFTDISTINFO lpsdi );
1328
1329 HRESULT GetFirstCodeBase(
1330 [in] LPWSTR *szCodeBase,
1331 [in] LPDWORD dwMaxSize );
1332
1333 HRESULT GetNextCodeBase(
1334 [in] LPWSTR *szCodeBase,
1335 [in] LPDWORD dwMaxSize );
1336
1337 HRESULT AsyncInstallDistributionUnit(
1338 [in] IBindCtx *pbc,
1339 [in] LPVOID lpReserved,
1340 [in] DWORD flags,
1341 [in] LPCODEBASEHOLD lpcbh);
1342}
1343
1344typedef enum _tagINTERNETFEATURELIST
1345{
1346 FEATURE_OBJECT_CACHING,
1347 FEATURE_ZONE_ELEVATION,
1348 FEATURE_MIME_HANDLING,
1349 FEATURE_MIME_SNIFFING,
1350 FEATURE_WINDOW_RESTRICTIONS,
1351 FEATURE_WEBOC_POPUPMANAGEMENT,
1352 FEATURE_BEHAVIORS,
1353 FEATURE_DISABLE_MK_PROTOCOL,
1354 FEATURE_LOCALMACHINE_LOCKDOWN,
1355 FEATURE_SECURITYBAND,
1356 FEATURE_RESTRICT_ACTIVEXINSTALL,
1357 FEATURE_VALIDATE_NAVIGATE_URL,
1358 FEATURE_RESTRICT_FILEDOWNLOAD,
1359 FEATURE_ADDON_MANAGEMENT,
1360 FEATURE_PROTOCOL_LOCKDOWN,
1361 FEATURE_HTTP_USERNAME_PASSWORD_DISABLE,
1362 FEATURE_SAFE_BINDTOOBJECT,
1363 FEATURE_UNC_SAVEDFILECHECK,
1364 FEATURE_GET_URL_DOM_FILEPATH_UNENCODED,
1365 FEATURE_TABBED_BROWSING,
1366 FEATURE_SSLUX,
1367 FEATURE_DISABLE_NAVIGATION_SOUNDS,
1368 FEATURE_DISABLE_LEGACY_COMPRESSION,
1369 FEATURE_FORCE_ADDR_AND_STATUS,
1370 FEATURE_XMLHTTP,
1371 FEATURE_DISABLE_TELNET_PROTOCOL,
1372 FEATURE_FEEDS,
1373 FEATURE_BLOCK_INPUT_PROMPTS,
1374 FEATURE_DOMSTORAGE,
1375 FEATURE_XDOMAINREQUEST,
1376 FEATURE_DATAURI,
1377 FEATURE_AJAX_CONNECTIONSERVICES,
1378 FEATURE_ENTRY_COUNT
1379} INTERNETFEATURELIST;
1380
1381typedef struct _tagPROTOCOLFILTERDATA {
1382 DWORD cbSize;
1383 IInternetProtocolSink *pProtocolSink;
1384 IInternetProtocol *pProtocol;
1385 IUnknown *pUnk;
1386 DWORD dwFilterFlags;
1387} PROTOCOLFILTERDATA;
1388
1389/*****************************************************************************
1390 * IUri interface
1391 */
1392[
1393 local,
1394 object,
1395 uuid(a39ee748-6a27-4817-a6f2-13914bef5890),
1396 pointer_default(unique)
1397]
1398interface IUri : IUnknown
1399{
1400 typedef enum
1401 {
1402 Uri_PROPERTY_ABSOLUTE_URI = 0,
1403 Uri_PROPERTY_STRING_START = Uri_PROPERTY_ABSOLUTE_URI,
1404 Uri_PROPERTY_AUTHORITY = 1,
1405 Uri_PROPERTY_DISPLAY_URI = 2,
1406 Uri_PROPERTY_DOMAIN = 3,
1407 Uri_PROPERTY_EXTENSION = 4,
1408 Uri_PROPERTY_FRAGMENT = 5,
1409 Uri_PROPERTY_HOST = 6,
1410 Uri_PROPERTY_PASSWORD = 7,
1411 Uri_PROPERTY_PATH = 8,
1412 Uri_PROPERTY_PATH_AND_QUERY = 9,
1413 Uri_PROPERTY_QUERY = 10,
1414 Uri_PROPERTY_RAW_URI = 11,
1415 Uri_PROPERTY_SCHEME_NAME = 12,
1416 Uri_PROPERTY_USER_INFO = 13,
1417 Uri_PROPERTY_USER_NAME = 14,
1418 Uri_PROPERTY_STRING_LAST = Uri_PROPERTY_USER_NAME,
1419 Uri_PROPERTY_HOST_TYPE = 15,
1420 Uri_PROPERTY_DWORD_START = Uri_PROPERTY_HOST_TYPE,
1421 Uri_PROPERTY_PORT = 16,
1422 Uri_PROPERTY_SCHEME = 17,
1423 Uri_PROPERTY_ZONE = 18,
1424 Uri_PROPERTY_DWORD_LAST = Uri_PROPERTY_ZONE
1425 } Uri_PROPERTY;
1426
1427 HRESULT GetPropertyBSTR(
1428 [in] Uri_PROPERTY uriProp,
1429 [out] BSTR *pbstrProperty,
1430 [in] DWORD dwFlags);
1431
1432 HRESULT GetPropertyLength(
1433 [in] Uri_PROPERTY uriProp,
1434 [out] DWORD *pcchProperty,
1435 [in] DWORD dwFlags);
1436
1437 HRESULT GetPropertyDWORD(
1438 [in] Uri_PROPERTY uriProp,
1439 [out] DWORD *pdwProperty,
1440 [in] DWORD dwFlags);
1441
1442 HRESULT HasProperty(
1443 [in] Uri_PROPERTY uriProp,
1444 [out] BOOL *pfHasProperty);
1445
1446 HRESULT GetAbsoluteUri(
1447 [out] BSTR *pbstrAbsoluteUri);
1448
1449 HRESULT GetAuthority(
1450 [out] BSTR *pbstrAuthority);
1451
1452 HRESULT GetDisplayUri(
1453 [out] BSTR *pbstrDisplayString);
1454
1455 HRESULT GetDomain(
1456 [out] BSTR *pbstrDomain);
1457
1458 HRESULT GetExtension(
1459 [out] BSTR *pbstrExtension);
1460
1461 HRESULT GetFragment(
1462 [out] BSTR *pbstrFragment);
1463
1464 HRESULT GetHost(
1465 [out] BSTR *pbstrHost);
1466
1467 HRESULT GetPassword(
1468 [out] BSTR *pbstrPassword);
1469
1470 HRESULT GetPath(
1471 [out] BSTR *pbstrPath);
1472
1473 HRESULT GetPathAndQuery(
1474 [out] BSTR *pbstrPathAndQuery);
1475
1476 HRESULT GetQuery(
1477 [out] BSTR *pbstrQuery);
1478
1479 HRESULT GetRawUri(
1480 [out] BSTR *pbstrRawUri);
1481
1482 HRESULT GetSchemeName(
1483 [out] BSTR *pbstrSchemeName);
1484
1485 HRESULT GetUserInfo(
1486 [out] BSTR *pbstrUserInfo);
1487
1488 HRESULT GetUserName(
1489 [out] BSTR *pbstrUserName);
1490
1491 HRESULT GetHostType(
1492 [out] DWORD *pdwHostType);
1493
1494 HRESULT GetPort(
1495 [out] DWORD *pdwPort);
1496
1497 HRESULT GetScheme(
1498 [out] DWORD *pdwScheme);
1499
1500 HRESULT GetZone(
1501 [out] DWORD *pdwZone);
1502
1503 * IUriContainer interface
1504 */
1505[
1506 local,
1507 object,
1508 uuid(a158a630-ed6f-45fb-b987-f68676f57752),
1509 pointer_default(unique)
1510]
1511interface IUriContainer : IUnknown
1512{
1513 HRESULT GetIUri([out] IUri **ppIUri);
1514}
1515
1516/*****************************************************************************
1517 HRESULT GetProperties(
1518 [out] LPDWORD pdwFlags);
1519
1520 HRESULT IsEqual(
1521 [in] IUri *pUri,
1522 [out] BOOL *pfEqual);
1523}
1524
1525/*****************************************************************************
1526 * IInternetProtocolEx interface
1527 */
1528[
1529 local,
1530 object,
1531 uuid(c7a98e66-1010-492c-a1c8-c809e1f75905),
1532 pointer_default(unique)
1533]
1534interface IInternetProtocolEx : IInternetProtocol
1535{
1536 HRESULT StartEx(
1537 [in] IUri *pUri,
1538 [in] IInternetProtocolSink *pOIProtSink,
1539 [in] IInternetBindInfo *pOIBindInfo,
1540 [in] DWORD grfPI,
1541 [in] HANDLE *dwReserved);
1542}
1543
1544cpp_quote("DEFINE_GUID(CLSID_InternetSecurityManager, 0x7b8a2d94, 0x0ac9, 0x11d1, 0x89, 0x6c, 0x00, 0xc0, 0x4f, 0xB6, 0xbf, 0xc4);")
1545cpp_quote("DEFINE_GUID(CLSID_InternetZoneManager, 0x7B8A2D95, 0x0AC9, 0x11D1, 0x89, 0x6C, 0x00, 0xC0, 0x4F, 0xB6, 0xBF, 0xC4);")
1546cpp_quote("DEFINE_GUID(IID_IAsyncMoniker, 0x79EAC9D3, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
1547cpp_quote("DEFINE_GUID(IID_IAsyncBindCtx, 0x79EAC9D4, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
1548cpp_quote("DEFINE_GUID(CLSID_StdURLMoniker, 0x79EAC9E0, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
1549cpp_quote("DEFINE_GUID(CLSID_DeCompMimeFilter, 0x8f6b0360, 0xb80d, 0x11d0, 0xa9,0xb3, 0x00,0x60,0x97,0x94,0x23,0x11);")
1550
1551cpp_quote("DEFINE_GUID(CLSID_CdlProtocol, 0x3dd53d40, 0x7b8b, 0x11D0, 0xb0,0x13, 0x00,0xaa,0x00,0x59,0xce,0x02);")
1552cpp_quote("DEFINE_GUID(CLSID_FileProtocol, 0x79EAC9E7, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
1553cpp_quote("DEFINE_GUID(CLSID_FtpProtocol, 0x79EAC9E3, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
1554cpp_quote("DEFINE_GUID(CLSID_GopherProtocol, 0x79EAC9E4, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
1555cpp_quote("DEFINE_GUID(CLSID_HttpProtocol, 0x79EAC9E2, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
1556cpp_quote("DEFINE_GUID(CLSID_HttpSProtocol, 0x79EAC9E5, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
1557cpp_quote("DEFINE_GUID(CLSID_MkProtocol, 0x79EAC9E6, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
1558
1559cpp_quote("#define URLMON_OPTION_USERAGENT 0x10000001")
1560cpp_quote("#define URLMON_OPTION_USERAGENT_REFRESH 0x10000002")
1561cpp_quote("#define URLMON_OPTION_URL_ENCODING 0x10000004")
1562
1563cpp_quote("#define MK_S_ASYNCHRONOUS _HRESULT_TYPEDEF_(0x000401E8)")
1564cpp_quote("#ifndef S_ASYNCHRONOUS")
1565cpp_quote("#define S_ASYNCHRONOUS MK_S_ASYNCHRONOUS")
1566cpp_quote("#endif")
1567
1568cpp_quote("#define INET_E_ERROR_FIRST _HRESULT_TYPEDEF_(0x800C0002)")
1569cpp_quote("#define INET_E_INVALID_URL _HRESULT_TYPEDEF_(0x800C0002)")
1570cpp_quote("#define INET_E_NO_SESSION _HRESULT_TYPEDEF_(0x800C0003)")
1571cpp_quote("#define INET_E_CANNOT_CONNECT _HRESULT_TYPEDEF_(0x800C0004)")
1572cpp_quote("#define INET_E_RESOURCE_NOT_FOUND _HRESULT_TYPEDEF_(0x800C0005)")
1573cpp_quote("#define INET_E_OBJECT_NOT_FOUND _HRESULT_TYPEDEF_(0x800C0006)")
1574cpp_quote("#define INET_E_DATA_NOT_AVAILABLE _HRESULT_TYPEDEF_(0x800C0007)")
1575cpp_quote("#define INET_E_DOWNLOAD_FAILURE _HRESULT_TYPEDEF_(0x800C0008)")
1576cpp_quote("#define INET_E_AUTHENTICATION_REQUIRED _HRESULT_TYPEDEF_(0x800C0009)")
1577cpp_quote("#define INET_E_NO_VALID_MEDIA _HRESULT_TYPEDEF_(0x800C000A)")
1578cpp_quote("#define INET_E_CONNECTION_TIMEOUT _HRESULT_TYPEDEF_(0x800C000B)")
1579cpp_quote("#define INET_E_INVALID_REQUEST _HRESULT_TYPEDEF_(0x800C000C)")
1580cpp_quote("#define INET_E_UNKNOWN_PROTOCOL _HRESULT_TYPEDEF_(0x800C000D)")
1581cpp_quote("#define INET_E_SECURITY_PROBLEM _HRESULT_TYPEDEF_(0x800C000E)")
1582cpp_quote("#define INET_E_CANNOT_LOAD_DATA _HRESULT_TYPEDEF_(0x800C000F)")
1583cpp_quote("#define INET_E_CANNOT_INSTANTIATE_OBJECT _HRESULT_TYPEDEF_(0x800C0010)")
1584cpp_quote("#define INET_E_USE_DEFAULT_PROTOCOLHANDLER _HRESULT_TYPEDEF_(0x800C0011)")
1585cpp_quote("#define INET_E_QUERYOPTION_UNKNOWN _HRESULT_TYPEDEF_(0x800C0013)")
1586cpp_quote("#define INET_E_REDIRECT_FAILED _HRESULT_TYPEDEF_(0x800C0014)")
1587cpp_quote("#define INET_E_REDIRECT_TO_DIR _HRESULT_TYPEDEF_(0x800C0015)")
1588cpp_quote("#define INET_E_CANNOT_LOCK_REQUEST _HRESULT_TYPEDEF_(0x800C0016)")
1589cpp_quote("#define INET_E_ERROR_LAST INET_E_REDIRECT_TO_DIR")
1590cpp_quote("#define INET_E_DEFAULT_ACTION INET_E_USE_DEFAULT_PROTOCOLHANDLER")
1591
1592cpp_quote("HRESULT WINAPI CoGetClassObjectFromURL(REFCLSID, LPCWSTR, DWORD, DWORD, LPCWSTR, LPBINDCTX, DWORD, LPVOID, REFIID, LPVOID*);")
1593cpp_quote("HRESULT WINAPI CreateURLMoniker(IMoniker *pmkContext, LPCWSTR szURL, IMoniker **ppmk);")
1594cpp_quote("HRESULT WINAPI RegisterBindStatusCallback(IBindCtx *pbc, IBindStatusCallback *pbsc, IBindStatusCallback **ppbsc, DWORD dwReserved);")
1595cpp_quote("HRESULT WINAPI CompareSecurityIds(BYTE*,DWORD,BYTE*,DWORD,DWORD);")
1596cpp_quote("HRESULT WINAPI URLDownloadToFileA(LPUNKNOWN,LPCSTR,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
1597cpp_quote("HRESULT WINAPI URLDownloadToFileW(LPUNKNOWN,LPCWSTR,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
1598cpp_quote("HRESULT WINAPI URLDownloadToCacheFileA(LPUNKNOWN,LPCSTR,LPSTR,DWORD,DWORD,LPBINDSTATUSCALLBACK);")
1599cpp_quote("HRESULT WINAPI URLDownloadToCacheFileW(LPUNKNOWN,LPCWSTR,LPWSTR,DWORD,DWORD,LPBINDSTATUSCALLBACK);")
1600cpp_quote("HRESULT WINAPI CoInternetGetSession(DWORD,IInternetSession**,DWORD);")
1601cpp_quote("HRESULT WINAPI MkParseDisplayNameEx(IBindCtx*,LPCWSTR,ULONG*,IMoniker**);")
1602cpp_quote("HRESULT WINAPI IsAsyncMoniker(IMoniker* pmk);")
1603cpp_quote("HRESULT WINAPI CreateAsyncBindCtx(DWORD, IBindStatusCallback*, IEnumFORMATETC*, IBindCtx**);")
1604cpp_quote("HRESULT WINAPI CreateAsyncBindCtxEx(IBindCtx*,DWORD,IBindStatusCallback*,IEnumFORMATETC*,IBindCtx**,DWORD);")
1605cpp_quote("HRESULT WINAPI CoInternetCreateSecurityManager(IServiceProvider*,IInternetSecurityManager**,DWORD);")
1606cpp_quote("HRESULT WINAPI CoInternetCombineUrl(LPCWSTR,LPCWSTR,DWORD,LPWSTR,DWORD,DWORD*,DWORD);")
1607cpp_quote("HRESULT WINAPI CoInternetCompareUrl(LPCWSTR,LPCWSTR,DWORD);")
1608cpp_quote("HRESULT WINAPI CoInternetCreateZoneManager(IServiceProvider*, IInternetZoneManager**, DWORD);")
1609cpp_quote("HRESULT WINAPI CoInternetParseUrl(LPCWSTR,PARSEACTION,DWORD,LPWSTR,DWORD,DWORD*,DWORD);")
1610cpp_quote("HRESULT WINAPI CoInternetQueryInfo(LPCWSTR,QUERYOPTION,DWORD,LPVOID,DWORD,DWORD*,DWORD);")
1611cpp_quote("HRESULT WINAPI CoInternetSetFeatureEnabled(INTERNETFEATURELIST,DWORD,BOOL);")
1612cpp_quote("HRESULT WINAPI CreateFormatEnumerator(UINT,FORMATETC*,IEnumFORMATETC**);")
1613cpp_quote("HRESULT WINAPI GetSoftwareUpdateInfo( LPCWSTR szDistUnit, LPSOFTDISTINFO psdi);")
1614cpp_quote("HRESULT WINAPI FaultInIEFeature(HWND,uCLSSPEC*,QUERYCONTEXT*,DWORD);")
1615cpp_quote("HRESULT WINAPI FindMimeFromData(LPBC,LPCWSTR,LPVOID,DWORD,LPCWSTR,DWORD,LPWSTR*,DWORD);")
1616cpp_quote("HRESULT WINAPI GetClassFileOrMime(LPBC,LPCWSTR,LPVOID,DWORD,LPCWSTR,DWORD,CLSID*);")
1617cpp_quote("HRESULT WINAPI HlinkGoBack(IUnknown*);")
1618cpp_quote("HRESULT WINAPI HlinkGoForward(IUnknown*);")
1619cpp_quote("HRESULT WINAPI HlinkNavigateMoniker(IUnknown*,IMoniker*);")
1620cpp_quote("HRESULT WINAPI HlinkNavigateString(IUnknown*,LPCWSTR);")
1621cpp_quote("HRESULT WINAPI HlinkSimpleNavigateToMoniker(IMoniker*,LPCWSTR,LPCWSTR,IUnknown*,IBindCtx*,IBindStatusCallback*,DWORD,DWORD);")
1622cpp_quote("HRESULT WINAPI HlinkSimpleNavigateToString(LPCWSTR,LPCWSTR,LPCWSTR,IUnknown*,IBindCtx*,IBindStatusCallback*,DWORD,DWORD);")
1623cpp_quote("HRESULT WINAPI IsValidURL(LPBC,LPCWSTR,DWORD);")
1624cpp_quote("HRESULT WINAPI ObtainUserAgentString(DWORD,LPSTR,DWORD*);")
1625cpp_quote("HRESULT WINAPI RegisterFormatEnumerator(LPBC,IEnumFORMATETC*,DWORD);")
1626cpp_quote("HRESULT WINAPI RevokeFormatEnumerator(LPBC,IEnumFORMATETC*);")
1627cpp_quote("HRESULT WINAPI RevokeBindStatusCallback(LPBC,IBindStatusCallback*);")
1628cpp_quote("HRESULT WINAPI CopyStgMedium(const STGMEDIUM*,STGMEDIUM*);")
1629cpp_quote("void WINAPI ReleaseBindInfo(BINDINFO*);")
1630cpp_quote("HRESULT WINAPI UrlMkGetSessionOption(DWORD,LPVOID,DWORD,DWORD*,DWORD);")
1631cpp_quote("HRESULT WINAPI UrlMkSetSessionOption(DWORD,LPVOID,DWORD,DWORD);")
1632cpp_quote("HRESULT WINAPI URLOpenStreamA(LPUNKNOWN,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
1633cpp_quote("HRESULT WINAPI URLOpenStreamW(LPUNKNOWN,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
1634cpp_quote("HRESULT WINAPI URLOpenPullStreamA(LPUNKNOWN,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
1635cpp_quote("HRESULT WINAPI URLOpenPullStreamW(LPUNKNOWN,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
1636cpp_quote("HRESULT WINAPI URLOpenBlockingStreamA(LPUNKNOWN,LPCSTR,LPSTREAM*,DWORD,LPBINDSTATUSCALLBACK);")
1637cpp_quote("HRESULT WINAPI URLOpenBlockingStreamW(LPUNKNOWN,LPCWSTR,LPSTREAM*,DWORD,LPBINDSTATUSCALLBACK);")
1638
1639cpp_quote("#define OInetCombineUrl CoInternetCombineUrl")
1640cpp_quote("#define OInetCompareUrl CoInternetCompareUrl")
1641cpp_quote("#define OInetGetSession CoInternetGetSession")
1642
1643cpp_quote("BOOL WINAPI IsLoggingEnabledA(LPCSTR);")
1644cpp_quote("BOOL WINAPI IsLoggingEnabledW(LPCWSTR);")
1645cpp_quote("#define IsLoggingEnabled WINELIB_NAME_AW(IsLoggingEnabled)")
1646
1647cpp_quote("#define MKSYS_URLMONIKER 6")
1648cpp_quote("#define URL_MK_LEGACY 0")
1649cpp_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