1 /*** Autogenerated by WIDL 0.1 from urlmon.idl - Do not edit ***/
5 #ifndef __WIDL_URLMON_H
6 #define __WIDL_URLMON_H
13 #ifndef __IBinding_FWD_DEFINED__
14 #define __IBinding_FWD_DEFINED__
15 typedef struct IBinding IBinding;
18 typedef IBinding *LPBINDING;
20 /*****************************************************************************
23 #ifndef __IBinding_INTERFACE_DEFINED__
24 #define __IBinding_INTERFACE_DEFINED__
26 DEFINE_GUID(IID_IBinding, 0x79eac9c0, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b);
27 #if defined(__cplusplus) && !defined(CINTERFACE)
28 struct IBinding : public IUnknown
30 virtual HRESULT STDMETHODCALLTYPE Abort(
33 virtual HRESULT STDMETHODCALLTYPE Suspend(
36 virtual HRESULT STDMETHODCALLTYPE Resume(
39 virtual HRESULT STDMETHODCALLTYPE SetPriority(
42 virtual HRESULT STDMETHODCALLTYPE GetPriority(
43 LONG* pnPriority) = 0;
45 virtual HRESULT STDMETHODCALLTYPE GetBindResult(
46 CLSID* pclsidProtocol,
49 DWORD* pdwReserved) = 0;
53 typedef struct IBindingVtbl IBindingVtbl;
55 const IBindingVtbl* lpVtbl;
58 ICOM_MSVTABLE_COMPAT_FIELDS
60 /*** IUnknown methods ***/
61 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
66 ULONG (STDMETHODCALLTYPE *AddRef)(
69 ULONG (STDMETHODCALLTYPE *Release)(
72 /*** IBinding methods ***/
73 HRESULT (STDMETHODCALLTYPE *Abort)(
76 HRESULT (STDMETHODCALLTYPE *Suspend)(
79 HRESULT (STDMETHODCALLTYPE *Resume)(
82 HRESULT (STDMETHODCALLTYPE *SetPriority)(
86 HRESULT (STDMETHODCALLTYPE *GetPriority)(
90 HRESULT (STDMETHODCALLTYPE *GetBindResult)(
92 CLSID* pclsidProtocol,
99 /*** IUnknown methods ***/
100 #define IBinding_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
101 #define IBinding_AddRef(p) (p)->lpVtbl->AddRef(p)
102 #define IBinding_Release(p) (p)->lpVtbl->Release(p)
103 /*** IBinding methods ***/
104 #define IBinding_Abort(p) (p)->lpVtbl->Abort(p)
105 #define IBinding_Suspend(p) (p)->lpVtbl->Suspend(p)
106 #define IBinding_Resume(p) (p)->lpVtbl->Resume(p)
107 #define IBinding_SetPriority(p,a) (p)->lpVtbl->SetPriority(p,a)
108 #define IBinding_GetPriority(p,a) (p)->lpVtbl->GetPriority(p,a)
109 #define IBinding_GetBindResult(p,a,b,c,d) (p)->lpVtbl->GetBindResult(p,a,b,c,d)
113 #define IBinding_METHODS \
114 ICOM_MSVTABLE_COMPAT_FIELDS \
115 /*** IUnknown methods ***/ \
116 STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
117 STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
118 STDMETHOD_(ULONG,Release)(THIS) PURE; \
119 /*** IBinding methods ***/ \
120 STDMETHOD_(HRESULT,Abort)(THIS) PURE; \
121 STDMETHOD_(HRESULT,Suspend)(THIS) PURE; \
122 STDMETHOD_(HRESULT,Resume)(THIS) PURE; \
123 STDMETHOD_(HRESULT,SetPriority)(THIS_ LONG nPriority) PURE; \
124 STDMETHOD_(HRESULT,GetPriority)(THIS_ LONG* pnPriority) PURE; \
125 STDMETHOD_(HRESULT,GetBindResult)(THIS_ CLSID* pclsidProtocol, DWORD* pdwResult, LPOLESTR* pszResult, DWORD* pdwReserved) PURE;
127 HRESULT CALLBACK IBinding_Abort_Proxy(
129 void __RPC_STUB IBinding_Abort_Stub(
130 struct IRpcStubBuffer* This,
131 struct IRpcChannelBuffer* pRpcChannelBuffer,
132 PRPC_MESSAGE pRpcMessage,
133 DWORD* pdwStubPhase);
134 HRESULT CALLBACK IBinding_Suspend_Proxy(
136 void __RPC_STUB IBinding_Suspend_Stub(
137 struct IRpcStubBuffer* This,
138 struct IRpcChannelBuffer* pRpcChannelBuffer,
139 PRPC_MESSAGE pRpcMessage,
140 DWORD* pdwStubPhase);
141 HRESULT CALLBACK IBinding_Resume_Proxy(
143 void __RPC_STUB IBinding_Resume_Stub(
144 struct IRpcStubBuffer* This,
145 struct IRpcChannelBuffer* pRpcChannelBuffer,
146 PRPC_MESSAGE pRpcMessage,
147 DWORD* pdwStubPhase);
148 HRESULT CALLBACK IBinding_SetPriority_Proxy(
151 void __RPC_STUB IBinding_SetPriority_Stub(
152 struct IRpcStubBuffer* This,
153 struct IRpcChannelBuffer* pRpcChannelBuffer,
154 PRPC_MESSAGE pRpcMessage,
155 DWORD* pdwStubPhase);
156 HRESULT CALLBACK IBinding_GetPriority_Proxy(
159 void __RPC_STUB IBinding_GetPriority_Stub(
160 struct IRpcStubBuffer* This,
161 struct IRpcChannelBuffer* pRpcChannelBuffer,
162 PRPC_MESSAGE pRpcMessage,
163 DWORD* pdwStubPhase);
164 HRESULT CALLBACK IBinding_RemoteGetBindResult_Proxy(
166 CLSID* pclsidProtocol,
170 void __RPC_STUB IBinding_RemoteGetBindResult_Stub(
171 struct IRpcStubBuffer* This,
172 struct IRpcChannelBuffer* pRpcChannelBuffer,
173 PRPC_MESSAGE pRpcMessage,
174 DWORD* pdwStubPhase);
175 HRESULT CALLBACK IBinding_GetBindResult_Proxy(
177 CLSID* pclsidProtocol,
181 HRESULT __RPC_STUB IBinding_GetBindResult_Stub(
183 CLSID* pclsidProtocol,
188 #endif /* __IBinding_INTERFACE_DEFINED__ */
190 #ifndef __IBindStatusCallback_FWD_DEFINED__
191 #define __IBindStatusCallback_FWD_DEFINED__
192 typedef struct IBindStatusCallback IBindStatusCallback;
195 typedef IBindStatusCallback *LPBINDSTATUSCALLBACK;
198 BINDF_ASYNCHRONOUS = 0x1,
199 BINDF_ASYNCSTORAGE = 0x2,
200 BINDF_NOPROGRESSIVERENDERING = 0x4,
201 BINDF_OFFLINEOPERATION = 0x8,
202 BINDF_GETNEWESTVERSION = 0x10,
203 BINDF_NOWRITECACHE = 0x20,
204 BINDF_NEEDFILE = 0x40,
205 BINDF_PULLDATA = 0x80,
206 BINDF_IGNORESECURITYPROBLEM = 0x100,
207 BINDF_RESYNCHRONIZE = 0x200,
208 BINDF_HYPERLINK = 0x400,
210 BINDF_SILENTOPERATION = 0x1000,
211 BINDF_PRAGMA_NO_CACHE = 0x2000,
212 BINDF_GETCLASSOBJECT = 0x4000,
213 BINDF_RESERVED_1 = 0x8000,
214 BINDF_FREE_THREADED = 0x10000,
215 BINDF_DIRECT_READ = 0x20000,
216 BINDF_FORMS_SUBMIT = 0x40000,
217 BINDF_GETFROMCACHE_IF_NET_FAIL = 0x80000,
218 BINDF_FROMURLMON = 0x100000,
219 BINDF_FWD_BACK = 0x200000,
220 BINDF_PREFERDEFAULTHANDLER = 0x400000,
221 BINDF_ENFORCERESTRICTED = 0x800000
224 typedef struct _tagBINDINFO {
227 STGMEDIUM stgmedData;
233 DWORD dwOptionsFlags;
235 SECURITY_ATTRIBUTES securityAttributes;
241 typedef struct _REMSECURITY_ATTRIBUTES {
243 DWORD lpSecurityDescriptor;
245 } REMSECURITY_ATTRIBUTES, *PREMSECURITY_ATTRIBUTES, *LPREMSECURITY_ATTRIBUTES;
247 typedef struct _tagRemBINDINFO {
255 DWORD dwOptionsFlags;
257 REMSECURITY_ATTRIBUTES securityAttributes;
263 typedef struct tagRemFORMATETC {
269 } RemFORMATETC, *LPREMFORMATETC;
272 BSCF_FIRSTDATANOTIFICATION = 0x1,
273 BSCF_INTERMEDIATEDATANOTIFICATION = 0x2,
274 BSCF_LASTDATANOTIFICATION = 0x4,
275 BSCF_DATAFULLYAVAILABLE = 0x8,
276 BSCF_AVAILABLEDATASIZEUNKNOWN = 0x10
279 typedef enum BINDSTATUS {
280 BINDSTATUS_FINDINGRESOURCE = 1,
281 BINDSTATUS_CONNECTING,
282 BINDSTATUS_REDIRECTING,
283 BINDSTATUS_BEGINDOWNLOADDATA,
284 BINDSTATUS_DOWNLOADINGDATA,
285 BINDSTATUS_ENDDOWNLOADDATA,
286 BINDSTATUS_BEGINDOWNLOADCOMPONENTS,
287 BINDSTATUS_INSTALLINGCOMPONENTS,
288 BINDSTATUS_ENDDOWNLOADCOMPONENTS,
289 BINDSTATUS_USINGCACHEDCOPY,
290 BINDSTATUS_SENDINGREQUEST,
291 BINDSTATUS_CLASSIDAVAILABLE,
292 BINDSTATUS_MIMETYPEAVAILABLE,
293 BINDSTATUS_CACHEFILENAMEAVAILABLE,
294 BINDSTATUS_BEGINSYNCOPERATION,
295 BINDSTATUS_ENDSYNCOPERATION,
296 BINDSTATUS_BEGINUPLOADDATA,
297 BINDSTATUS_UPLOADINGDATA,
298 BINDSTATUS_ENDUPLOADINGDATA,
299 BINDSTATUS_PROTOCOLCLASSID,
301 BINDSTATUS_VERFIEDMIMETYPEAVAILABLE,
302 BINDSTATUS_CLASSINSTALLLOCATION,
304 BINDSTATUS_LOADINGMIMEHANDLER,
305 BINDSTATUS_CONTENTDISPOSITIONATTACH,
306 BINDSTATUS_FILTERREPORTMIMETYPE,
307 BINDSTATUS_CLSIDCANINSTANTIATE,
308 BINDSTATUS_IUNKNOWNAVAILABLE,
309 BINDSTATUS_DIRECTBIND,
310 BINDSTATUS_RAWMIMETYPE,
311 BINDSTATUS_PROXYDETECTING,
312 BINDSTATUS_ACCEPTRANGES,
313 BINDSTATUS_COOKIE_SENT,
314 BINDSTATUS_COMPACT_POLICY_RECEIVED,
315 BINDSTATUS_COOKIE_SUPPRESSED,
316 BINDSTATUS_COOKIE_STATE_UNKNOWN,
317 BINDSTATUS_COOKIE_STATE_ACCEPT,
318 BINDSTATUS_COOKIE_STATE_REJECT,
319 BINDSTATUS_COOKIE_STATE_PROMPT,
320 BINDSTATUS_COOKIE_STATE_LEASH,
321 BINDSTATUS_COOKIE_STATE_DOWNGRADE,
322 BINDSTATUS_POLICY_HREF,
323 BINDSTATUS_P3P_HEADER,
324 BINDSTATUS_SESSION_COOKIE_RECEIVED,
325 BINDSTATUS_PERSISTENT_COOKIE_RECEIVED,
326 BINDSTATUS_SESSION_COOKIES_ALLOWED,
327 BINDSTATUS_CACHECONTROL
330 /*****************************************************************************
331 * IBindStatusCallback interface
333 #ifndef __IBindStatusCallback_INTERFACE_DEFINED__
334 #define __IBindStatusCallback_INTERFACE_DEFINED__
336 DEFINE_GUID(IID_IBindStatusCallback, 0x79eac9c1, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b);
337 #if defined(__cplusplus) && !defined(CINTERFACE)
338 struct IBindStatusCallback : public IUnknown
340 virtual HRESULT STDMETHODCALLTYPE OnStartBinding(
344 virtual HRESULT STDMETHODCALLTYPE GetPriority(
345 LONG* pnPriority) = 0;
347 virtual HRESULT STDMETHODCALLTYPE OnLowResource(
350 virtual HRESULT STDMETHODCALLTYPE OnProgress(
354 LPCWSTR szStatusText) = 0;
356 virtual HRESULT STDMETHODCALLTYPE OnStopBinding(
358 LPCWSTR szError) = 0;
360 virtual HRESULT STDMETHODCALLTYPE GetBindInfo(
362 BINDINFO* pbindinfo) = 0;
364 virtual HRESULT STDMETHODCALLTYPE OnDataAvailable(
367 FORMATETC* pformatetc,
368 STGMEDIUM* pstgmed) = 0;
370 virtual HRESULT STDMETHODCALLTYPE OnObjectAvailable(
376 typedef struct IBindStatusCallbackVtbl IBindStatusCallbackVtbl;
377 struct IBindStatusCallback {
378 const IBindStatusCallbackVtbl* lpVtbl;
380 struct IBindStatusCallbackVtbl {
381 ICOM_MSVTABLE_COMPAT_FIELDS
383 /*** IUnknown methods ***/
384 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
385 IBindStatusCallback* This,
389 ULONG (STDMETHODCALLTYPE *AddRef)(
390 IBindStatusCallback* This);
392 ULONG (STDMETHODCALLTYPE *Release)(
393 IBindStatusCallback* This);
395 /*** IBindStatusCallback methods ***/
396 HRESULT (STDMETHODCALLTYPE *OnStartBinding)(
397 IBindStatusCallback* This,
401 HRESULT (STDMETHODCALLTYPE *GetPriority)(
402 IBindStatusCallback* This,
405 HRESULT (STDMETHODCALLTYPE *OnLowResource)(
406 IBindStatusCallback* This,
409 HRESULT (STDMETHODCALLTYPE *OnProgress)(
410 IBindStatusCallback* This,
414 LPCWSTR szStatusText);
416 HRESULT (STDMETHODCALLTYPE *OnStopBinding)(
417 IBindStatusCallback* This,
421 HRESULT (STDMETHODCALLTYPE *GetBindInfo)(
422 IBindStatusCallback* This,
424 BINDINFO* pbindinfo);
426 HRESULT (STDMETHODCALLTYPE *OnDataAvailable)(
427 IBindStatusCallback* This,
430 FORMATETC* pformatetc,
433 HRESULT (STDMETHODCALLTYPE *OnObjectAvailable)(
434 IBindStatusCallback* This,
440 /*** IUnknown methods ***/
441 #define IBindStatusCallback_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
442 #define IBindStatusCallback_AddRef(p) (p)->lpVtbl->AddRef(p)
443 #define IBindStatusCallback_Release(p) (p)->lpVtbl->Release(p)
444 /*** IBindStatusCallback methods ***/
445 #define IBindStatusCallback_OnStartBinding(p,a,b) (p)->lpVtbl->OnStartBinding(p,a,b)
446 #define IBindStatusCallback_GetPriority(p,a) (p)->lpVtbl->GetPriority(p,a)
447 #define IBindStatusCallback_OnLowResource(p,a) (p)->lpVtbl->OnLowResource(p,a)
448 #define IBindStatusCallback_OnProgress(p,a,b,c,d) (p)->lpVtbl->OnProgress(p,a,b,c,d)
449 #define IBindStatusCallback_OnStopBinding(p,a,b) (p)->lpVtbl->OnStopBinding(p,a,b)
450 #define IBindStatusCallback_GetBindInfo(p,a,b) (p)->lpVtbl->GetBindInfo(p,a,b)
451 #define IBindStatusCallback_OnDataAvailable(p,a,b,c,d) (p)->lpVtbl->OnDataAvailable(p,a,b,c,d)
452 #define IBindStatusCallback_OnObjectAvailable(p,a,b) (p)->lpVtbl->OnObjectAvailable(p,a,b)
456 #define IBindStatusCallback_METHODS \
457 ICOM_MSVTABLE_COMPAT_FIELDS \
458 /*** IUnknown methods ***/ \
459 STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
460 STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
461 STDMETHOD_(ULONG,Release)(THIS) PURE; \
462 /*** IBindStatusCallback methods ***/ \
463 STDMETHOD_(HRESULT,OnStartBinding)(THIS_ DWORD dwReserved, IBinding* pib) PURE; \
464 STDMETHOD_(HRESULT,GetPriority)(THIS_ LONG* pnPriority) PURE; \
465 STDMETHOD_(HRESULT,OnLowResource)(THIS_ DWORD reserved) PURE; \
466 STDMETHOD_(HRESULT,OnProgress)(THIS_ ULONG ulProgress, ULONG ulProgressMax, ULONG ulStatusCode, LPCWSTR szStatusText) PURE; \
467 STDMETHOD_(HRESULT,OnStopBinding)(THIS_ HRESULT hresult, LPCWSTR szError) PURE; \
468 STDMETHOD_(HRESULT,GetBindInfo)(THIS_ DWORD* grfBINDF, BINDINFO* pbindinfo) PURE; \
469 STDMETHOD_(HRESULT,OnDataAvailable)(THIS_ DWORD grfBSCF, DWORD dwSize, FORMATETC* pformatetc, STGMEDIUM* pstgmed) PURE; \
470 STDMETHOD_(HRESULT,OnObjectAvailable)(THIS_ REFIID riid, IUnknown* punk) PURE;
472 HRESULT CALLBACK IBindStatusCallback_OnStartBinding_Proxy(
473 IBindStatusCallback* This,
476 void __RPC_STUB IBindStatusCallback_OnStartBinding_Stub(
477 struct IRpcStubBuffer* This,
478 struct IRpcChannelBuffer* pRpcChannelBuffer,
479 PRPC_MESSAGE pRpcMessage,
480 DWORD* pdwStubPhase);
481 HRESULT CALLBACK IBindStatusCallback_GetPriority_Proxy(
482 IBindStatusCallback* This,
484 void __RPC_STUB IBindStatusCallback_GetPriority_Stub(
485 struct IRpcStubBuffer* This,
486 struct IRpcChannelBuffer* pRpcChannelBuffer,
487 PRPC_MESSAGE pRpcMessage,
488 DWORD* pdwStubPhase);
489 HRESULT CALLBACK IBindStatusCallback_OnLowResource_Proxy(
490 IBindStatusCallback* This,
492 void __RPC_STUB IBindStatusCallback_OnLowResource_Stub(
493 struct IRpcStubBuffer* This,
494 struct IRpcChannelBuffer* pRpcChannelBuffer,
495 PRPC_MESSAGE pRpcMessage,
496 DWORD* pdwStubPhase);
497 HRESULT CALLBACK IBindStatusCallback_OnProgress_Proxy(
498 IBindStatusCallback* This,
502 LPCWSTR szStatusText);
503 void __RPC_STUB IBindStatusCallback_OnProgress_Stub(
504 struct IRpcStubBuffer* This,
505 struct IRpcChannelBuffer* pRpcChannelBuffer,
506 PRPC_MESSAGE pRpcMessage,
507 DWORD* pdwStubPhase);
508 HRESULT CALLBACK IBindStatusCallback_OnStopBinding_Proxy(
509 IBindStatusCallback* This,
512 void __RPC_STUB IBindStatusCallback_OnStopBinding_Stub(
513 struct IRpcStubBuffer* This,
514 struct IRpcChannelBuffer* pRpcChannelBuffer,
515 PRPC_MESSAGE pRpcMessage,
516 DWORD* pdwStubPhase);
517 HRESULT CALLBACK IBindStatusCallback_RemoteGetBindInfo_Proxy(
518 IBindStatusCallback* This,
520 RemBINDINFO* pbindinfo,
521 RemSTGMEDIUM* pstgmed);
522 void __RPC_STUB IBindStatusCallback_RemoteGetBindInfo_Stub(
523 struct IRpcStubBuffer* This,
524 struct IRpcChannelBuffer* pRpcChannelBuffer,
525 PRPC_MESSAGE pRpcMessage,
526 DWORD* pdwStubPhase);
527 HRESULT CALLBACK IBindStatusCallback_GetBindInfo_Proxy(
528 IBindStatusCallback* This,
530 BINDINFO* pbindinfo);
531 HRESULT __RPC_STUB IBindStatusCallback_GetBindInfo_Stub(
532 IBindStatusCallback* This,
534 RemBINDINFO* pbindinfo,
535 RemSTGMEDIUM* pstgmed);
536 HRESULT CALLBACK IBindStatusCallback_RemoteOnDataAvailable_Proxy(
537 IBindStatusCallback* This,
540 RemFORMATETC* pformatetc,
541 RemSTGMEDIUM* pstgmed);
542 void __RPC_STUB IBindStatusCallback_RemoteOnDataAvailable_Stub(
543 struct IRpcStubBuffer* This,
544 struct IRpcChannelBuffer* pRpcChannelBuffer,
545 PRPC_MESSAGE pRpcMessage,
546 DWORD* pdwStubPhase);
547 HRESULT CALLBACK IBindStatusCallback_OnDataAvailable_Proxy(
548 IBindStatusCallback* This,
551 FORMATETC* pformatetc,
553 HRESULT __RPC_STUB IBindStatusCallback_OnDataAvailable_Stub(
554 IBindStatusCallback* This,
557 RemFORMATETC* pformatetc,
558 RemSTGMEDIUM* pstgmed);
559 HRESULT CALLBACK IBindStatusCallback_OnObjectAvailable_Proxy(
560 IBindStatusCallback* This,
563 void __RPC_STUB IBindStatusCallback_OnObjectAvailable_Stub(
564 struct IRpcStubBuffer* This,
565 struct IRpcChannelBuffer* pRpcChannelBuffer,
566 PRPC_MESSAGE pRpcMessage,
567 DWORD* pdwStubPhase);
569 #endif /* __IBindStatusCallback_INTERFACE_DEFINED__ */
571 #ifndef __IBindHost_FWD_DEFINED__
572 #define __IBindHost_FWD_DEFINED__
573 typedef struct IBindHost IBindHost;
576 typedef IBindHost *LPBINDHOST;
578 /*****************************************************************************
579 * IBindHost interface
581 #ifndef __IBindHost_INTERFACE_DEFINED__
582 #define __IBindHost_INTERFACE_DEFINED__
584 DEFINE_GUID(IID_IBindHost, 0xfc4801a1, 0x2ba9, 0x11cf, 0xa2,0x29, 0x00,0xaa,0x00,0x3d,0x73,0x52);
585 #if defined(__cplusplus) && !defined(CINTERFACE)
586 struct IBindHost : public IUnknown
588 virtual HRESULT STDMETHODCALLTYPE CreateMoniker(
592 DWORD dwReserved) = 0;
594 virtual HRESULT STDMETHODCALLTYPE MonikerBindToStorage(
597 IBindStatusCallback* pBSC,
601 virtual HRESULT STDMETHODCALLTYPE MonikerBindToObject(
604 IBindStatusCallback* pBSC,
610 typedef struct IBindHostVtbl IBindHostVtbl;
612 const IBindHostVtbl* lpVtbl;
614 struct IBindHostVtbl {
615 ICOM_MSVTABLE_COMPAT_FIELDS
617 /*** IUnknown methods ***/
618 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
623 ULONG (STDMETHODCALLTYPE *AddRef)(
626 ULONG (STDMETHODCALLTYPE *Release)(
629 /*** IBindHost methods ***/
630 HRESULT (STDMETHODCALLTYPE *CreateMoniker)(
637 HRESULT (STDMETHODCALLTYPE *MonikerBindToStorage)(
641 IBindStatusCallback* pBSC,
645 HRESULT (STDMETHODCALLTYPE *MonikerBindToObject)(
649 IBindStatusCallback* pBSC,
655 /*** IUnknown methods ***/
656 #define IBindHost_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
657 #define IBindHost_AddRef(p) (p)->lpVtbl->AddRef(p)
658 #define IBindHost_Release(p) (p)->lpVtbl->Release(p)
659 /*** IBindHost methods ***/
660 #define IBindHost_CreateMoniker(p,a,b,c,d) (p)->lpVtbl->CreateMoniker(p,a,b,c,d)
661 #define IBindHost_MonikerBindToStorage(p,a,b,c,d,e) (p)->lpVtbl->MonikerBindToStorage(p,a,b,c,d,e)
662 #define IBindHost_MonikerBindToObject(p,a,b,c,d,e) (p)->lpVtbl->MonikerBindToObject(p,a,b,c,d,e)
666 #define IBindHost_METHODS \
667 ICOM_MSVTABLE_COMPAT_FIELDS \
668 /*** IUnknown methods ***/ \
669 STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
670 STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
671 STDMETHOD_(ULONG,Release)(THIS) PURE; \
672 /*** IBindHost methods ***/ \
673 STDMETHOD_(HRESULT,CreateMoniker)(THIS_ LPOLESTR szName, IBindCtx* pBC, IMoniker** ppmk, DWORD dwReserved) PURE; \
674 STDMETHOD_(HRESULT,MonikerBindToStorage)(THIS_ IMoniker* pMk, IBindCtx* pBC, IBindStatusCallback* pBSC, REFIID riid, void** ppvObj) PURE; \
675 STDMETHOD_(HRESULT,MonikerBindToObject)(THIS_ IMoniker* pMk, IBindCtx* pBC, IBindStatusCallback* pBSC, REFIID riid, void** ppvObj) PURE;
677 HRESULT CALLBACK IBindHost_CreateMoniker_Proxy(
683 void __RPC_STUB IBindHost_CreateMoniker_Stub(
684 struct IRpcStubBuffer* This,
685 struct IRpcChannelBuffer* pRpcChannelBuffer,
686 PRPC_MESSAGE pRpcMessage,
687 DWORD* pdwStubPhase);
688 HRESULT CALLBACK IBindHost_RemoteMonikerBindToStorage_Proxy(
692 IBindStatusCallback* pBSC,
695 void __RPC_STUB IBindHost_RemoteMonikerBindToStorage_Stub(
696 struct IRpcStubBuffer* This,
697 struct IRpcChannelBuffer* pRpcChannelBuffer,
698 PRPC_MESSAGE pRpcMessage,
699 DWORD* pdwStubPhase);
700 HRESULT CALLBACK IBindHost_MonikerBindToStorage_Proxy(
704 IBindStatusCallback* pBSC,
707 HRESULT __RPC_STUB IBindHost_MonikerBindToStorage_Stub(
711 IBindStatusCallback* pBSC,
714 HRESULT CALLBACK IBindHost_RemoteMonikerBindToObject_Proxy(
718 IBindStatusCallback* pBSC,
721 void __RPC_STUB IBindHost_RemoteMonikerBindToObject_Stub(
722 struct IRpcStubBuffer* This,
723 struct IRpcChannelBuffer* pRpcChannelBuffer,
724 PRPC_MESSAGE pRpcMessage,
725 DWORD* pdwStubPhase);
726 HRESULT CALLBACK IBindHost_MonikerBindToObject_Proxy(
730 IBindStatusCallback* pBSC,
733 HRESULT __RPC_STUB IBindHost_MonikerBindToObject_Stub(
737 IBindStatusCallback* pBSC,
741 #endif /* __IBindHost_INTERFACE_DEFINED__ */
743 #ifndef __IWinInetInfo_FWD_DEFINED__
744 #define __IWinInetInfo_FWD_DEFINED__
745 typedef struct IWinInetInfo IWinInetInfo;
748 typedef IWinInetInfo *LPWININETINFO;
750 /*****************************************************************************
751 * IWinInetInfo interface
753 #ifndef __IWinInetInfo_INTERFACE_DEFINED__
754 #define __IWinInetInfo_INTERFACE_DEFINED__
756 DEFINE_GUID(IID_IWinInetInfo, 0x79eac9d6, 0xbafa, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b);
757 #if defined(__cplusplus) && !defined(CINTERFACE)
758 struct IWinInetInfo : public IUnknown
760 virtual HRESULT STDMETHODCALLTYPE QueryOption(
767 typedef struct IWinInetInfoVtbl IWinInetInfoVtbl;
768 struct IWinInetInfo {
769 const IWinInetInfoVtbl* lpVtbl;
771 struct IWinInetInfoVtbl {
772 ICOM_MSVTABLE_COMPAT_FIELDS
774 /*** IUnknown methods ***/
775 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
780 ULONG (STDMETHODCALLTYPE *AddRef)(
783 ULONG (STDMETHODCALLTYPE *Release)(
786 /*** IWinInetInfo methods ***/
787 HRESULT (STDMETHODCALLTYPE *QueryOption)(
795 /*** IUnknown methods ***/
796 #define IWinInetInfo_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
797 #define IWinInetInfo_AddRef(p) (p)->lpVtbl->AddRef(p)
798 #define IWinInetInfo_Release(p) (p)->lpVtbl->Release(p)
799 /*** IWinInetInfo methods ***/
800 #define IWinInetInfo_QueryOption(p,a,b,c) (p)->lpVtbl->QueryOption(p,a,b,c)
804 #define IWinInetInfo_METHODS \
805 ICOM_MSVTABLE_COMPAT_FIELDS \
806 /*** IUnknown methods ***/ \
807 STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
808 STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
809 STDMETHOD_(ULONG,Release)(THIS) PURE; \
810 /*** IWinInetInfo methods ***/ \
811 STDMETHOD_(HRESULT,QueryOption)(THIS_ DWORD dwOption, LPVOID pBuffer, DWORD* pcbBuf) PURE;
813 HRESULT CALLBACK IWinInetInfo_RemoteQueryOption_Proxy(
818 void __RPC_STUB IWinInetInfo_RemoteQueryOption_Stub(
819 struct IRpcStubBuffer* This,
820 struct IRpcChannelBuffer* pRpcChannelBuffer,
821 PRPC_MESSAGE pRpcMessage,
822 DWORD* pdwStubPhase);
823 HRESULT CALLBACK IWinInetInfo_QueryOption_Proxy(
828 HRESULT __RPC_STUB IWinInetInfo_QueryOption_Stub(
834 #endif /* __IWinInetInfo_INTERFACE_DEFINED__ */
836 #ifndef __IWinInetHttpInfo_FWD_DEFINED__
837 #define __IWinInetHttpInfo_FWD_DEFINED__
838 typedef struct IWinInetHttpInfo IWinInetHttpInfo;
841 typedef IWinInetHttpInfo *LPWININETHTTPINFO;
843 /*****************************************************************************
844 * IWinInetHttpInfo interface
846 #ifndef __IWinInetHttpInfo_INTERFACE_DEFINED__
847 #define __IWinInetHttpInfo_INTERFACE_DEFINED__
849 DEFINE_GUID(IID_IWinInetHttpInfo, 0x79eac9d8, 0xbafa, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b);
850 #if defined(__cplusplus) && !defined(CINTERFACE)
851 struct IWinInetHttpInfo : public IWinInetInfo
853 virtual HRESULT STDMETHODCALLTYPE QueryInfo(
858 DWORD* pdwReserved) = 0;
862 typedef struct IWinInetHttpInfoVtbl IWinInetHttpInfoVtbl;
863 struct IWinInetHttpInfo {
864 const IWinInetHttpInfoVtbl* lpVtbl;
866 struct IWinInetHttpInfoVtbl {
867 ICOM_MSVTABLE_COMPAT_FIELDS
869 /*** IUnknown methods ***/
870 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
871 IWinInetHttpInfo* This,
875 ULONG (STDMETHODCALLTYPE *AddRef)(
876 IWinInetHttpInfo* This);
878 ULONG (STDMETHODCALLTYPE *Release)(
879 IWinInetHttpInfo* This);
881 /*** IWinInetInfo methods ***/
882 HRESULT (STDMETHODCALLTYPE *QueryOption)(
883 IWinInetHttpInfo* This,
888 /*** IWinInetHttpInfo methods ***/
889 HRESULT (STDMETHODCALLTYPE *QueryInfo)(
890 IWinInetHttpInfo* This,
899 /*** IUnknown methods ***/
900 #define IWinInetHttpInfo_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
901 #define IWinInetHttpInfo_AddRef(p) (p)->lpVtbl->AddRef(p)
902 #define IWinInetHttpInfo_Release(p) (p)->lpVtbl->Release(p)
903 /*** IWinInetInfo methods ***/
904 #define IWinInetHttpInfo_QueryOption(p,a,b,c) (p)->lpVtbl->QueryOption(p,a,b,c)
905 /*** IWinInetHttpInfo methods ***/
906 #define IWinInetHttpInfo_QueryInfo(p,a,b,c,d,e) (p)->lpVtbl->QueryInfo(p,a,b,c,d,e)
910 #define IWinInetHttpInfo_METHODS \
911 ICOM_MSVTABLE_COMPAT_FIELDS \
912 /*** IUnknown methods ***/ \
913 STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
914 STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
915 STDMETHOD_(ULONG,Release)(THIS) PURE; \
916 /*** IWinInetInfo methods ***/ \
917 STDMETHOD_(HRESULT,QueryOption)(THIS_ DWORD dwOption, LPVOID pBuffer, DWORD* pcbBuf) PURE; \
918 /*** IWinInetHttpInfo methods ***/ \
919 STDMETHOD_(HRESULT,QueryInfo)(THIS_ DWORD dwOption, LPVOID pBuffer, DWORD* pcbBuf, DWORD* pdwFlags, DWORD* pdwReserved) PURE;
921 HRESULT CALLBACK IWinInetHttpInfo_RemoteQueryInfo_Proxy(
922 IWinInetHttpInfo* This,
928 void __RPC_STUB IWinInetHttpInfo_RemoteQueryInfo_Stub(
929 struct IRpcStubBuffer* This,
930 struct IRpcChannelBuffer* pRpcChannelBuffer,
931 PRPC_MESSAGE pRpcMessage,
932 DWORD* pdwStubPhase);
933 HRESULT CALLBACK IWinInetHttpInfo_QueryInfo_Proxy(
934 IWinInetHttpInfo* This,
940 HRESULT __RPC_STUB IWinInetHttpInfo_QueryInfo_Stub(
941 IWinInetHttpInfo* This,
948 #endif /* __IWinInetHttpInfo_INTERFACE_DEFINED__ */
950 #ifndef __IPersistMoniker_FWD_DEFINED__
951 #define __IPersistMoniker_FWD_DEFINED__
952 typedef struct IPersistMoniker IPersistMoniker;
955 typedef IPersistMoniker *LPPERSISTMONIKER;
957 /*****************************************************************************
958 * IPersistMoniker interface
960 #ifndef __IPersistMoniker_INTERFACE_DEFINED__
961 #define __IPersistMoniker_INTERFACE_DEFINED__
963 DEFINE_GUID(IID_IPersistMoniker, 0x79eac9c9, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b);
964 #if defined(__cplusplus) && !defined(CINTERFACE)
965 struct IPersistMoniker : public IUnknown
967 virtual HRESULT STDMETHODCALLTYPE GetClassID(
968 CLSID* pClassID) = 0;
970 virtual HRESULT STDMETHODCALLTYPE IsDirty(
973 virtual HRESULT STDMETHODCALLTYPE Load(
974 BOOL fFullyAvailable,
979 virtual HRESULT STDMETHODCALLTYPE Save(
984 virtual HRESULT STDMETHODCALLTYPE SaveCompleted(
988 virtual HRESULT STDMETHODCALLTYPE GetCurMoniker(
989 IMoniker** ppimkName) = 0;
993 typedef struct IPersistMonikerVtbl IPersistMonikerVtbl;
994 struct IPersistMoniker {
995 const IPersistMonikerVtbl* lpVtbl;
997 struct IPersistMonikerVtbl {
998 ICOM_MSVTABLE_COMPAT_FIELDS
1000 /*** IUnknown methods ***/
1001 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
1002 IPersistMoniker* This,
1006 ULONG (STDMETHODCALLTYPE *AddRef)(
1007 IPersistMoniker* This);
1009 ULONG (STDMETHODCALLTYPE *Release)(
1010 IPersistMoniker* This);
1012 /*** IPersistMoniker methods ***/
1013 HRESULT (STDMETHODCALLTYPE *GetClassID)(
1014 IPersistMoniker* This,
1017 HRESULT (STDMETHODCALLTYPE *IsDirty)(
1018 IPersistMoniker* This);
1020 HRESULT (STDMETHODCALLTYPE *Load)(
1021 IPersistMoniker* This,
1022 BOOL fFullyAvailable,
1027 HRESULT (STDMETHODCALLTYPE *Save)(
1028 IPersistMoniker* This,
1033 HRESULT (STDMETHODCALLTYPE *SaveCompleted)(
1034 IPersistMoniker* This,
1038 HRESULT (STDMETHODCALLTYPE *GetCurMoniker)(
1039 IPersistMoniker* This,
1040 IMoniker** ppimkName);
1044 /*** IUnknown methods ***/
1045 #define IPersistMoniker_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
1046 #define IPersistMoniker_AddRef(p) (p)->lpVtbl->AddRef(p)
1047 #define IPersistMoniker_Release(p) (p)->lpVtbl->Release(p)
1048 /*** IPersistMoniker methods ***/
1049 #define IPersistMoniker_GetClassID(p,a) (p)->lpVtbl->GetClassID(p,a)
1050 #define IPersistMoniker_IsDirty(p) (p)->lpVtbl->IsDirty(p)
1051 #define IPersistMoniker_Load(p,a,b,c,d) (p)->lpVtbl->Load(p,a,b,c,d)
1052 #define IPersistMoniker_Save(p,a,b,c) (p)->lpVtbl->Save(p,a,b,c)
1053 #define IPersistMoniker_SaveCompleted(p,a,b) (p)->lpVtbl->SaveCompleted(p,a,b)
1054 #define IPersistMoniker_GetCurMoniker(p,a) (p)->lpVtbl->GetCurMoniker(p,a)
1058 #define IPersistMoniker_METHODS \
1059 ICOM_MSVTABLE_COMPAT_FIELDS \
1060 /*** IUnknown methods ***/ \
1061 STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
1062 STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
1063 STDMETHOD_(ULONG,Release)(THIS) PURE; \
1064 /*** IPersistMoniker methods ***/ \
1065 STDMETHOD_(HRESULT,GetClassID)(THIS_ CLSID* pClassID) PURE; \
1066 STDMETHOD_(HRESULT,IsDirty)(THIS) PURE; \
1067 STDMETHOD_(HRESULT,Load)(THIS_ BOOL fFullyAvailable, IMoniker* pimkName, LPBC pibc, DWORD grfMode) PURE; \
1068 STDMETHOD_(HRESULT,Save)(THIS_ IMoniker* pimkName, LPBC pbc, BOOL fRemember) PURE; \
1069 STDMETHOD_(HRESULT,SaveCompleted)(THIS_ IMoniker* pimkName, LPBC pibc) PURE; \
1070 STDMETHOD_(HRESULT,GetCurMoniker)(THIS_ IMoniker** ppimkName) PURE;
1072 HRESULT CALLBACK IPersistMoniker_GetClassID_Proxy(
1073 IPersistMoniker* This,
1075 void __RPC_STUB IPersistMoniker_GetClassID_Stub(
1076 struct IRpcStubBuffer* This,
1077 struct IRpcChannelBuffer* pRpcChannelBuffer,
1078 PRPC_MESSAGE pRpcMessage,
1079 DWORD* pdwStubPhase);
1080 HRESULT CALLBACK IPersistMoniker_IsDirty_Proxy(
1081 IPersistMoniker* This);
1082 void __RPC_STUB IPersistMoniker_IsDirty_Stub(
1083 struct IRpcStubBuffer* This,
1084 struct IRpcChannelBuffer* pRpcChannelBuffer,
1085 PRPC_MESSAGE pRpcMessage,
1086 DWORD* pdwStubPhase);
1087 HRESULT CALLBACK IPersistMoniker_Load_Proxy(
1088 IPersistMoniker* This,
1089 BOOL fFullyAvailable,
1093 void __RPC_STUB IPersistMoniker_Load_Stub(
1094 struct IRpcStubBuffer* This,
1095 struct IRpcChannelBuffer* pRpcChannelBuffer,
1096 PRPC_MESSAGE pRpcMessage,
1097 DWORD* pdwStubPhase);
1098 HRESULT CALLBACK IPersistMoniker_Save_Proxy(
1099 IPersistMoniker* This,
1103 void __RPC_STUB IPersistMoniker_Save_Stub(
1104 struct IRpcStubBuffer* This,
1105 struct IRpcChannelBuffer* pRpcChannelBuffer,
1106 PRPC_MESSAGE pRpcMessage,
1107 DWORD* pdwStubPhase);
1108 HRESULT CALLBACK IPersistMoniker_SaveCompleted_Proxy(
1109 IPersistMoniker* This,
1112 void __RPC_STUB IPersistMoniker_SaveCompleted_Stub(
1113 struct IRpcStubBuffer* This,
1114 struct IRpcChannelBuffer* pRpcChannelBuffer,
1115 PRPC_MESSAGE pRpcMessage,
1116 DWORD* pdwStubPhase);
1117 HRESULT CALLBACK IPersistMoniker_GetCurMoniker_Proxy(
1118 IPersistMoniker* This,
1119 IMoniker** ppimkName);
1120 void __RPC_STUB IPersistMoniker_GetCurMoniker_Stub(
1121 struct IRpcStubBuffer* This,
1122 struct IRpcChannelBuffer* pRpcChannelBuffer,
1123 PRPC_MESSAGE pRpcMessage,
1124 DWORD* pdwStubPhase);
1126 #endif /* __IPersistMoniker_INTERFACE_DEFINED__ */
1128 #ifndef __IInternetProtocolInfo_FWD_DEFINED__
1129 #define __IInternetProtocolInfo_FWD_DEFINED__
1130 typedef struct IInternetProtocolInfo IInternetProtocolInfo;
1133 typedef IInternetProtocolInfo *LPIINTERNETPROTOCOLINFO;
1135 typedef enum _tagPARSEACTION {
1136 PARSE_CANONICALIZE = 1,
1144 PARSE_PATH_FROM_URL,
1145 PARSE_URL_FROM_PATH,
1152 PARSE_SECURITY_DOMAIN,
1157 typedef enum _tagPSUACTION {
1159 PSU_SECURITY_URL_ONLY
1162 typedef enum _tagQUERYOPTION {
1163 QUERY_EXPIRATION_DATE = 1,
1164 QUERY_TIME_OF_LAST_CHANGE,
1165 QUERY_CONTENT_ENCODING,
1172 QUERY_IS_INSTALLEDENTRY,
1173 QUERY_IS_CACHED_OR_MAPPED,
1179 /*****************************************************************************
1180 * IInternetProtocolInfo interface
1182 #ifndef __IInternetProtocolInfo_INTERFACE_DEFINED__
1183 #define __IInternetProtocolInfo_INTERFACE_DEFINED__
1185 DEFINE_GUID(IID_IInternetProtocolInfo, 0x79eac9ec, 0xbaf9, 0x11ce, 0x8c,0x82, 0x00,0xaa,0x00,0x4b,0xa9,0x0b);
1186 #if defined(__cplusplus) && !defined(CINTERFACE)
1187 struct IInternetProtocolInfo : public IUnknown
1189 virtual HRESULT STDMETHODCALLTYPE ParseUrl(
1191 PARSEACTION ParseAction,
1196 DWORD dwReserved) = 0;
1198 virtual HRESULT STDMETHODCALLTYPE CombineUrl(
1200 LPCWSTR pwzRelativeUrl,
1201 DWORD dwCombineFlags,
1205 DWORD dwReserved) = 0;
1207 virtual HRESULT STDMETHODCALLTYPE CompareUrl(
1210 DWORD dwCompareFlags) = 0;
1212 virtual HRESULT STDMETHODCALLTYPE QueryInfo(
1214 QUERYOPTION OueryOption,
1219 DWORD dwReserved) = 0;
1223 typedef struct IInternetProtocolInfoVtbl IInternetProtocolInfoVtbl;
1224 struct IInternetProtocolInfo {
1225 const IInternetProtocolInfoVtbl* lpVtbl;
1227 struct IInternetProtocolInfoVtbl {
1228 ICOM_MSVTABLE_COMPAT_FIELDS
1230 /*** IUnknown methods ***/
1231 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
1232 IInternetProtocolInfo* This,
1236 ULONG (STDMETHODCALLTYPE *AddRef)(
1237 IInternetProtocolInfo* This);
1239 ULONG (STDMETHODCALLTYPE *Release)(
1240 IInternetProtocolInfo* This);
1242 /*** IInternetProtocolInfo methods ***/
1243 HRESULT (STDMETHODCALLTYPE *ParseUrl)(
1244 IInternetProtocolInfo* This,
1246 PARSEACTION ParseAction,
1253 HRESULT (STDMETHODCALLTYPE *CombineUrl)(
1254 IInternetProtocolInfo* This,
1256 LPCWSTR pwzRelativeUrl,
1257 DWORD dwCombineFlags,
1263 HRESULT (STDMETHODCALLTYPE *CompareUrl)(
1264 IInternetProtocolInfo* This,
1267 DWORD dwCompareFlags);
1269 HRESULT (STDMETHODCALLTYPE *QueryInfo)(
1270 IInternetProtocolInfo* This,
1272 QUERYOPTION OueryOption,
1281 /*** IUnknown methods ***/
1282 #define IInternetProtocolInfo_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
1283 #define IInternetProtocolInfo_AddRef(p) (p)->lpVtbl->AddRef(p)
1284 #define IInternetProtocolInfo_Release(p) (p)->lpVtbl->Release(p)
1285 /*** IInternetProtocolInfo methods ***/
1286 #define IInternetProtocolInfo_ParseUrl(p,a,b,c,d,e,f,g) (p)->lpVtbl->ParseUrl(p,a,b,c,d,e,f,g)
1287 #define IInternetProtocolInfo_CombineUrl(p,a,b,c,d,e,f,g) (p)->lpVtbl->CombineUrl(p,a,b,c,d,e,f,g)
1288 #define IInternetProtocolInfo_CompareUrl(p,a,b,c) (p)->lpVtbl->CompareUrl(p,a,b,c)
1289 #define IInternetProtocolInfo_QueryInfo(p,a,b,c,d,e,f,g) (p)->lpVtbl->QueryInfo(p,a,b,c,d,e,f,g)
1293 #define IInternetProtocolInfo_METHODS \
1294 ICOM_MSVTABLE_COMPAT_FIELDS \
1295 /*** IUnknown methods ***/ \
1296 STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
1297 STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
1298 STDMETHOD_(ULONG,Release)(THIS) PURE; \
1299 /*** IInternetProtocolInfo methods ***/ \
1300 STDMETHOD_(HRESULT,ParseUrl)(THIS_ LPCWSTR pwzUrl, PARSEACTION ParseAction, DWORD dwParseFlags, LPWSTR pwzResult, DWORD cchResult, DWORD* pcchResult, DWORD dwReserved) PURE; \
1301 STDMETHOD_(HRESULT,CombineUrl)(THIS_ LPCWSTR pwzBaseUrl, LPCWSTR pwzRelativeUrl, DWORD dwCombineFlags, LPWSTR pwzResult, DWORD cchResult, DWORD* pcchResult, DWORD dwReserved) PURE; \
1302 STDMETHOD_(HRESULT,CompareUrl)(THIS_ LPCWSTR pwzUrl1, LPCWSTR pwzUrl2, DWORD dwCompareFlags) PURE; \
1303 STDMETHOD_(HRESULT,QueryInfo)(THIS_ LPCWSTR pwzUrl, QUERYOPTION OueryOption, DWORD dwQueryFlags, LPVOID pBuffer, DWORD cbBuffer, DWORD* pcbBuf, DWORD dwReserved) PURE;
1305 HRESULT CALLBACK IInternetProtocolInfo_ParseUrl_Proxy(
1306 IInternetProtocolInfo* This,
1308 PARSEACTION ParseAction,
1314 void __RPC_STUB IInternetProtocolInfo_ParseUrl_Stub(
1315 struct IRpcStubBuffer* This,
1316 struct IRpcChannelBuffer* pRpcChannelBuffer,
1317 PRPC_MESSAGE pRpcMessage,
1318 DWORD* pdwStubPhase);
1319 HRESULT CALLBACK IInternetProtocolInfo_CombineUrl_Proxy(
1320 IInternetProtocolInfo* This,
1322 LPCWSTR pwzRelativeUrl,
1323 DWORD dwCombineFlags,
1328 void __RPC_STUB IInternetProtocolInfo_CombineUrl_Stub(
1329 struct IRpcStubBuffer* This,
1330 struct IRpcChannelBuffer* pRpcChannelBuffer,
1331 PRPC_MESSAGE pRpcMessage,
1332 DWORD* pdwStubPhase);
1333 HRESULT CALLBACK IInternetProtocolInfo_CompareUrl_Proxy(
1334 IInternetProtocolInfo* This,
1337 DWORD dwCompareFlags);
1338 void __RPC_STUB IInternetProtocolInfo_CompareUrl_Stub(
1339 struct IRpcStubBuffer* This,
1340 struct IRpcChannelBuffer* pRpcChannelBuffer,
1341 PRPC_MESSAGE pRpcMessage,
1342 DWORD* pdwStubPhase);
1343 HRESULT CALLBACK IInternetProtocolInfo_QueryInfo_Proxy(
1344 IInternetProtocolInfo* This,
1346 QUERYOPTION OueryOption,
1352 void __RPC_STUB IInternetProtocolInfo_QueryInfo_Stub(
1353 struct IRpcStubBuffer* This,
1354 struct IRpcChannelBuffer* pRpcChannelBuffer,
1355 PRPC_MESSAGE pRpcMessage,
1356 DWORD* pdwStubPhase);
1358 #endif /* __IInternetProtocolInfo_INTERFACE_DEFINED__ */
1360 #define MK_S_ASYNCHRONOUS 0x000401E8
1361 #define S_ASYNCHRONOUS MK_S_ASYNCHRONOUS
1362 #define INET_E_ERROR_FIRST 0x800C0002L
1363 #define INET_E_INVALID_URL 0x800C0002L
1364 #define INET_E_NO_SESSION 0x800C0003L
1365 #define INET_E_CANNOT_CONNECT 0x800C0004L
1366 #define INET_E_RESOURCE_NOT_FOUND 0x800C0005L
1367 #define INET_E_OBJECT_NOT_FOUND 0x800C0006L
1368 #define INET_E_DATA_NOT_AVAILABLE 0x800C0007L
1369 #define INET_E_DOWNLOAD_FAILURE 0x800C0008L
1370 #define INET_E_AUTHENTICATION_REQUIRED 0x800C0009L
1371 #define INET_E_NO_VALID_MEDIA 0x800C000AL
1372 #define INET_E_CONNECTION_TIMEOUT 0x800C000BL
1373 #define INET_E_INVALID_REQUEST 0x800C000CL
1374 #define INET_E_UNKNOWN_PROTOCOL 0x800C000DL
1375 #define INET_E_SECURITY_PROBLEM 0x800C000EL
1376 #define INET_E_CANNOT_LOAD_DATA 0x800C000FL
1377 #define INET_E_CANNOT_INSTANTIATE_OBJECT 0x800C0010L
1378 #define INET_E_QUERYOPTION_UNKNOWN 0x800C0013L
1379 #define INET_E_REDIRECT_FAILED 0x800C0014L
1380 #define INET_E_REDIRECT_TO_DIR 0x800C0015L
1381 #define INET_E_CANNOT_LOCK_REQUEST 0x800C0016L
1382 #define INET_E_ERROR_LAST INET_E_REDIRECT_TO_DIR
1383 HRESULT WINAPI CreateURLMoniker(IMoniker *pmkContext, LPCWSTR szURL, IMoniker **ppmk);
1384 HRESULT WINAPI RegisterBindStatusCallback(IBindCtx *pbc, IBindStatusCallback *pbsc, IBindStatusCallback **ppbsc, DWORD dwReserved);
1385 HRESULT WINAPI CompareSecurityIds(BYTE*,DWORD,BYTE*,DWORD,DWORD);
1386 HRESULT WINAPI URLDownloadToFileA(LPUNKNOWN pCaller, LPCSTR szURL, LPCSTR szFileName, DWORD dwReserved, LPBINDSTATUSCALLBACK lpfnCB);
1387 HRESULT WINAPI URLDownloadToFileW(LPUNKNOWN pCaller, LPCWSTR szURL, LPCWSTR szFileName, DWORD dwReserved, LPBINDSTATUSCALLBACK lpfnCB);
1391 #endif /* __WIDL_URLMON_H */