UrlMon.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:230k
- /* [in] */ ULONG ulProgress,
- /* [in] */ ULONG ulProgressMax) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE ReportResult(
- /* [in] */ HRESULT hrResult,
- /* [in] */ DWORD dwError,
- /* [in] */ LPCWSTR szResult) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IInternetProtocolSinkVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IInternetProtocolSink * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IInternetProtocolSink * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IInternetProtocolSink * This);
-
- HRESULT ( STDMETHODCALLTYPE *Switch )(
- IInternetProtocolSink * This,
- /* [in] */ PROTOCOLDATA *pProtocolData);
-
- HRESULT ( STDMETHODCALLTYPE *ReportProgress )(
- IInternetProtocolSink * This,
- /* [in] */ ULONG ulStatusCode,
- /* [in] */ LPCWSTR szStatusText);
-
- HRESULT ( STDMETHODCALLTYPE *ReportData )(
- IInternetProtocolSink * This,
- /* [in] */ DWORD grfBSCF,
- /* [in] */ ULONG ulProgress,
- /* [in] */ ULONG ulProgressMax);
-
- HRESULT ( STDMETHODCALLTYPE *ReportResult )(
- IInternetProtocolSink * This,
- /* [in] */ HRESULT hrResult,
- /* [in] */ DWORD dwError,
- /* [in] */ LPCWSTR szResult);
-
- END_INTERFACE
- } IInternetProtocolSinkVtbl;
- interface IInternetProtocolSink
- {
- CONST_VTBL struct IInternetProtocolSinkVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IInternetProtocolSink_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IInternetProtocolSink_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IInternetProtocolSink_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IInternetProtocolSink_Switch(This,pProtocolData)
- (This)->lpVtbl -> Switch(This,pProtocolData)
- #define IInternetProtocolSink_ReportProgress(This,ulStatusCode,szStatusText)
- (This)->lpVtbl -> ReportProgress(This,ulStatusCode,szStatusText)
- #define IInternetProtocolSink_ReportData(This,grfBSCF,ulProgress,ulProgressMax)
- (This)->lpVtbl -> ReportData(This,grfBSCF,ulProgress,ulProgressMax)
- #define IInternetProtocolSink_ReportResult(This,hrResult,dwError,szResult)
- (This)->lpVtbl -> ReportResult(This,hrResult,dwError,szResult)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IInternetProtocolSink_Switch_Proxy(
- IInternetProtocolSink * This,
- /* [in] */ PROTOCOLDATA *pProtocolData);
- void __RPC_STUB IInternetProtocolSink_Switch_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IInternetProtocolSink_ReportProgress_Proxy(
- IInternetProtocolSink * This,
- /* [in] */ ULONG ulStatusCode,
- /* [in] */ LPCWSTR szStatusText);
- void __RPC_STUB IInternetProtocolSink_ReportProgress_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IInternetProtocolSink_ReportData_Proxy(
- IInternetProtocolSink * This,
- /* [in] */ DWORD grfBSCF,
- /* [in] */ ULONG ulProgress,
- /* [in] */ ULONG ulProgressMax);
- void __RPC_STUB IInternetProtocolSink_ReportData_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IInternetProtocolSink_ReportResult_Proxy(
- IInternetProtocolSink * This,
- /* [in] */ HRESULT hrResult,
- /* [in] */ DWORD dwError,
- /* [in] */ LPCWSTR szResult);
- void __RPC_STUB IInternetProtocolSink_ReportResult_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IInternetProtocolSink_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_urlmon_0191 */
- /* [local] */
- #endif
- #ifndef _LPIINTERNETPROTOCOLSINKSTACKABLE_DEFINED
- #define _LPIINTERNETPROTOCOLSINKSTACKABLE_DEFINED
- extern RPC_IF_HANDLE __MIDL_itf_urlmon_0191_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_urlmon_0191_v0_0_s_ifspec;
- #ifndef __IInternetProtocolSinkStackable_INTERFACE_DEFINED__
- #define __IInternetProtocolSinkStackable_INTERFACE_DEFINED__
- /* interface IInternetProtocolSinkStackable */
- /* [unique][uuid][object][local] */
- typedef /* [unique] */ IInternetProtocolSinkStackable *LPIINTERNETPROTOCOLSINKStackable;
- EXTERN_C const IID IID_IInternetProtocolSinkStackable;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("79eac9f0-baf9-11ce-8c82-00aa004ba90b")
- IInternetProtocolSinkStackable : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE SwitchSink(
- /* [in] */ IInternetProtocolSink *pOIProtSink) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CommitSwitch( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE RollbackSwitch( void) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IInternetProtocolSinkStackableVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IInternetProtocolSinkStackable * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IInternetProtocolSinkStackable * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IInternetProtocolSinkStackable * This);
-
- HRESULT ( STDMETHODCALLTYPE *SwitchSink )(
- IInternetProtocolSinkStackable * This,
- /* [in] */ IInternetProtocolSink *pOIProtSink);
-
- HRESULT ( STDMETHODCALLTYPE *CommitSwitch )(
- IInternetProtocolSinkStackable * This);
-
- HRESULT ( STDMETHODCALLTYPE *RollbackSwitch )(
- IInternetProtocolSinkStackable * This);
-
- END_INTERFACE
- } IInternetProtocolSinkStackableVtbl;
- interface IInternetProtocolSinkStackable
- {
- CONST_VTBL struct IInternetProtocolSinkStackableVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IInternetProtocolSinkStackable_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IInternetProtocolSinkStackable_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IInternetProtocolSinkStackable_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IInternetProtocolSinkStackable_SwitchSink(This,pOIProtSink)
- (This)->lpVtbl -> SwitchSink(This,pOIProtSink)
- #define IInternetProtocolSinkStackable_CommitSwitch(This)
- (This)->lpVtbl -> CommitSwitch(This)
- #define IInternetProtocolSinkStackable_RollbackSwitch(This)
- (This)->lpVtbl -> RollbackSwitch(This)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IInternetProtocolSinkStackable_SwitchSink_Proxy(
- IInternetProtocolSinkStackable * This,
- /* [in] */ IInternetProtocolSink *pOIProtSink);
- void __RPC_STUB IInternetProtocolSinkStackable_SwitchSink_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IInternetProtocolSinkStackable_CommitSwitch_Proxy(
- IInternetProtocolSinkStackable * This);
- void __RPC_STUB IInternetProtocolSinkStackable_CommitSwitch_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IInternetProtocolSinkStackable_RollbackSwitch_Proxy(
- IInternetProtocolSinkStackable * This);
- void __RPC_STUB IInternetProtocolSinkStackable_RollbackSwitch_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IInternetProtocolSinkStackable_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_urlmon_0192 */
- /* [local] */
- #endif
- #ifndef _LPIINTERNETSESSION_DEFINED
- #define _LPIINTERNETSESSION_DEFINED
- extern RPC_IF_HANDLE __MIDL_itf_urlmon_0192_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_urlmon_0192_v0_0_s_ifspec;
- #ifndef __IInternetSession_INTERFACE_DEFINED__
- #define __IInternetSession_INTERFACE_DEFINED__
- /* interface IInternetSession */
- /* [unique][uuid][object][local] */
- typedef /* [unique] */ IInternetSession *LPIINTERNETSESSION;
- typedef
- enum _tagOIBDG_FLAGS
- { OIBDG_APARTMENTTHREADED = 0x100,
- OIBDG_DATAONLY = 0x1000
- } OIBDG_FLAGS;
- EXTERN_C const IID IID_IInternetSession;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("79eac9e7-baf9-11ce-8c82-00aa004ba90b")
- IInternetSession : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE RegisterNameSpace(
- /* [in] */ IClassFactory *pCF,
- /* [in] */ REFCLSID rclsid,
- /* [in] */ LPCWSTR pwzProtocol,
- /* [in] */ ULONG cPatterns,
- /* [in] */ const LPCWSTR *ppwzPatterns,
- /* [in] */ DWORD dwReserved) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE UnregisterNameSpace(
- /* [in] */ IClassFactory *pCF,
- /* [in] */ LPCWSTR pszProtocol) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE RegisterMimeFilter(
- /* [in] */ IClassFactory *pCF,
- /* [in] */ REFCLSID rclsid,
- /* [in] */ LPCWSTR pwzType) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE UnregisterMimeFilter(
- /* [in] */ IClassFactory *pCF,
- /* [in] */ LPCWSTR pwzType) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateBinding(
- /* [in] */ LPBC pBC,
- /* [in] */ LPCWSTR szUrl,
- /* [in] */ IUnknown *pUnkOuter,
- /* [unique][out] */ IUnknown **ppUnk,
- /* [unique][out] */ IInternetProtocol **ppOInetProt,
- /* [in] */ DWORD dwOption) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetSessionOption(
- /* [in] */ DWORD dwOption,
- /* [in] */ LPVOID pBuffer,
- /* [in] */ DWORD dwBufferLength,
- /* [in] */ DWORD dwReserved) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetSessionOption(
- /* [in] */ DWORD dwOption,
- /* [out][in] */ LPVOID pBuffer,
- /* [out][in] */ DWORD *pdwBufferLength,
- /* [in] */ DWORD dwReserved) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IInternetSessionVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IInternetSession * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IInternetSession * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IInternetSession * This);
-
- HRESULT ( STDMETHODCALLTYPE *RegisterNameSpace )(
- IInternetSession * This,
- /* [in] */ IClassFactory *pCF,
- /* [in] */ REFCLSID rclsid,
- /* [in] */ LPCWSTR pwzProtocol,
- /* [in] */ ULONG cPatterns,
- /* [in] */ const LPCWSTR *ppwzPatterns,
- /* [in] */ DWORD dwReserved);
-
- HRESULT ( STDMETHODCALLTYPE *UnregisterNameSpace )(
- IInternetSession * This,
- /* [in] */ IClassFactory *pCF,
- /* [in] */ LPCWSTR pszProtocol);
-
- HRESULT ( STDMETHODCALLTYPE *RegisterMimeFilter )(
- IInternetSession * This,
- /* [in] */ IClassFactory *pCF,
- /* [in] */ REFCLSID rclsid,
- /* [in] */ LPCWSTR pwzType);
-
- HRESULT ( STDMETHODCALLTYPE *UnregisterMimeFilter )(
- IInternetSession * This,
- /* [in] */ IClassFactory *pCF,
- /* [in] */ LPCWSTR pwzType);
-
- HRESULT ( STDMETHODCALLTYPE *CreateBinding )(
- IInternetSession * This,
- /* [in] */ LPBC pBC,
- /* [in] */ LPCWSTR szUrl,
- /* [in] */ IUnknown *pUnkOuter,
- /* [unique][out] */ IUnknown **ppUnk,
- /* [unique][out] */ IInternetProtocol **ppOInetProt,
- /* [in] */ DWORD dwOption);
-
- HRESULT ( STDMETHODCALLTYPE *SetSessionOption )(
- IInternetSession * This,
- /* [in] */ DWORD dwOption,
- /* [in] */ LPVOID pBuffer,
- /* [in] */ DWORD dwBufferLength,
- /* [in] */ DWORD dwReserved);
-
- HRESULT ( STDMETHODCALLTYPE *GetSessionOption )(
- IInternetSession * This,
- /* [in] */ DWORD dwOption,
- /* [out][in] */ LPVOID pBuffer,
- /* [out][in] */ DWORD *pdwBufferLength,
- /* [in] */ DWORD dwReserved);
-
- END_INTERFACE
- } IInternetSessionVtbl;
- interface IInternetSession
- {
- CONST_VTBL struct IInternetSessionVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IInternetSession_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IInternetSession_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IInternetSession_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IInternetSession_RegisterNameSpace(This,pCF,rclsid,pwzProtocol,cPatterns,ppwzPatterns,dwReserved)
- (This)->lpVtbl -> RegisterNameSpace(This,pCF,rclsid,pwzProtocol,cPatterns,ppwzPatterns,dwReserved)
- #define IInternetSession_UnregisterNameSpace(This,pCF,pszProtocol)
- (This)->lpVtbl -> UnregisterNameSpace(This,pCF,pszProtocol)
- #define IInternetSession_RegisterMimeFilter(This,pCF,rclsid,pwzType)
- (This)->lpVtbl -> RegisterMimeFilter(This,pCF,rclsid,pwzType)
- #define IInternetSession_UnregisterMimeFilter(This,pCF,pwzType)
- (This)->lpVtbl -> UnregisterMimeFilter(This,pCF,pwzType)
- #define IInternetSession_CreateBinding(This,pBC,szUrl,pUnkOuter,ppUnk,ppOInetProt,dwOption)
- (This)->lpVtbl -> CreateBinding(This,pBC,szUrl,pUnkOuter,ppUnk,ppOInetProt,dwOption)
- #define IInternetSession_SetSessionOption(This,dwOption,pBuffer,dwBufferLength,dwReserved)
- (This)->lpVtbl -> SetSessionOption(This,dwOption,pBuffer,dwBufferLength,dwReserved)
- #define IInternetSession_GetSessionOption(This,dwOption,pBuffer,pdwBufferLength,dwReserved)
- (This)->lpVtbl -> GetSessionOption(This,dwOption,pBuffer,pdwBufferLength,dwReserved)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IInternetSession_RegisterNameSpace_Proxy(
- IInternetSession * This,
- /* [in] */ IClassFactory *pCF,
- /* [in] */ REFCLSID rclsid,
- /* [in] */ LPCWSTR pwzProtocol,
- /* [in] */ ULONG cPatterns,
- /* [in] */ const LPCWSTR *ppwzPatterns,
- /* [in] */ DWORD dwReserved);
- void __RPC_STUB IInternetSession_RegisterNameSpace_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IInternetSession_UnregisterNameSpace_Proxy(
- IInternetSession * This,
- /* [in] */ IClassFactory *pCF,
- /* [in] */ LPCWSTR pszProtocol);
- void __RPC_STUB IInternetSession_UnregisterNameSpace_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IInternetSession_RegisterMimeFilter_Proxy(
- IInternetSession * This,
- /* [in] */ IClassFactory *pCF,
- /* [in] */ REFCLSID rclsid,
- /* [in] */ LPCWSTR pwzType);
- void __RPC_STUB IInternetSession_RegisterMimeFilter_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IInternetSession_UnregisterMimeFilter_Proxy(
- IInternetSession * This,
- /* [in] */ IClassFactory *pCF,
- /* [in] */ LPCWSTR pwzType);
- void __RPC_STUB IInternetSession_UnregisterMimeFilter_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IInternetSession_CreateBinding_Proxy(
- IInternetSession * This,
- /* [in] */ LPBC pBC,
- /* [in] */ LPCWSTR szUrl,
- /* [in] */ IUnknown *pUnkOuter,
- /* [unique][out] */ IUnknown **ppUnk,
- /* [unique][out] */ IInternetProtocol **ppOInetProt,
- /* [in] */ DWORD dwOption);
- void __RPC_STUB IInternetSession_CreateBinding_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IInternetSession_SetSessionOption_Proxy(
- IInternetSession * This,
- /* [in] */ DWORD dwOption,
- /* [in] */ LPVOID pBuffer,
- /* [in] */ DWORD dwBufferLength,
- /* [in] */ DWORD dwReserved);
- void __RPC_STUB IInternetSession_SetSessionOption_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IInternetSession_GetSessionOption_Proxy(
- IInternetSession * This,
- /* [in] */ DWORD dwOption,
- /* [out][in] */ LPVOID pBuffer,
- /* [out][in] */ DWORD *pdwBufferLength,
- /* [in] */ DWORD dwReserved);
- void __RPC_STUB IInternetSession_GetSessionOption_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IInternetSession_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_urlmon_0193 */
- /* [local] */
- #endif
- #ifndef _LPIINTERNETTHREADSWITCH_DEFINED
- #define _LPIINTERNETTHREADSWITCH_DEFINED
- extern RPC_IF_HANDLE __MIDL_itf_urlmon_0193_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_urlmon_0193_v0_0_s_ifspec;
- #ifndef __IInternetThreadSwitch_INTERFACE_DEFINED__
- #define __IInternetThreadSwitch_INTERFACE_DEFINED__
- /* interface IInternetThreadSwitch */
- /* [unique][uuid][object][local] */
- typedef /* [unique] */ IInternetThreadSwitch *LPIINTERNETTHREADSWITCH;
- EXTERN_C const IID IID_IInternetThreadSwitch;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("79eac9e8-baf9-11ce-8c82-00aa004ba90b")
- IInternetThreadSwitch : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Prepare( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Continue( void) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IInternetThreadSwitchVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IInternetThreadSwitch * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IInternetThreadSwitch * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IInternetThreadSwitch * This);
-
- HRESULT ( STDMETHODCALLTYPE *Prepare )(
- IInternetThreadSwitch * This);
-
- HRESULT ( STDMETHODCALLTYPE *Continue )(
- IInternetThreadSwitch * This);
-
- END_INTERFACE
- } IInternetThreadSwitchVtbl;
- interface IInternetThreadSwitch
- {
- CONST_VTBL struct IInternetThreadSwitchVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IInternetThreadSwitch_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IInternetThreadSwitch_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IInternetThreadSwitch_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IInternetThreadSwitch_Prepare(This)
- (This)->lpVtbl -> Prepare(This)
- #define IInternetThreadSwitch_Continue(This)
- (This)->lpVtbl -> Continue(This)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IInternetThreadSwitch_Prepare_Proxy(
- IInternetThreadSwitch * This);
- void __RPC_STUB IInternetThreadSwitch_Prepare_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IInternetThreadSwitch_Continue_Proxy(
- IInternetThreadSwitch * This);
- void __RPC_STUB IInternetThreadSwitch_Continue_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IInternetThreadSwitch_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_urlmon_0194 */
- /* [local] */
- #endif
- #ifndef _LPIINTERNETPRIORITY_DEFINED
- #define _LPIINTERNETPRIORITY_DEFINED
- extern RPC_IF_HANDLE __MIDL_itf_urlmon_0194_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_urlmon_0194_v0_0_s_ifspec;
- #ifndef __IInternetPriority_INTERFACE_DEFINED__
- #define __IInternetPriority_INTERFACE_DEFINED__
- /* interface IInternetPriority */
- /* [unique][uuid][object][local] */
- typedef /* [unique] */ IInternetPriority *LPIINTERNETPRIORITY;
- EXTERN_C const IID IID_IInternetPriority;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("79eac9eb-baf9-11ce-8c82-00aa004ba90b")
- IInternetPriority : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE SetPriority(
- /* [in] */ LONG nPriority) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetPriority(
- /* [out] */ LONG *pnPriority) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IInternetPriorityVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IInternetPriority * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IInternetPriority * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IInternetPriority * This);
-
- HRESULT ( STDMETHODCALLTYPE *SetPriority )(
- IInternetPriority * This,
- /* [in] */ LONG nPriority);
-
- HRESULT ( STDMETHODCALLTYPE *GetPriority )(
- IInternetPriority * This,
- /* [out] */ LONG *pnPriority);
-
- END_INTERFACE
- } IInternetPriorityVtbl;
- interface IInternetPriority
- {
- CONST_VTBL struct IInternetPriorityVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IInternetPriority_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IInternetPriority_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IInternetPriority_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IInternetPriority_SetPriority(This,nPriority)
- (This)->lpVtbl -> SetPriority(This,nPriority)
- #define IInternetPriority_GetPriority(This,pnPriority)
- (This)->lpVtbl -> GetPriority(This,pnPriority)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IInternetPriority_SetPriority_Proxy(
- IInternetPriority * This,
- /* [in] */ LONG nPriority);
- void __RPC_STUB IInternetPriority_SetPriority_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IInternetPriority_GetPriority_Proxy(
- IInternetPriority * This,
- /* [out] */ LONG *pnPriority);
- void __RPC_STUB IInternetPriority_GetPriority_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IInternetPriority_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_urlmon_0195 */
- /* [local] */
- #endif
- #ifndef _LPIINTERNETPROTOCOLINFO_DEFINED
- #define _LPIINTERNETPROTOCOLINFO_DEFINED
- extern RPC_IF_HANDLE __MIDL_itf_urlmon_0195_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_urlmon_0195_v0_0_s_ifspec;
- #ifndef __IInternetProtocolInfo_INTERFACE_DEFINED__
- #define __IInternetProtocolInfo_INTERFACE_DEFINED__
- /* interface IInternetProtocolInfo */
- /* [unique][uuid][object][local] */
- typedef /* [unique] */ IInternetProtocolInfo *LPIINTERNETPROTOCOLINFO;
- typedef
- enum _tagPARSEACTION
- { PARSE_CANONICALIZE = 1,
- PARSE_FRIENDLY = PARSE_CANONICALIZE + 1,
- PARSE_SECURITY_URL = PARSE_FRIENDLY + 1,
- PARSE_ROOTDOCUMENT = PARSE_SECURITY_URL + 1,
- PARSE_DOCUMENT = PARSE_ROOTDOCUMENT + 1,
- PARSE_ANCHOR = PARSE_DOCUMENT + 1,
- PARSE_ENCODE = PARSE_ANCHOR + 1,
- PARSE_DECODE = PARSE_ENCODE + 1,
- PARSE_PATH_FROM_URL = PARSE_DECODE + 1,
- PARSE_URL_FROM_PATH = PARSE_PATH_FROM_URL + 1,
- PARSE_MIME = PARSE_URL_FROM_PATH + 1,
- PARSE_SERVER = PARSE_MIME + 1,
- PARSE_SCHEMA = PARSE_SERVER + 1,
- PARSE_SITE = PARSE_SCHEMA + 1,
- PARSE_DOMAIN = PARSE_SITE + 1,
- PARSE_LOCATION = PARSE_DOMAIN + 1,
- PARSE_SECURITY_DOMAIN = PARSE_LOCATION + 1,
- PARSE_ESCAPE = PARSE_SECURITY_DOMAIN + 1,
- PARSE_UNESCAPE = PARSE_ESCAPE + 1
- } PARSEACTION;
- typedef
- enum _tagPSUACTION
- { PSU_DEFAULT = 1,
- PSU_SECURITY_URL_ONLY = PSU_DEFAULT + 1
- } PSUACTION;
- typedef
- enum _tagQUERYOPTION
- { QUERY_EXPIRATION_DATE = 1,
- QUERY_TIME_OF_LAST_CHANGE = QUERY_EXPIRATION_DATE + 1,
- QUERY_CONTENT_ENCODING = QUERY_TIME_OF_LAST_CHANGE + 1,
- QUERY_CONTENT_TYPE = QUERY_CONTENT_ENCODING + 1,
- QUERY_REFRESH = QUERY_CONTENT_TYPE + 1,
- QUERY_RECOMBINE = QUERY_REFRESH + 1,
- QUERY_CAN_NAVIGATE = QUERY_RECOMBINE + 1,
- QUERY_USES_NETWORK = QUERY_CAN_NAVIGATE + 1,
- QUERY_IS_CACHED = QUERY_USES_NETWORK + 1,
- QUERY_IS_INSTALLEDENTRY = QUERY_IS_CACHED + 1,
- QUERY_IS_CACHED_OR_MAPPED = QUERY_IS_INSTALLEDENTRY + 1,
- QUERY_USES_CACHE = QUERY_IS_CACHED_OR_MAPPED + 1,
- QUERY_IS_SECURE = QUERY_USES_CACHE + 1,
- QUERY_IS_SAFE = QUERY_IS_SECURE + 1
- } QUERYOPTION;
- EXTERN_C const IID IID_IInternetProtocolInfo;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("79eac9ec-baf9-11ce-8c82-00aa004ba90b")
- IInternetProtocolInfo : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE ParseUrl(
- /* [in] */ LPCWSTR pwzUrl,
- /* [in] */ PARSEACTION ParseAction,
- /* [in] */ DWORD dwParseFlags,
- /* [out] */ LPWSTR pwzResult,
- /* [in] */ DWORD cchResult,
- /* [out] */ DWORD *pcchResult,
- /* [in] */ DWORD dwReserved) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CombineUrl(
- /* [in] */ LPCWSTR pwzBaseUrl,
- /* [in] */ LPCWSTR pwzRelativeUrl,
- /* [in] */ DWORD dwCombineFlags,
- /* [out] */ LPWSTR pwzResult,
- /* [in] */ DWORD cchResult,
- /* [out] */ DWORD *pcchResult,
- /* [in] */ DWORD dwReserved) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CompareUrl(
- /* [in] */ LPCWSTR pwzUrl1,
- /* [in] */ LPCWSTR pwzUrl2,
- /* [in] */ DWORD dwCompareFlags) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE QueryInfo(
- /* [in] */ LPCWSTR pwzUrl,
- /* [in] */ QUERYOPTION OueryOption,
- /* [in] */ DWORD dwQueryFlags,
- /* [size_is][out][in] */ LPVOID pBuffer,
- /* [in] */ DWORD cbBuffer,
- /* [out][in] */ DWORD *pcbBuf,
- /* [in] */ DWORD dwReserved) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IInternetProtocolInfoVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IInternetProtocolInfo * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IInternetProtocolInfo * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IInternetProtocolInfo * This);
-
- HRESULT ( STDMETHODCALLTYPE *ParseUrl )(
- IInternetProtocolInfo * This,
- /* [in] */ LPCWSTR pwzUrl,
- /* [in] */ PARSEACTION ParseAction,
- /* [in] */ DWORD dwParseFlags,
- /* [out] */ LPWSTR pwzResult,
- /* [in] */ DWORD cchResult,
- /* [out] */ DWORD *pcchResult,
- /* [in] */ DWORD dwReserved);
-
- HRESULT ( STDMETHODCALLTYPE *CombineUrl )(
- IInternetProtocolInfo * This,
- /* [in] */ LPCWSTR pwzBaseUrl,
- /* [in] */ LPCWSTR pwzRelativeUrl,
- /* [in] */ DWORD dwCombineFlags,
- /* [out] */ LPWSTR pwzResult,
- /* [in] */ DWORD cchResult,
- /* [out] */ DWORD *pcchResult,
- /* [in] */ DWORD dwReserved);
-
- HRESULT ( STDMETHODCALLTYPE *CompareUrl )(
- IInternetProtocolInfo * This,
- /* [in] */ LPCWSTR pwzUrl1,
- /* [in] */ LPCWSTR pwzUrl2,
- /* [in] */ DWORD dwCompareFlags);
-
- HRESULT ( STDMETHODCALLTYPE *QueryInfo )(
- IInternetProtocolInfo * This,
- /* [in] */ LPCWSTR pwzUrl,
- /* [in] */ QUERYOPTION OueryOption,
- /* [in] */ DWORD dwQueryFlags,
- /* [size_is][out][in] */ LPVOID pBuffer,
- /* [in] */ DWORD cbBuffer,
- /* [out][in] */ DWORD *pcbBuf,
- /* [in] */ DWORD dwReserved);
-
- END_INTERFACE
- } IInternetProtocolInfoVtbl;
- interface IInternetProtocolInfo
- {
- CONST_VTBL struct IInternetProtocolInfoVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IInternetProtocolInfo_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IInternetProtocolInfo_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IInternetProtocolInfo_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IInternetProtocolInfo_ParseUrl(This,pwzUrl,ParseAction,dwParseFlags,pwzResult,cchResult,pcchResult,dwReserved)
- (This)->lpVtbl -> ParseUrl(This,pwzUrl,ParseAction,dwParseFlags,pwzResult,cchResult,pcchResult,dwReserved)
- #define IInternetProtocolInfo_CombineUrl(This,pwzBaseUrl,pwzRelativeUrl,dwCombineFlags,pwzResult,cchResult,pcchResult,dwReserved)
- (This)->lpVtbl -> CombineUrl(This,pwzBaseUrl,pwzRelativeUrl,dwCombineFlags,pwzResult,cchResult,pcchResult,dwReserved)
- #define IInternetProtocolInfo_CompareUrl(This,pwzUrl1,pwzUrl2,dwCompareFlags)
- (This)->lpVtbl -> CompareUrl(This,pwzUrl1,pwzUrl2,dwCompareFlags)
- #define IInternetProtocolInfo_QueryInfo(This,pwzUrl,OueryOption,dwQueryFlags,pBuffer,cbBuffer,pcbBuf,dwReserved)
- (This)->lpVtbl -> QueryInfo(This,pwzUrl,OueryOption,dwQueryFlags,pBuffer,cbBuffer,pcbBuf,dwReserved)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IInternetProtocolInfo_ParseUrl_Proxy(
- IInternetProtocolInfo * This,
- /* [in] */ LPCWSTR pwzUrl,
- /* [in] */ PARSEACTION ParseAction,
- /* [in] */ DWORD dwParseFlags,
- /* [out] */ LPWSTR pwzResult,
- /* [in] */ DWORD cchResult,
- /* [out] */ DWORD *pcchResult,
- /* [in] */ DWORD dwReserved);
- void __RPC_STUB IInternetProtocolInfo_ParseUrl_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IInternetProtocolInfo_CombineUrl_Proxy(
- IInternetProtocolInfo * This,
- /* [in] */ LPCWSTR pwzBaseUrl,
- /* [in] */ LPCWSTR pwzRelativeUrl,
- /* [in] */ DWORD dwCombineFlags,
- /* [out] */ LPWSTR pwzResult,
- /* [in] */ DWORD cchResult,
- /* [out] */ DWORD *pcchResult,
- /* [in] */ DWORD dwReserved);
- void __RPC_STUB IInternetProtocolInfo_CombineUrl_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IInternetProtocolInfo_CompareUrl_Proxy(
- IInternetProtocolInfo * This,
- /* [in] */ LPCWSTR pwzUrl1,
- /* [in] */ LPCWSTR pwzUrl2,
- /* [in] */ DWORD dwCompareFlags);
- void __RPC_STUB IInternetProtocolInfo_CompareUrl_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IInternetProtocolInfo_QueryInfo_Proxy(
- IInternetProtocolInfo * This,
- /* [in] */ LPCWSTR pwzUrl,
- /* [in] */ QUERYOPTION OueryOption,
- /* [in] */ DWORD dwQueryFlags,
- /* [size_is][out][in] */ LPVOID pBuffer,
- /* [in] */ DWORD cbBuffer,
- /* [out][in] */ DWORD *pcbBuf,
- /* [in] */ DWORD dwReserved);
- void __RPC_STUB IInternetProtocolInfo_QueryInfo_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IInternetProtocolInfo_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_urlmon_0196 */
- /* [local] */
- #endif
- #define IOInet IInternet
- #define IOInetBindInfo IInternetBindInfo
- #define IOInetProtocolRoot IInternetProtocolRoot
- #define IOInetProtocol IInternetProtocol
- #define IOInetProtocolSink IInternetProtocolSink
- #define IOInetProtocolInfo IInternetProtocolInfo
- #define IOInetSession IInternetSession
- #define IOInetPriority IInternetPriority
- #define IOInetThreadSwitch IInternetThreadSwitch
- #define IOInetProtocolSinkStackable IInternetProtocolSinkStackable
- #define LPOINET LPIINTERNET
- #define LPOINETPROTOCOLINFO LPIINTERNETPROTOCOLINFO
- #define LPOINETBINDINFO LPIINTERNETBINDINFO
- #define LPOINETPROTOCOLROOT LPIINTERNETPROTOCOLROOT
- #define LPOINETPROTOCOL LPIINTERNETPROTOCOL
- #define LPOINETPROTOCOLSINK LPIINTERNETPROTOCOLSINK
- #define LPOINETSESSION LPIINTERNETSESSION
- #define LPOINETTHREADSWITCH LPIINTERNETTHREADSWITCH
- #define LPOINETPRIORITY LPIINTERNETPRIORITY
- #define LPOINETPROTOCOLINFO LPIINTERNETPROTOCOLINFO
- #define LPOINETPROTOCOLSINKSTACKABLE LPIINTERNETPROTOCOLSINKSTACKABLE
- #define IID_IOInet IID_IInternet
- #define IID_IOInetBindInfo IID_IInternetBindInfo
- #define IID_IOInetProtocolRoot IID_IInternetProtocolRoot
- #define IID_IOInetProtocol IID_IInternetProtocol
- #define IID_IOInetProtocolSink IID_IInternetProtocolSink
- #define IID_IOInetProtocolInfo IID_IInternetProtocolInfo
- #define IID_IOInetSession IID_IInternetSession
- #define IID_IOInetPriority IID_IInternetPriority
- #define IID_IOInetThreadSwitch IID_IInternetThreadSwitch
- #define IID_IOInetProtocolSinkStackable IID_IInternetProtocolSinkStackable
- STDAPI CoInternetParseUrl(
- LPCWSTR pwzUrl,
- PARSEACTION ParseAction,
- DWORD dwFlags,
- LPWSTR pszResult,
- DWORD cchResult,
- DWORD *pcchResult,
- DWORD dwReserved
- );
- STDAPI CoInternetCombineUrl(
- LPCWSTR pwzBaseUrl,
- LPCWSTR pwzRelativeUrl,
- DWORD dwCombineFlags,
- LPWSTR pszResult,
- DWORD cchResult,
- DWORD *pcchResult,
- DWORD dwReserved
- );
- STDAPI CoInternetCompareUrl(
- LPCWSTR pwzUrl1,
- LPCWSTR pwzUrl2,
- DWORD dwFlags
- );
- STDAPI CoInternetGetProtocolFlags(
- LPCWSTR pwzUrl,
- DWORD *pdwFlags,
- DWORD dwReserved
- );
- STDAPI CoInternetQueryInfo(
- LPCWSTR pwzUrl,
- QUERYOPTION QueryOptions,
- DWORD dwQueryFlags,
- LPVOID pvBuffer,
- DWORD cbBuffer,
- DWORD *pcbBuffer,
- DWORD dwReserved
- );
- STDAPI CoInternetGetSession(
- DWORD dwSessionMode,
- IInternetSession **ppIInternetSession,
- DWORD dwReserved
- );
- STDAPI CoInternetGetSecurityUrl(
- LPCWSTR pwzUrl,
- LPWSTR *ppwzSecUrl,
- PSUACTION psuAction,
- DWORD dwReserved
- );
-
- STDAPI CopyStgMedium(const STGMEDIUM * pcstgmedSrc,
- STGMEDIUM * pstgmedDest);
- STDAPI CopyBindInfo( const BINDINFO * pcbiSrc,
- BINDINFO * pbiDest );
- STDAPI_(void) ReleaseBindInfo( BINDINFO * pbindinfo );
-
- #define INET_E_USE_DEFAULT_PROTOCOLHANDLER _HRESULT_TYPEDEF_(0x800C0011L)
- #define INET_E_USE_DEFAULT_SETTING _HRESULT_TYPEDEF_(0x800C0012L)
- #define INET_E_DEFAULT_ACTION INET_E_USE_DEFAULT_PROTOCOLHANDLER
- #define INET_E_QUERYOPTION_UNKNOWN _HRESULT_TYPEDEF_(0x800C0013L)
- #define INET_E_REDIRECTING _HRESULT_TYPEDEF_(0x800C0014L)
- #define OInetParseUrl CoInternetParseUrl
- #define OInetCombineUrl CoInternetCombineUrl
- #define OInetCompareUrl CoInternetCompareUrl
- #define OInetQueryInfo CoInternetQueryInfo
- #define OInetGetSession CoInternetGetSession
- #endif // !_URLMON_NO_ASYNC_PLUGABLE_PROTOCOLS_
- //
- // Static Protocol flags
- //
- #define PROTOCOLFLAG_NO_PICS_CHECK 0x00000001
- // Creates the security manager object. The first argument is the Service provider
- // to allow for delegation
- STDAPI CoInternetCreateSecurityManager(IServiceProvider *pSP, IInternetSecurityManager **ppSM, DWORD dwReserved);
- STDAPI CoInternetCreateZoneManager(IServiceProvider *pSP, IInternetZoneManager **ppZM, DWORD dwReserved);
- // Security manager CLSID's
- EXTERN_C const IID CLSID_InternetSecurityManager;
- EXTERN_C const IID CLSID_InternetZoneManager;
- // This service is used for delegation support on the Security Manager interface
- #define SID_SInternetSecurityManager IID_IInternetSecurityManager
- #define SID_SInternetHostSecurityManager IID_IInternetHostSecurityManager
- #ifndef _LPINTERNETSECURITYMGRSITE_DEFINED
- #define _LPINTERNETSECURITYMGRSITE_DEFINED
- extern RPC_IF_HANDLE __MIDL_itf_urlmon_0196_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_urlmon_0196_v0_0_s_ifspec;
- #ifndef __IInternetSecurityMgrSite_INTERFACE_DEFINED__
- #define __IInternetSecurityMgrSite_INTERFACE_DEFINED__
- /* interface IInternetSecurityMgrSite */
- /* [unique][helpstring][uuid][object][local] */
- EXTERN_C const IID IID_IInternetSecurityMgrSite;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("79eac9ed-baf9-11ce-8c82-00aa004ba90b")
- IInternetSecurityMgrSite : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE GetWindow(
- /* [out] */ HWND *phwnd) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE EnableModeless(
- /* [in] */ BOOL fEnable) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IInternetSecurityMgrSiteVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IInternetSecurityMgrSite * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IInternetSecurityMgrSite * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IInternetSecurityMgrSite * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetWindow )(
- IInternetSecurityMgrSite * This,
- /* [out] */ HWND *phwnd);
-
- HRESULT ( STDMETHODCALLTYPE *EnableModeless )(
- IInternetSecurityMgrSite * This,
- /* [in] */ BOOL fEnable);
-
- END_INTERFACE
- } IInternetSecurityMgrSiteVtbl;
- interface IInternetSecurityMgrSite
- {
- CONST_VTBL struct IInternetSecurityMgrSiteVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IInternetSecurityMgrSite_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IInternetSecurityMgrSite_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IInternetSecurityMgrSite_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IInternetSecurityMgrSite_GetWindow(This,phwnd)
- (This)->lpVtbl -> GetWindow(This,phwnd)
- #define IInternetSecurityMgrSite_EnableModeless(This,fEnable)
- (This)->lpVtbl -> EnableModeless(This,fEnable)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IInternetSecurityMgrSite_GetWindow_Proxy(
- IInternetSecurityMgrSite * This,
- /* [out] */ HWND *phwnd);
- void __RPC_STUB IInternetSecurityMgrSite_GetWindow_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IInternetSecurityMgrSite_EnableModeless_Proxy(
- IInternetSecurityMgrSite * This,
- /* [in] */ BOOL fEnable);
- void __RPC_STUB IInternetSecurityMgrSite_EnableModeless_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IInternetSecurityMgrSite_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_urlmon_0197 */
- /* [local] */
- #endif
- #ifndef _LPINTERNETSECURITYMANANGER_DEFINED
- #define _LPINTERNETSECURITYMANANGER_DEFINED
- extern RPC_IF_HANDLE __MIDL_itf_urlmon_0197_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_urlmon_0197_v0_0_s_ifspec;
- #ifndef __IInternetSecurityManager_INTERFACE_DEFINED__
- #define __IInternetSecurityManager_INTERFACE_DEFINED__
- /* interface IInternetSecurityManager */
- /* [object][unique][helpstring][uuid] */
- #define MUTZ_NOSAVEDFILECHECK 0x00000001 // don't check file: for saved file comment
- #define MUTZ_ENFORCERESTRICTED 0x00000100 // enforce restricted zone independent of URL
- // MapUrlToZone returns the zone index given a URL
- #define MAX_SIZE_SECURITY_ID 512 // bytes
- typedef /* [public] */
- enum __MIDL_IInternetSecurityManager_0001
- { PUAF_DEFAULT = 0,
- PUAF_NOUI = 0x1,
- PUAF_ISFILE = 0x2,
- PUAF_WARN_IF_DENIED = 0x4,
- PUAF_FORCEUI_FOREGROUND = 0x8,
- PUAF_CHECK_TIFS = 0x10,
- PUAF_DONTCHECKBOXINDIALOG = 0x20,
- PUAF_TRUSTED = 0x40,
- PUAF_ACCEPT_WILDCARD_SCHEME = 0x80,
- PUAF_ENFORCERESTRICTED = 0x100
- } PUAF;
- // This is the wrapper function that most clients will use.
- // It figures out the current Policy for the passed in Action,
- // and puts up UI if the current Policy indicates that the user
- // should be queried. It returns back the Policy which the caller
- // will use to determine if the action should be allowed
- // This is the wrapper function to conveniently read a custom policy.
- typedef /* [public] */
- enum __MIDL_IInternetSecurityManager_0002
- { SZM_CREATE = 0,
- SZM_DELETE = 0x1
- } SZM_FLAGS;
- // SetZoneMapping
- // lpszPattern: string denoting a URL pattern
- // Examples of valid patterns:
- // *://*.msn.com
- // http://*.sony.co.jp
- // *://et.msn.com
- // ftp://157.54.23.41/
- // https://localsvr
- // file:localsvrshare
- // *://157.54.100-200.*
- // Examples of invalid patterns:
- // http://*.lcs.mit.edu
- // ftp://*
- // dwFlags: SZM_FLAGS values
- EXTERN_C const IID IID_IInternetSecurityManager;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("79eac9ee-baf9-11ce-8c82-00aa004ba90b")
- IInternetSecurityManager : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE SetSecuritySite(
- /* [unique][in] */ IInternetSecurityMgrSite *pSite) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetSecuritySite(
- /* [out] */ IInternetSecurityMgrSite **ppSite) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE MapUrlToZone(
- /* [in] */ LPCWSTR pwszUrl,
- /* [out] */ DWORD *pdwZone,
- /* [in] */ DWORD dwFlags) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetSecurityId(
- /* [in] */ LPCWSTR pwszUrl,
- /* [size_is][out] */ BYTE *pbSecurityId,
- /* [out][in] */ DWORD *pcbSecurityId,
- /* [in] */ DWORD_PTR dwReserved) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE ProcessUrlAction(
- /* [in] */ LPCWSTR pwszUrl,
- /* [in] */ DWORD dwAction,
- /* [size_is][out] */ BYTE *pPolicy,
- /* [in] */ DWORD cbPolicy,
- /* [in] */ BYTE *pContext,
- /* [in] */ DWORD cbContext,
- /* [in] */ DWORD dwFlags,
- /* [in] */ DWORD dwReserved) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE QueryCustomPolicy(
- /* [in] */ LPCWSTR pwszUrl,
- /* [in] */ REFGUID guidKey,
- /* [size_is][size_is][out] */ BYTE **ppPolicy,
- /* [out] */ DWORD *pcbPolicy,
- /* [in] */ BYTE *pContext,
- /* [in] */ DWORD cbContext,
- /* [in] */ DWORD dwReserved) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetZoneMapping(
- /* [in] */ DWORD dwZone,
- /* [in] */ LPCWSTR lpszPattern,
- /* [in] */ DWORD dwFlags) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetZoneMappings(
- /* [in] */ DWORD dwZone,
- /* [out] */ IEnumString **ppenumString,
- /* [in] */ DWORD dwFlags) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IInternetSecurityManagerVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IInternetSecurityManager * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IInternetSecurityManager * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IInternetSecurityManager * This);
-
- HRESULT ( STDMETHODCALLTYPE *SetSecuritySite )(
- IInternetSecurityManager * This,
- /* [unique][in] */ IInternetSecurityMgrSite *pSite);
-
- HRESULT ( STDMETHODCALLTYPE *GetSecuritySite )(
- IInternetSecurityManager * This,
- /* [out] */ IInternetSecurityMgrSite **ppSite);
-
- HRESULT ( STDMETHODCALLTYPE *MapUrlToZone )(
- IInternetSecurityManager * This,
- /* [in] */ LPCWSTR pwszUrl,
- /* [out] */ DWORD *pdwZone,
- /* [in] */ DWORD dwFlags);
-
- HRESULT ( STDMETHODCALLTYPE *GetSecurityId )(
- IInternetSecurityManager * This,
- /* [in] */ LPCWSTR pwszUrl,
- /* [size_is][out] */ BYTE *pbSecurityId,
- /* [out][in] */ DWORD *pcbSecurityId,
- /* [in] */ DWORD_PTR dwReserved);
-
- HRESULT ( STDMETHODCALLTYPE *ProcessUrlAction )(
- IInternetSecurityManager * This,
- /* [in] */ LPCWSTR pwszUrl,
- /* [in] */ DWORD dwAction,
- /* [size_is][out] */ BYTE *pPolicy,
- /* [in] */ DWORD cbPolicy,
- /* [in] */ BYTE *pContext,
- /* [in] */ DWORD cbContext,
- /* [in] */ DWORD dwFlags,
- /* [in] */ DWORD dwReserved);
-
- HRESULT ( STDMETHODCALLTYPE *QueryCustomPolicy )(
- IInternetSecurityManager * This,
- /* [in] */ LPCWSTR pwszUrl,
- /* [in] */ REFGUID guidKey,
- /* [size_is][size_is][out] */ BYTE **ppPolicy,
- /* [out] */ DWORD *pcbPolicy,
- /* [in] */ BYTE *pContext,
- /* [in] */ DWORD cbContext,
- /* [in] */ DWORD dwReserved);
-
- HRESULT ( STDMETHODCALLTYPE *SetZoneMapping )(
- IInternetSecurityManager * This,
- /* [in] */ DWORD dwZone,
- /* [in] */ LPCWSTR lpszPattern,
- /* [in] */ DWORD dwFlags);
-
- HRESULT ( STDMETHODCALLTYPE *GetZoneMappings )(
- IInternetSecurityManager * This,
- /* [in] */ DWORD dwZone,
- /* [out] */ IEnumString **ppenumString,
- /* [in] */ DWORD dwFlags);
-
- END_INTERFACE
- } IInternetSecurityManagerVtbl;
- interface IInternetSecurityManager
- {
- CONST_VTBL struct IInternetSecurityManagerVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IInternetSecurityManager_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IInternetSecurityManager_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IInternetSecurityManager_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IInternetSecurityManager_SetSecuritySite(This,pSite)
- (This)->lpVtbl -> SetSecuritySite(This,pSite)
- #define IInternetSecurityManager_GetSecuritySite(This,ppSite)
- (This)->lpVtbl -> GetSecuritySite(This,ppSite)
- #define IInternetSecurityManager_MapUrlToZone(This,pwszUrl,pdwZone,dwFlags)
- (This)->lpVtbl -> MapUrlToZone(This,pwszUrl,pdwZone,dwFlags)
- #define IInternetSecurityManager_GetSecurityId(This,pwszUrl,pbSecurityId,pcbSecurityId,dwReserved)
- (This)->lpVtbl -> GetSecurityId(This,pwszUrl,pbSecurityId,pcbSecurityId,dwReserved)
- #define IInternetSecurityManager_ProcessUrlAction(This,pwszUrl,dwAction,pPolicy,cbPolicy,pContext,cbContext,dwFlags,dwReserved)
- (This)->lpVtbl -> ProcessUrlAction(This,pwszUrl,dwAction,pPolicy,cbPolicy,pContext,cbContext,dwFlags,dwReserved)
- #define IInternetSecurityManager_QueryCustomPolicy(This,pwszUrl,guidKey,ppPolicy,pcbPolicy,pContext,cbContext,dwReserved)
- (This)->lpVtbl -> QueryCustomPolicy(This,pwszUrl,guidKey,ppPolicy,pcbPolicy,pContext,cbContext,dwReserved)
- #define IInternetSecurityManager_SetZoneMapping(This,dwZone,lpszPattern,dwFlags)
- (This)->lpVtbl -> SetZoneMapping(This,dwZone,lpszPattern,dwFlags)
- #define IInternetSecurityManager_GetZoneMappings(This,dwZone,ppenumString,dwFlags)
- (This)->lpVtbl -> GetZoneMappings(This,dwZone,ppenumString,dwFlags)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IInternetSecurityManager_SetSecuritySite_Proxy(
- IInternetSecurityManager * This,
- /* [unique][in] */ IInternetSecurityMgrSite *pSite);
- void __RPC_STUB IInternetSecurityManager_SetSecuritySite_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IInternetSecurityManager_GetSecuritySite_Proxy(
- IInternetSecurityManager * This,
- /* [out] */ IInternetSecurityMgrSite **ppSite);
- void __RPC_STUB IInternetSecurityManager_GetSecuritySite_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IInternetSecurityManager_MapUrlToZone_Proxy(
- IInternetSecurityManager * This,
- /* [in] */ LPCWSTR pwszUrl,
- /* [out] */ DWORD *pdwZone,
- /* [in] */ DWORD dwFlags);
- void __RPC_STUB IInternetSecurityManager_MapUrlToZone_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IInternetSecurityManager_GetSecurityId_Proxy(
- IInternetSecurityManager * This,
- /* [in] */ LPCWSTR pwszUrl,
- /* [size_is][out] */ BYTE *pbSecurityId,
- /* [out][in] */ DWORD *pcbSecurityId,
- /* [in] */ DWORD_PTR dwReserved);
- void __RPC_STUB IInternetSecurityManager_GetSecurityId_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IInternetSecurityManager_ProcessUrlAction_Proxy(
- IInternetSecurityManager * This,
- /* [in] */ LPCWSTR pwszUrl,
- /* [in] */ DWORD dwAction,
- /* [size_is][out] */ BYTE *pPolicy,
- /* [in] */ DWORD cbPolicy,
- /* [in] */ BYTE *pContext,
- /* [in] */ DWORD cbContext,
- /* [in] */ DWORD dwFlags,
- /* [in] */ DWORD dwReserved);
- void __RPC_STUB IInternetSecurityManager_ProcessUrlAction_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IInternetSecurityManager_QueryCustomPolicy_Proxy(
- IInternetSecurityManager * This,
- /* [in] */ LPCWSTR pwszUrl,
- /* [in] */ REFGUID guidKey,
- /* [size_is][size_is][out] */ BYTE **ppPolicy,
- /* [out] */ DWORD *pcbPolicy,
- /* [in] */ BYTE *pContext,
- /* [in] */ DWORD cbContext,
- /* [in] */ DWORD dwReserved);
- void __RPC_STUB IInternetSecurityManager_QueryCustomPolicy_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IInternetSecurityManager_SetZoneMapping_Proxy(
- IInternetSecurityManager * This,
- /* [in] */ DWORD dwZone,
- /* [in] */ LPCWSTR lpszPattern,
- /* [in] */ DWORD dwFlags);
- void __RPC_STUB IInternetSecurityManager_SetZoneMapping_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IInternetSecurityManager_GetZoneMappings_Proxy(
- IInternetSecurityManager * This,
- /* [in] */ DWORD dwZone,
- /* [out] */ IEnumString **ppenumString,
- /* [in] */ DWORD dwFlags);
- void __RPC_STUB IInternetSecurityManager_GetZoneMappings_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IInternetSecurityManager_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_urlmon_0198 */
- /* [local] */
- #endif
- #ifndef _LPINTERNETHOSTSECURITYMANANGER_DEFINED
- #define _LPINTERNETHOSTSECURITYMANANGER_DEFINED
- //This is the interface MSHTML exposes to its clients
- //The clients need not pass in a URL to these functions
- //since MSHTML maintains the notion of the current URL
- extern RPC_IF_HANDLE __MIDL_itf_urlmon_0198_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_urlmon_0198_v0_0_s_ifspec;
- #ifndef __IInternetHostSecurityManager_INTERFACE_DEFINED__
- #define __IInternetHostSecurityManager_INTERFACE_DEFINED__
- /* interface IInternetHostSecurityManager */
- /* [unique][helpstring][uuid][object][local] */
- EXTERN_C const IID IID_IInternetHostSecurityManager;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("3af280b6-cb3f-11d0-891e-00c04fb6bfc4")
- IInternetHostSecurityManager : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE GetSecurityId(
- /* [size_is][out] */ BYTE *pbSecurityId,
- /* [out][in] */ DWORD *pcbSecurityId,
- /* [in] */ DWORD_PTR dwReserved) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE ProcessUrlAction(
- /* [in] */ DWORD dwAction,
- /* [size_is][out] */ BYTE *pPolicy,
- /* [in] */ DWORD cbPolicy,
- /* [in] */ BYTE *pContext,
- /* [in] */ DWORD cbContext,
- /* [in] */ DWORD dwFlags,
- /* [in] */ DWORD dwReserved) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE QueryCustomPolicy(
- /* [in] */ REFGUID guidKey,
- /* [size_is][size_is][out] */ BYTE **ppPolicy,
- /* [out] */ DWORD *pcbPolicy,
- /* [in] */ BYTE *pContext,
- /* [in] */ DWORD cbContext,
- /* [in] */ DWORD dwReserved) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IInternetHostSecurityManagerVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IInternetHostSecurityManager * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IInternetHostSecurityManager * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IInternetHostSecurityManager * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetSecurityId )(
- IInternetHostSecurityManager * This,
- /* [size_is][out] */ BYTE *pbSecurityId,
- /* [out][in] */ DWORD *pcbSecurityId,
- /* [in] */ DWORD_PTR dwReserved);
-
- HRESULT ( STDMETHODCALLTYPE *ProcessUrlAction )(
- IInternetHostSecurityManager * This,
- /* [in] */ DWORD dwAction,
- /* [size_is][out] */ BYTE *pPolicy,
- /* [in] */ DWORD cbPolicy,
- /* [in] */ BYTE *pContext,
- /* [in] */ DWORD cbContext,
- /* [in] */ DWORD dwFlags,
- /* [in] */ DWORD dwReserved);
-
- HRESULT ( STDMETHODCALLTYPE *QueryCustomPolicy )(
- IInternetHostSecurityManager * This,
- /* [in] */ REFGUID guidKey,
- /* [size_is][size_is][out] */ BYTE **ppPolicy,
- /* [out] */ DWORD *pcbPolicy,
- /* [in] */ BYTE *pContext,
- /* [in] */ DWORD cbContext,
- /* [in] */ DWORD dwReserved);
-
- END_INTERFACE
- } IInternetHostSecurityManagerVtbl;
- interface IInternetHostSecurityManager
- {
- CONST_VTBL struct IInternetHostSecurityManagerVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IInternetHostSecurityManager_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IInternetHostSecurityManager_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IInternetHostSecurityManager_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IInternetHostSecurityManager_GetSecurityId(This,pbSecurityId,pcbSecurityId,dwReserved)
- (This)->lpVtbl -> GetSecurityId(This,pbSecurityId,pcbSecurityId,dwReserved)
- #define IInternetHostSecurityManager_ProcessUrlAction(This,dwAction,pPolicy,cbPolicy,pContext,cbContext,dwFlags,dwReserved)
- (This)->lpVtbl -> ProcessUrlAction(This,dwAction,pPolicy,cbPolicy,pContext,cbContext,dwFlags,dwReserved)
- #define IInternetHostSecurityManager_QueryCustomPolicy(This,guidKey,ppPolicy,pcbPolicy,pContext,cbContext,dwReserved)
- (This)->lpVtbl -> QueryCustomPolicy(This,guidKey,ppPolicy,pcbPolicy,pContext,cbContext,dwReserved)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IInternetHostSecurityManager_GetSecurityId_Proxy(
- IInternetHostSecurityManager * This,
- /* [size_is][out] */ BYTE *pbSecurityId,
- /* [out][in] */ DWORD *pcbSecurityId,
- /* [in] */ DWORD_PTR dwReserved);
- void __RPC_STUB IInternetHostSecurityManager_GetSecurityId_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IInternetHostSecurityManager_ProcessUrlAction_Proxy(
- IInternetHostSecurityManager * This,
- /* [in] */ DWORD dwAction,
- /* [size_is][out] */ BYTE *pPolicy,
- /* [in] */ DWORD cbPolicy,
- /* [in] */ BYTE *pContext,
- /* [in] */ DWORD cbContext,
- /* [in] */ DWORD dwFlags,
- /* [in] */ DWORD dwReserved);
- void __RPC_STUB IInternetHostSecurityManager_ProcessUrlAction_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IInternetHostSecurityManager_QueryCustomPolicy_Proxy(
- IInternetHostSecurityManager * This,
- /* [in] */ REFGUID guidKey,
- /* [size_is][size_is][out] */ BYTE **ppPolicy,
- /* [out] */ DWORD *pcbPolicy,
- /* [in] */ BYTE *pContext,
- /* [in] */ DWORD cbContext,
- /* [in] */ DWORD dwReserved);
- void __RPC_STUB IInternetHostSecurityManager_QueryCustomPolicy_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IInternetHostSecurityManager_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_urlmon_0199 */
- /* [local] */
- #endif
- // The zone manager maintains policies for a set of standard actions.
- // These actions are identified by integral values (called action indexes)
- // specified below.
- // Minimum legal value for an action
- #define URLACTION_MIN 0x00001000
- #define URLACTION_DOWNLOAD_MIN 0x00001000
- #define URLACTION_DOWNLOAD_SIGNED_ACTIVEX 0x00001001
- #define URLACTION_DOWNLOAD_UNSIGNED_ACTIVEX 0x00001004
- #define URLACTION_DOWNLOAD_CURR_MAX 0x00001004
- #define URLACTION_DOWNLOAD_MAX 0x000011FF
- #define URLACTION_ACTIVEX_MIN 0x00001200
- #define URLACTION_ACTIVEX_RUN 0x00001200
- #define URLPOLICY_ACTIVEX_CHECK_LIST 0x00010000
- #define URLACTION_ACTIVEX_OVERRIDE_OBJECT_SAFETY 0x00001201 // aggregate next four
- #define URLACTION_ACTIVEX_OVERRIDE_DATA_SAFETY 0x00001202 //
- #define URLACTION_ACTIVEX_OVERRIDE_SCRIPT_SAFETY 0x00001203 //
- #define URLACTION_SCRIPT_OVERRIDE_SAFETY 0x00001401 //
- #define URLACTION_ACTIVEX_CONFIRM_NOOBJECTSAFETY 0x00001204 //
- #define URLACTION_ACTIVEX_TREATASUNTRUSTED 0x00001205
- #define URLACTION_ACTIVEX_CURR_MAX 0x00001205
- #define URLACTION_ACTIVEX_MAX 0x000013ff
- #define URLACTION_SCRIPT_MIN 0x00001400
- #define URLACTION_SCRIPT_RUN 0x00001400
- #define URLACTION_SCRIPT_JAVA_USE 0x00001402
- #define URLACTION_SCRIPT_SAFE_ACTIVEX 0x00001405
- #define URLACTION_CROSS_DOMAIN_DATA 0x00001406
- #define URLACTION_SCRIPT_PASTE 0x00001407
- #define URLACTION_SCRIPT_CURR_MAX 0x00001407
- #define URLACTION_SCRIPT_MAX 0x000015ff
- #define URLACTION_HTML_MIN 0x00001600
- #define URLACTION_HTML_SUBMIT_FORMS 0x00001601 // aggregate next two
- #define URLACTION_HTML_SUBMIT_FORMS_FROM 0x00001602 //
- #define URLACTION_HTML_SUBMIT_FORMS_TO 0x00001603 //
- #define URLACTION_HTML_FONT_DOWNLOAD 0x00001604
- #define URLACTION_HTML_JAVA_RUN 0x00001605 // derive from Java custom policy
- #define URLACTION_HTML_USERDATA_SAVE 0x00001606
- #define URLACTION_HTML_SUBFRAME_NAVIGATE 0x00001607
- #define URLACTION_HTML_META_REFRESH 0x00001608
- #define URLACTION_HTML_MIXED_CONTENT 0x00001609
- #define URLACTION_HTML_MAX 0x000017ff
- #define URLACTION_SHELL_MIN 0x00001800
- #define URLACTION_SHELL_INSTALL_DTITEMS 0x00001800
- #define URLACTION_SHELL_MOVE_OR_COPY 0x00001802
- #define URLACTION_SHELL_FILE_DOWNLOAD 0x00001803
- #define URLACTION_SHELL_VERB 0x00001804
- #define URLACTION_SHELL_WEBVIEW_VERB 0x00001805
- #define URLACTION_SHELL_CURR_MAX 0x00001805
- #define URLACTION_SHELL_MAX 0x000019ff
- #define URLACTION_NETWORK_MIN 0x00001A00
- #define URLACTION_CREDENTIALS_USE 0x00001A00
- #define URLPOLICY_CREDENTIALS_SILENT_LOGON_OK 0x00000000
- #define URLPOLICY_CREDENTIALS_MUST_PROMPT_USER 0x00010000
- #define URLPOLICY_CREDENTIALS_CONDITIONAL_PROMPT 0x00020000
- #define URLPOLICY_CREDENTIALS_ANONYMOUS_ONLY 0x00030000
- #define URLACTION_AUTHENTICATE_CLIENT 0x00001A01
- #define URLPOLICY_AUTHENTICATE_CLEARTEXT_OK 0x00000000
- #define URLPOLICY_AUTHENTICATE_CHALLENGE_RESPONSE 0x00010000
- #define URLPOLICY_AUTHENTICATE_MUTUAL_ONLY 0x00030000
- #define URLACTION_COOKIES 0x00001A02
- #define URLACTION_COOKIES_SESSION 0x00001A03
- #define URLACTION_CLIENT_CERT_PROMPT 0x00001A04
- #define URLACTION_COOKIES_THIRD_PARTY 0x00001A05
- #define URLACTION_COOKIES_SESSION_THIRD_PARTY 0x00001A06
- #define URLACTION_COOKIES_ENABLED 0x00001A10
- #define URLACTION_NETWORK_CURR_MAX 0x00001A10
- #define URLACTION_NETWORK_MAX 0x00001Bff
- #define URLACTION_JAVA_MIN 0x00001C00
- #define URLACTION_JAVA_PERMISSIONS 0x00001C00
- #define URLPOLICY_JAVA_PROHIBIT 0x00000000
- #define URLPOLICY_JAVA_HIGH 0x00010000
- #define URLPOLICY_JAVA_MEDIUM 0x00020000
- #define URLPOLICY_JAVA_LOW 0x00030000
- #define URLPOLICY_JAVA_CUSTOM 0x00800000
- #define URLACTION_JAVA_CURR_MAX 0x00001C00
- #define URLACTION_JAVA_MAX 0x00001Cff
- // The following Infodelivery actions should have no default policies
- // in the registry. They assume that no default policy means fall
- // back to the global restriction. If an admin sets a policy per
- // zone, then it overrides the global restriction.
- #define URLACTION_INFODELIVERY_MIN 0x00001D00
- #define URLACTION_INFODELIVERY_NO_ADDING_CHANNELS 0x00001D00
- #define URLACTION_INFODELIVERY_NO_EDITING_CHANNELS 0x00001D01
- #define URLACTION_INFODELIVERY_NO_REMOVING_CHANNELS 0x00001D02
- #define URLACTION_INFODELIVERY_NO_ADDING_SUBSCRIPTIONS 0x00001D03
- #define URLACTION_INFODELIVERY_NO_EDITING_SUBSCRIPTIONS 0x00001D04
- #define URLACTION_INFODELIVERY_NO_REMOVING_SUBSCRIPTIONS 0x00001D05
- #define URLACTION_INFODELIVERY_NO_CHANNEL_LOGGING 0x00001D06
- #define URLACTION_INFODELIVERY_CURR_MAX 0x00001D06
- #define URLACTION_INFODELIVERY_MAX 0x00001Dff
- #define URLACTION_CHANNEL_SOFTDIST_MIN 0x00001E00
- #define URLACTION_CHANNEL_SOFTDIST_PERMISSIONS 0x00001E05
- #define URLPOLICY_CHANNEL_SOFTDIST_PROHIBIT 0x00010000
- #define URLPOLICY_CHANNEL_SOFTDIST_PRECACHE 0x00020000
- #define URLPOLICY_CHANNEL_SOFTDIST_AUTOINSTALL 0x00030000
- #define URLACTION_CHANNEL_SOFTDIST_MAX 0x00001Eff
- // For each action specified above the system maintains
- // a set of policies for the action.
- // The only policies supported currently are permissions (i.e. is something allowed)
- // and logging status.
- // IMPORTANT: If you are defining your own policies don't overload the meaning of the
- // loword of the policy. You can use the hiword to store any policy bits which are only
- // meaningful to your action.
- // For an example of how to do this look at the URLPOLICY_JAVA above
- // Permissions
- #define URLPOLICY_ALLOW 0x00
- #define URLPOLICY_QUERY 0x01
- #define URLPOLICY_DISALLOW 0x03
- // Notifications are not done when user already queried.
- #define URLPOLICY_NOTIFY_ON_ALLOW 0x10
- #define URLPOLICY_NOTIFY_ON_DISALLOW 0x20
- // Logging is done regardless of whether user was queried.
- #define URLPOLICY_LOG_ON_ALLOW 0x40
- #define URLPOLICY_LOG_ON_DISALLOW 0x80
- #define URLPOLICY_MASK_PERMISSIONS 0x0f
- #define GetUrlPolicyPermissions(dw) (dw & URLPOLICY_MASK_PERMISSIONS)
- #define SetUrlPolicyPermissions(dw,dw2) ((dw) = ((dw) & ~(URLPOLICY_MASK_PERMISSIONS)) | (dw2))
- #define URLPOLICY_DONTCHECKDLGBOX 0x100
- // The ordinal #'s that define the predefined zones internet explorer knows about.
- // When we support user-defined zones their zone numbers should be between
- // URLZONE_USER_MIN and URLZONE_USER_MAX
- #ifndef _LPINTERNETZONEMANAGER_DEFINED
- #define _LPINTERNETZONEMANAGER_DEFINED
- extern RPC_IF_HANDLE __MIDL_itf_urlmon_0199_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_urlmon_0199_v0_0_s_ifspec;
- #ifndef __IInternetZoneManager_INTERFACE_DEFINED__
- #define __IInternetZoneManager_INTERFACE_DEFINED__
- /* interface IInternetZoneManager */
- /* [unique][helpstring][uuid][object][local] */
- typedef /* [unique] */ IInternetZoneManager *LPURLZONEMANAGER;
- typedef
- enum tagURLZONE
- { URLZONE_PREDEFINED_MIN = 0,
- URLZONE_LOCAL_MACHINE = 0,
- URLZONE_INTRANET = URLZONE_LOCAL_MACHINE + 1,
- URLZONE_TRUSTED = URLZONE_INTRANET + 1,
- URLZONE_INTERNET = URLZONE_TRUSTED + 1,
- URLZONE_UNTRUSTED = URLZONE_INTERNET + 1,
- URLZONE_PREDEFINED_MAX = 999,
- URLZONE_USER_MIN = 1000,
- URLZONE_USER_MAX = 10000
- } URLZONE;
- typedef
- enum tagURLTEMPLATE
- { URLTEMPLATE_CUSTOM = 0,
- URLTEMPLATE_PREDEFINED_MIN = 0x10000,
- URLTEMPLATE_LOW = 0x10000,
- URLTEMPLATE_MEDLOW = 0x10500,
- URLTEMPLATE_MEDIUM = 0x11000,
- URLTEMPLATE_HIGH = 0x12000,
- URLTEMPLATE_PREDEFINED_MAX = 0x20000
- } URLTEMPLATE;
- enum __MIDL_IInternetZoneManager_0001
- { MAX_ZONE_PATH = 260,
- MAX_ZONE_DESCRIPTION = 200
- } ;
- typedef /* [public] */
- enum __MIDL_IInternetZoneManager_0002
- { ZAFLAGS_CUSTOM_EDIT = 0x1,
- ZAFLAGS_ADD_SITES = 0x2,
- ZAFLAGS_REQUIRE_VERIFICATION = 0x4,
- ZAFLAGS_INCLUDE_PROXY_OVERRIDE = 0x8,
- ZAFLAGS_INCLUDE_INTRANET_SITES = 0x10,
- ZAFLAGS_NO_UI = 0x20,
- ZAFLAGS_SUPPORTS_VERIFICATION = 0x40,
- ZAFLAGS_UNC_AS_INTRANET = 0x80
- } ZAFLAGS;
- typedef struct _ZONEATTRIBUTES
- {
- ULONG cbSize;
- WCHAR szDisplayName[ 260 ];
- WCHAR szDescription[ 200 ];
- WCHAR szIconPath[ 260 ];
- DWORD dwTemplateMinLevel;
- DWORD dwTemplateRecommended;
- DWORD dwTemplateCurrentLevel;
- DWORD dwFlags;
- } ZONEATTRIBUTES;
- typedef struct _ZONEATTRIBUTES *LPZONEATTRIBUTES;
- // Gets the zone attributes (information in registry other than actual security
- // policies associated with the zone). Zone attributes are fixed as:
- // Sets the zone attributes (information in registry other than actual security
- // policies associated with the zone). Zone attributes as above.
- // Returns S_OK or ??? if failed to write the zone attributes.
- /* Registry Flags
- When reading, default behavior is:
- If HKLM allows override and HKCU value exists
- Then use HKCU value
- Else use HKLM value
- When writing, default behavior is same as HKCU
- If HKLM allows override
- Then Write to HKCU
- Else Fail
- */
- typedef
- enum _URLZONEREG
- { URLZONEREG_DEFAULT = 0,
- URLZONEREG_HKLM = URLZONEREG_DEFAULT + 1,
- URLZONEREG_HKCU = URLZONEREG_HKLM + 1
- } URLZONEREG;
- // Gets a named custom policy associated with a zone;
- // e.g. the Java VM settings can be defined with a unique key such as 'Java'.
- // Custom policy support is intended to allow extensibility from the predefined
- // set of policies that IE4 has built in.
- //
- // pwszKey is the string name designating the custom policy. Components are
- // responsible for having unique names.
- // ppPolicy is the callee allocated buffer for the policy byte blob; caller is
- // responsible for freeing this buffer eventually.
- // pcbPolicy is the size of the byte blob returned.
- // dwRegFlags determines how registry is accessed (see above).
- // Returns S_OK if key is found and buffer allocated; ??? if key is not found (no buffer alloced).
- // Sets a named custom policy associated with a zone;
- // e.g. the Java VM settings can be defined with a unique key such as 'Java'.
- // Custom policy support is intended to allow extensibility from the predefined
- // set of policies that IE4 has built in.
- //
- // pwszKey is the string name designating the custom policy. Components are
- // responsible for having unique names.
- // ppPolicy is the caller allocated buffer for the policy byte blob.
- // pcbPolicy is the size of the byte blob to be set.
- // dwRegFlags determines if HTCU or HKLM is set.
- // Returns S_OK or ??? if failed to write the zone custom policy.
- // Gets action policy associated with a zone, the builtin, fixed-length policies info.
- // dwAction is the action code for the action as defined above.
- // pPolicy is the caller allocated buffer for the policy data.
- // cbPolicy is the size of the caller allocated buffer.
- // dwRegFlags determines how registry is accessed (see above).
- // Returns S_OK if action is valid; ??? if action is not valid.
- EXTERN_C const IID IID_IInternetZoneManager;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("79eac9ef-baf9-11ce-8c82-00aa004ba90b")
- IInternetZoneManager : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE GetZoneAttributes(
- /* [in] */ DWORD dwZone,
- /* [unique][out][in] */ ZONEATTRIBUTES *pZoneAttributes) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetZoneAttributes(
- /* [in] */ DWORD dwZone,
- /* [in] */ ZONEATTRIBUTES *pZoneAttributes) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetZoneCustomPolicy(
- /* [in] */ DWORD dwZone,
- /* [in] */ REFGUID guidKey,
- /* [size_is][size_is][out] */ BYTE **ppPolicy,
- /* [out] */ DWORD *pcbPolicy,
- /* [in] */ URLZONEREG urlZoneReg) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetZoneCustomPolicy(
- /* [in] */ DWORD dwZone,
- /* [in] */ REFGUID guidKey,
- /* [size_is][in] */ BYTE *pPolicy,
- /* [in] */ DWORD cbPolicy,
- /* [in] */ URLZONEREG urlZoneReg) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetZoneActionPolicy(
- /* [in] */ DWORD dwZone,
- /* [in] */ DWORD dwAction,
- /* [size_is][out] */ BYTE *pPolicy,
- /* [in] */ DWORD cbPolicy,
- /* [in] */ URLZONEREG urlZoneReg) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetZoneActionPolicy(
- /* [in] */ DWORD dwZone,
- /* [in] */ DWORD dwAction,
- /* [size_is][in] */ BYTE *pPolicy,
- /* [in] */ DWORD cbPolicy,
- /* [in] */ URLZONEREG urlZoneReg) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE PromptAction(
- /* [in] */ DWORD dwAction,
- /* [in] */ HWND hwndParent,
- /* [in] */ LPCWSTR pwszUrl,
- /* [in] */ LPCWSTR pwszText,
- /* [in] */ DWORD dwPromptFlags) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE LogAction(
- /* [in] */ DWORD dwAction,
- /* [in] */ LPCWSTR pwszUrl,
- /* [in] */ LPCWSTR pwszText,
- /* [in] */ DWORD dwLogFlags) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateZoneEnumerator(
- /* [out] */ DWORD *pdwEnum,
- /* [out] */ DWORD *pdwCount,
- /* [in] */ DWORD dwFlags) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetZoneAt(
- /* [in] */ DWORD dwEnum,
- /* [in] */ DWORD dwIndex,
- /* [out] */ DWORD *pdwZone) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE DestroyZoneEnumerator(
- /* [in] */ DWORD dwEnum) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CopyTemplatePoliciesToZone(
- /* [in] */ DWORD dwTemplate,
- /* [in] */ DWORD dwZone,
- /* [in] */ DWORD dwReserved) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IInternetZoneManagerVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IInternetZoneManager * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IInternetZoneManager * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IInternetZoneManager * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetZoneAttributes )(
- IInternetZoneManager * This,
- /* [in] */ DWORD dwZone,
- /* [unique][out][in] */ ZONEATTRIBUTES *pZoneAttributes);
-
- HRESULT ( STDMETHODCALLTYPE *SetZoneAttributes )(
- IInternetZoneManager * This,
- /* [in] */ DWORD dwZone,
- /* [in] */ ZONEATTRIBUTES *pZoneAttributes);
-
- HRESULT ( STDMETHODCALLTYPE *GetZoneCustomPolicy )(
- IInternetZoneManager * This,
- /* [in] */ DWORD dwZone,
- /* [in] */ REFGUID guidKey,
- /* [size_is][size_is][out] */ BYTE **ppPolicy,
- /* [out] */ DWORD *pcbPolicy,
- /* [in] */ URLZONEREG urlZoneReg);
-
- HRESULT ( STDMETHODCALLTYPE *SetZoneCustomPolicy )(
- IInternetZoneManager * This,
- /* [in] */ DWORD dwZone,
- /* [in] */ REFGUID guidKey,
- /* [size_is][in] */ BYTE *pPolicy,
- /* [in] */ DWORD cbPolicy,
- /* [in] */ URLZONEREG urlZoneReg);
-
- HRESULT ( STDMETHODCALLTYPE *GetZoneActionPolicy )(
- IInternetZoneManager * This,
- /* [in] */ DWORD dwZone,
- /* [in] */ DWORD dwAction,
- /* [size_is][out] */ BYTE *pPolicy,
- /* [in] */ DWORD cbPolicy,
- /* [in] */ URLZONEREG urlZoneReg);
-
- HRESULT ( STDMETHODCALLTYPE *SetZoneActionPolicy )(
- IInternetZoneManager * This,
- /* [in] */ DWORD dwZone,
- /* [in] */ DWORD dwAction,
- /* [size_is][in] */ BYTE *pPolicy,
- /* [in] */ DWORD cbPolicy,
- /* [in] */ URLZONEREG urlZoneReg);
-
- HRESULT ( STDMETHODCALLTYPE *PromptAction )(
- IInternetZoneManager * This,
- /* [in] */ DWORD dwAction,
- /* [in] */ HWND hwndParent,
- /* [in] */ LPCWSTR pwszUrl,
- /* [in] */ LPCWSTR pwszText,
- /* [in] */ DWORD dwPromptFlags);
-
- HRESULT ( STDMETHODCALLTYPE *LogAction )(
- IInternetZoneManager * This,
- /* [in] */ DWORD dwAction,
- /* [in] */ LPCWSTR pwszUrl,
- /* [in] */ LPCWSTR pwszText,
- /* [in] */ DWORD dwLogFlags);
-
- HRESULT ( STDMETHODCALLTYPE *CreateZoneEnumerator )(
- IInternetZoneManager * This,
- /* [out] */ DWORD *pdwEnum,
- /* [out] */ DWORD *pdwCount,
- /* [in] */ DWORD dwFlags);
-
- HRESULT ( STDMETHODCALLTYPE *GetZoneAt )(
- IInternetZoneManager * This,
- /* [in] */ DWORD dwEnum,
- /* [in] */ DWORD dwIndex,
- /* [out] */ DWORD *pdwZone);
-
- HRESULT ( STDMETHODCALLTYPE *DestroyZoneEnumerator )(
- IInternetZoneManager * This,
- /* [in] */ DWORD dwEnum);
-
- HRESULT ( STDMETHODCALLTYPE *CopyTemplatePoliciesToZone )(
- IInternetZoneManager * This,
- /* [in] */ DWORD dwTemplate,
- /* [in] */ DWORD dwZone,
- /* [in] */ DWORD dwReserved);
-
- END_INTERFACE
- } IInternetZoneManagerVtbl;
- interface IInternetZoneManager
- {
- CONST_VTBL struct IInternetZoneManagerVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IInternetZoneManager_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IInternetZoneManager_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IInternetZoneManager_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IInternetZoneManager_GetZoneAttributes(This,dwZone,pZoneAttributes)
- (This)->lpVtbl -> GetZoneAttributes(This,dwZone,pZoneAttributes)
- #define IInternetZoneManager_SetZoneAttributes(This,dwZone,pZoneAttributes)
- (This)->lpVtbl -> SetZoneAttributes(This,dwZone,pZoneAttributes)
- #define IInternetZoneManager_GetZoneCustomPolicy(This,dwZone,guidKey,ppPolicy,pcbPolicy,urlZoneReg)
- (This)->lpVtbl -> GetZoneCustomPolicy(This,dwZone,guidKey,ppPolicy,pcbPolicy,urlZoneReg)
- #define IInternetZoneManager_SetZoneCustomPolicy(This,dwZone,guidKey,pPolicy,cbPolicy,urlZoneReg)
- (This)->lpVtbl -> SetZoneCustomPolicy(This,dwZone,guidKey,pPolicy,cbPolicy,urlZoneReg)
- #define IInternetZoneManager_GetZoneActionPolicy(This,dwZone,dwAction,pPolicy,cbPolicy,urlZoneReg)
- (This)->lpVtbl -> GetZoneActionPolicy(This,dwZone,dwAction,pPolicy,cbPolicy,urlZoneReg)
- #define IInternetZoneManager_SetZoneActionPolicy(This,dwZone,dwAction,pPolicy,cbPolicy,urlZoneReg)
- (This)->lpVtbl -> SetZoneActionPolicy(This,dwZone,dwAction,pPolicy,cbPolicy,urlZoneReg)
- #define IInternetZoneManager_PromptAction(This,dwAction,hwndParent,pwszUrl,pwszText,dwPromptFlags)
- (This)->lpVtbl -> PromptAction(This,dwAction,hwndParent,pwszUrl,pwszText,dwPromptFlags)
- #define IInternetZoneManager_LogAction(This,dwAction,pwszUrl,pwszText,dwLogFlags)
- (This)->lpVtbl -> LogAction(This,dwAction,pwszUrl,pwszText,dwLogFlags)
- #define IInternetZoneManager_CreateZoneEnumerator(This,pdwEnum,pdwCount,dwFlags)
- (This)->lpVtbl -> CreateZoneEnumerator(This,pdwEnum,pdwCount,dwFlags)
- #define IInternetZoneManager_GetZoneAt(This,dwEnum,dwIndex,pdwZone)
- (This)->lpVtbl -> GetZoneAt(This,dwEnum,dwIndex,pdwZone)
- #define IInternetZoneManager_DestroyZoneEnumerator(This,dwEnum)
- (This)->lpVtbl -> DestroyZoneEnumerator(This,dwEnum)
- #define IInternetZoneManager_CopyTemplatePoliciesToZone(This,dwTemplate,dwZone,dwReserved)
- (This)->lpVtbl -> CopyTemplatePoliciesToZone(This,dwTemplate,dwZone,dwReserved)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IInternetZoneManager_GetZoneAttributes_Proxy(
- IInternetZoneManager * This,
- /* [in] */ DWORD dwZone,
- /* [unique][out][in] */ ZONEATTRIBUTES *pZoneAttributes);
- void __RPC_STUB IInternetZoneManager_GetZoneAttributes_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IInternetZoneManager_SetZoneAttributes_Proxy(
- IInternetZoneManager * This,
- /* [in] */ DWORD dwZone,
- /* [in] */ ZONEATTRIBUTES *pZoneAttributes);
- void __RPC_STUB IInternetZoneManager_SetZoneAttributes_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IInternetZoneManager_GetZoneCustomPolicy_Proxy(
- IInternetZoneManager * This,
- /* [in] */ DWORD dwZone,
- /* [in] */ REFGUID guidKey,
- /* [size_is][size_is][out] */ BYTE **ppPolicy,
- /* [out] */ DWORD *pcbPolicy,
- /* [in] */ URLZONEREG urlZoneReg);
- void __RPC_STUB IInternetZoneManager_GetZoneCustomPolicy_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IInternetZoneManager_SetZoneCustomPolicy_Proxy(
- IInternetZoneManager * This,
- /* [in] */ DWORD dwZone,
- /* [in] */ REFGUID guidKey,
- /* [size_is][in] */ BYTE *pPolicy,
- /* [in] */ DWORD cbPolicy,
- /* [in] */ URLZONEREG urlZoneReg);
- void __RPC_STUB IInternetZoneManager_SetZoneCustomPolicy_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IInternetZoneManager_GetZoneActionPolicy_Proxy(
- IInternetZoneManager * This,
- /* [in] */ DWORD dwZone,
- /* [in] */ DWORD dwAction,
- /* [size_is][out] */ BYTE *pPolicy,
- /* [in] */ DWORD cbPolicy,
- /* [in] */ URLZONEREG urlZoneReg);
- void __RPC_STUB IInternetZoneManager_GetZoneActionPolicy_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IInternetZoneManager_SetZoneActionPolicy_Proxy(
- IInternetZoneManager * This,
- /* [in] */ DWORD dwZone,
- /* [in] */ DWORD dwAction,
- /* [size_is][in] */ BYTE *pPolicy,
- /* [in] */ DWORD cbPolicy,
- /* [in] */ URLZONEREG urlZoneReg);
- void __RPC_STUB IInternetZoneManager_SetZoneActionPolicy_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IInternetZoneManager_PromptAction_Proxy(
- IInternetZoneManager * This,
- /* [in] */ DWORD dwAction,
- /* [in] */ HWND hwndParent,
- /* [in] */ LPCWSTR pwszUrl,
- /* [in] */ LPCWSTR pwszText,
- /* [in] */ DWORD dwPromptFlags);
- void __RPC_STUB IInternetZoneManager_PromptAction_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IInternetZoneManager_LogAction_Proxy(
- IInternetZoneManager * This,
- /* [in] */ DWORD dwAction,
- /* [in] */ LPCWSTR pwszUrl,
- /* [in] */ LPCWSTR pwszText,
- /* [in] */ DWORD dwLogFlags);
- void __RPC_STUB IInternetZoneManager_LogAction_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IInternetZoneManager_CreateZoneEnumerator_Proxy(
- IInternetZoneManager * This,
- /* [out] */ DWORD *pdwEnum,
- /* [out] */ DWORD *pdwCount,
- /* [in] */ DWORD dwFlags);
- void __RPC_STUB IInternetZoneManager_CreateZoneEnumerator_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IInternetZoneManager_GetZoneAt_Proxy(
- IInternetZoneManager * This,
- /* [in] */ DWORD dwEnum,
- /* [in] */ DWORD dwIndex,
- /* [out] */ DWORD *pdwZone);
- void __RPC_STUB IInternetZoneManager_GetZoneAt_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IInternetZoneManager_DestroyZoneEnumerator_Proxy(
- IInternetZoneManager * This,
- /* [in] */ DWORD dwEnum);
- void __RPC_STUB IInternetZoneManager_DestroyZoneEnumerator_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IInternetZoneManager_CopyTemplatePoliciesToZone_Proxy(
- IInternetZoneManager * This,
- /* [in] */ DWORD dwTemplate,
- /* [in] */ DWORD dwZone,
- /* [in] */ DWORD dwReserved);
- void __RPC_STUB IInternetZoneManager_CopyTemplatePoliciesToZone_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IInternetZoneManager_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_urlmon_0200 */
- /* [local] */
- #endif
- EXTERN_C const IID CLSID_SoftDistExt;
- #ifndef _LPSOFTDISTEXT_DEFINED
- #define _LPSOFTDISTEXT_DEFINED
- #define SOFTDIST_FLAG_USAGE_EMAIL 0x00000001
- #define SOFTDIST_FLAG_USAGE_PRECACHE 0x00000002
- #define SOFTDIST_FLAG_USAGE_AUTOINSTALL 0x00000004
- #define SOFTDIST_FLAG_DELETE_SUBSCRIPTION 0x00000008
- #define SOFTDIST_ADSTATE_NONE 0x00000000
- #define SOFTDIST_ADSTATE_AVAILABLE 0x00000001
- #define SOFTDIST_ADSTATE_DOWNLOADED 0x00000002
- #define SOFTDIST_ADSTATE_INSTALLED 0x00000003
- typedef struct _tagCODEBASEHOLD
- {
- ULONG cbSize;
- LPWSTR szDistUnit;
- LPWSTR szCodeBase;
- DWORD dwVersionMS;
- DWORD dwVersionLS;
- DWORD dwStyle;
- } CODEBASEHOLD;
- typedef struct _tagCODEBASEHOLD *LPCODEBASEHOLD;
- typedef struct _tagSOFTDISTINFO
- {
- ULONG cbSize;
- DWORD dwFlags;
- DWORD dwAdState;
- LPWSTR szTitle;
- LPWSTR szAbstract;
- LPWSTR szHREF;
- DWORD dwInstalledVersionMS;
- DWORD dwInstalledVersionLS;
- DWORD dwUpdateVersionMS;
- DWORD dwUpdateVersionLS;
- DWORD dwAdvertisedVersionMS;
- DWORD dwAdvertisedVersionLS;
- DWORD dwReserved;
- } SOFTDISTINFO;
- typedef struct _tagSOFTDISTINFO *LPSOFTDISTINFO;
- extern RPC_IF_HANDLE __MIDL_itf_urlmon_0200_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_urlmon_0200_v0_0_s_ifspec;
- #ifndef __ISoftDistExt_INTERFACE_DEFINED__
- #define __ISoftDistExt_INTERFACE_DEFINED__
- /* interface ISoftDistExt */
- /* [unique][helpstring][uuid][object][local] */
- EXTERN_C const IID IID_ISoftDistExt;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("B15B8DC1-C7E1-11d0-8680-00AA00BDCB71")
- ISoftDistExt : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE ProcessSoftDist(
- /* [in] */ LPCWSTR szCDFURL,
- /* [in] */ IXMLElement *pSoftDistElement,
- /* [out][in] */ LPSOFTDISTINFO lpsdi) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetFirstCodeBase(
- /* [in] */ LPWSTR *szCodeBase,
- /* [in] */ LPDWORD dwMaxSize) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetNextCodeBase(
- /* [in] */ LPWSTR *szCodeBase,
- /* [in] */ LPDWORD dwMaxSize) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE AsyncInstallDistributionUnit(
- /* [in] */ IBindCtx *pbc,
- /* [in] */ LPVOID pvReserved,
- /* [in] */ DWORD flags,
- /* [in] */ LPCODEBASEHOLD lpcbh) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ISoftDistExtVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ISoftDistExt * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ISoftDistExt * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ISoftDistExt * This);
-
- HRESULT ( STDMETHODCALLTYPE *ProcessSoftDist )(
- ISoftDistExt * This,
- /* [in] */ LPCWSTR szCDFURL,
- /* [in] */ IXMLElement *pSoftDistElement,
- /* [out][in] */ LPSOFTDISTINFO lpsdi);
-
- HRESULT ( STDMETHODCALLTYPE *GetFirstCodeBase )(
- ISoftDistExt * This,
- /* [in] */ LPWSTR *szCodeBase,
- /* [in] */ LPDWORD dwMaxSize);
-
- HRESULT ( STDMETHODCALLTYPE *GetNextCodeBase )(
- ISoftDistExt * This,
- /* [in] */ LPWSTR *szCodeBase,
- /* [in] */ LPDWORD dwMaxSize);
-
- HRESULT ( STDMETHODCALLTYPE *AsyncInstallDistributionUnit )(
- ISoftDistExt * This,
- /* [in] */ IBindCtx *pbc,
- /* [in] */ LPVOID pvReserved,
- /* [in] */ DWORD flags,
- /* [in] */ LPCODEBASEHOLD lpcbh);
-
- END_INTERFACE
- } ISoftDistExtVtbl;
- interface ISoftDistExt
- {
- CONST_VTBL struct ISoftDistExtVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ISoftDistExt_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ISoftDistExt_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ISoftDistExt_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ISoftDistExt_ProcessSoftDist(This,szCDFURL,pSoftDistElement,lpsdi)
- (This)->lpVtbl -> ProcessSoftDist(This,szCDFURL,pSoftDistElement,lpsdi)
- #define ISoftDistExt_GetFirstCodeBase(This,szCodeBase,dwMaxSize)
- (This)->lpVtbl -> GetFirstCodeBase(This,szCodeBase,dwMaxSize)
- #define ISoftDistExt_GetNextCodeBase(This,szCodeBase,dwMaxSize)
- (This)->lpVtbl -> GetNextCodeBase(This,szCodeBase,dwMaxSize)
- #define ISoftDistExt_AsyncInstallDistributionUnit(This,pbc,pvReserved,flags,lpcbh)
- (This)->lpVtbl -> AsyncInstallDistributionUnit(This,pbc,pvReserved,flags,lpcbh)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ISoftDistExt_ProcessSoftDist_Proxy(
- ISoftDistExt * This,
- /* [in] */ LPCWSTR szCDFURL,
- /* [in] */ IXMLElement *pSoftDistElement,
- /* [out][in] */ LPSOFTDISTINFO lpsdi);
- void __RPC_STUB ISoftDistExt_ProcessSoftDist_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ISoftDistExt_GetFirstCodeBase_Proxy(
- ISoftDistExt * This,
- /* [in] */ LPWSTR *szCodeBase,
- /* [in] */ LPDWORD dwMaxSize);
- void __RPC_STUB ISoftDistExt_GetFirstCodeBase_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ISoftDistExt_GetNextCodeBase_Proxy(
- ISoftDistExt * This,
- /* [in] */ LPWSTR *szCodeBase,
- /* [in] */ LPDWORD dwMaxSize);
- void __RPC_STUB ISoftDistExt_GetNextCodeBase_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ISoftDistExt_AsyncInstallDistributionUnit_Proxy(
- ISoftDistExt * This,
- /* [in] */ IBindCtx *pbc,
- /* [in] */ LPVOID pvReserved,
- /* [in] */ DWORD flags,
- /* [in] */ LPCODEBASEHOLD lpcbh);
- void __RPC_STUB ISoftDistExt_AsyncInstallDistributionUnit_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ISoftDistExt_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_urlmon_0201 */
- /* [local] */
- STDAPI GetSoftwareUpdateInfo( LPCWSTR szDistUnit, LPSOFTDISTINFO psdi );
- STDAPI SetSoftwareUpdateAdvertisementState( LPCWSTR szDistUnit, DWORD dwAdState, DWORD dwAdvertisedVersionMS, DWORD dwAdvertisedVersionLS );
- #endif
- #ifndef _LPCATALOGFILEINFO_DEFINED
- #define _LPCATALOGFILEINFO_DEFINED
- extern RPC_IF_HANDLE __MIDL_itf_urlmon_0201_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_urlmon_0201_v0_0_s_ifspec;
- #ifndef __ICatalogFileInfo_INTERFACE_DEFINED__
- #define __ICatalogFileInfo_INTERFACE_DEFINED__
- /* interface ICatalogFileInfo */
- /* [unique][uuid][object][local] */
- typedef /* [unique] */ ICatalogFileInfo *LPCATALOGFILEINFO;
- EXTERN_C const IID IID_ICatalogFileInfo;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("711C7600-6B48-11d1-B403-00AA00B92AF1")
- ICatalogFileInfo : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE GetCatalogFile(
- /* [out] */ LPSTR *ppszCatalogFile) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetJavaTrust(
- /* [out] */ void **ppJavaTrust) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct ICatalogFileInfoVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- ICatalogFileInfo * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- ICatalogFileInfo * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- ICatalogFileInfo * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetCatalogFile )(
- ICatalogFileInfo * This,
- /* [out] */ LPSTR *ppszCatalogFile);
-
- HRESULT ( STDMETHODCALLTYPE *GetJavaTrust )(
- ICatalogFileInfo * This,
- /* [out] */ void **ppJavaTrust);
-
- END_INTERFACE
- } ICatalogFileInfoVtbl;
- interface ICatalogFileInfo
- {
- CONST_VTBL struct ICatalogFileInfoVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define ICatalogFileInfo_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define ICatalogFileInfo_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define ICatalogFileInfo_Release(This)
- (This)->lpVtbl -> Release(This)
- #define ICatalogFileInfo_GetCatalogFile(This,ppszCatalogFile)
- (This)->lpVtbl -> GetCatalogFile(This,ppszCatalogFile)
- #define ICatalogFileInfo_GetJavaTrust(This,ppJavaTrust)
- (This)->lpVtbl -> GetJavaTrust(This,ppJavaTrust)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE ICatalogFileInfo_GetCatalogFile_Proxy(
- ICatalogFileInfo * This,
- /* [out] */ LPSTR *ppszCatalogFile);
- void __RPC_STUB ICatalogFileInfo_GetCatalogFile_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE ICatalogFileInfo_GetJavaTrust_Proxy(
- ICatalogFileInfo * This,
- /* [out] */ void **ppJavaTrust);
- void __RPC_STUB ICatalogFileInfo_GetJavaTrust_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __ICatalogFileInfo_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_urlmon_0202 */
- /* [local] */
- #endif
- #ifndef _LPDATAFILTER_DEFINED
- #define _LPDATAFILTER_DEFINED
- extern RPC_IF_HANDLE __MIDL_itf_urlmon_0202_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_urlmon_0202_v0_0_s_ifspec;
- #ifndef __IDataFilter_INTERFACE_DEFINED__
- #define __IDataFilter_INTERFACE_DEFINED__
- /* interface IDataFilter */
- /* [unique][uuid][object] */
- typedef /* [unique] */ IDataFilter *LPDATAFILTER;
- EXTERN_C const IID IID_IDataFilter;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("69d14c80-c18e-11d0-a9ce-006097942311")
- IDataFilter : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE DoEncode(
- /* [in] */ DWORD dwFlags,
- /* [in] */ LONG lInBufferSize,
- /* [size_is][in] */ BYTE *pbInBuffer,
- /* [in] */ LONG lOutBufferSize,
- /* [size_is][out] */ BYTE *pbOutBuffer,
- /* [in] */ LONG lInBytesAvailable,
- /* [out] */ LONG *plInBytesRead,
- /* [out] */ LONG *plOutBytesWritten,
- /* [in] */ DWORD dwReserved) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE DoDecode(
- /* [in] */ DWORD dwFlags,
- /* [in] */ LONG lInBufferSize,
- /* [size_is][in] */ BYTE *pbInBuffer,
- /* [in] */ LONG lOutBufferSize,
- /* [size_is][out] */ BYTE *pbOutBuffer,
- /* [in] */ LONG lInBytesAvailable,
- /* [out] */ LONG *plInBytesRead,
- /* [out] */ LONG *plOutBytesWritten,
- /* [in] */ DWORD dwReserved) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetEncodingLevel(
- /* [in] */ DWORD dwEncLevel) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IDataFilterVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IDataFilter * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IDataFilter * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IDataFilter * This);
-
- HRESULT ( STDMETHODCALLTYPE *DoEncode )(
- IDataFilter * This,
- /* [in] */ DWORD dwFlags,
- /* [in] */ LONG lInBufferSize,
- /* [size_is][in] */ BYTE *pbInBuffer,
- /* [in] */ LONG lOutBufferSize,
- /* [size_is][out] */ BYTE *pbOutBuffer,
- /* [in] */ LONG lInBytesAvailable,
- /* [out] */ LONG *plInBytesRead,
- /* [out] */ LONG *plOutBytesWritten,
- /* [in] */ DWORD dwReserved);
-
- HRESULT ( STDMETHODCALLTYPE *DoDecode )(
- IDataFilter * This,
- /* [in] */ DWORD dwFlags,
- /* [in] */ LONG lInBufferSize,
- /* [size_is][in] */ BYTE *pbInBuffer,
- /* [in] */ LONG lOutBufferSize,
- /* [size_is][out] */ BYTE *pbOutBuffer,
- /* [in] */ LONG lInBytesAvailable,
- /* [out] */ LONG *plInBytesRead,
- /* [out] */ LONG *plOutBytesWritten,
- /* [in] */ DWORD dwReserved);
-
- HRESULT ( STDMETHODCALLTYPE *SetEncodingLevel )(
- IDataFilter * This,
- /* [in] */ DWORD dwEncLevel);
-
- END_INTERFACE
- } IDataFilterVtbl;
- interface IDataFilter
- {
- CONST_VTBL struct IDataFilterVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IDataFilter_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IDataFilter_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IDataFilter_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IDataFilter_DoEncode(This,dwFlags,lInBufferSize,pbInBuffer,lOutBufferSize,pbOutBuffer,lInBytesAvailable,plInBytesRead,plOutBytesWritten,dwReserved)
- (This)->lpVtbl -> DoEncode(This,dwFlags,lInBufferSize,pbInBuffer,lOutBufferSize,pbOutBuffer,lInBytesAvailable,plInBytesRead,plOutBytesWritten,dwReserved)
- #define IDataFilter_DoDecode(This,dwFlags,lInBufferSize,pbInBuffer,lOutBufferSize,pbOutBuffer,lInBytesAvailable,plInBytesRead,plOutBytesWritten,dwReserved)
- (This)->lpVtbl -> DoDecode(This,dwFlags,lInBufferSize,pbInBuffer,lOutBufferSize,pbOutBuffer,lInBytesAvailable,plInBytesRead,plOutBytesWritten,dwReserved)
- #define IDataFilter_SetEncodingLevel(This,dwEncLevel)
- (This)->lpVtbl -> SetEncodingLevel(This,dwEncLevel)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IDataFilter_DoEncode_Proxy(
- IDataFilter * This,
- /* [in] */ DWORD dwFlags,
- /* [in] */ LONG lInBufferSize,
- /* [size_is][in] */ BYTE *pbInBuffer,
- /* [in] */ LONG lOutBufferSize,
- /* [size_is][out] */ BYTE *pbOutBuffer,
- /* [in] */ LONG lInBytesAvailable,
- /* [out] */ LONG *plInBytesRead,
- /* [out] */ LONG *plOutBytesWritten,
- /* [in] */ DWORD dwReserved);
- void __RPC_STUB IDataFilter_DoEncode_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IDataFilter_DoDecode_Proxy(
- IDataFilter * This,
- /* [in] */ DWORD dwFlags,
- /* [in] */ LONG lInBufferSize,
- /* [size_is][in] */ BYTE *pbInBuffer,
- /* [in] */ LONG lOutBufferSize,
- /* [size_is][out] */ BYTE *pbOutBuffer,
- /* [in] */ LONG lInBytesAvailable,
- /* [out] */ LONG *plInBytesRead,
- /* [out] */ LONG *plOutBytesWritten,
- /* [in] */ DWORD dwReserved);
- void __RPC_STUB IDataFilter_DoDecode_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IDataFilter_SetEncodingLevel_Proxy(
- IDataFilter * This,
- /* [in] */ DWORD dwEncLevel);
- void __RPC_STUB IDataFilter_SetEncodingLevel_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IDataFilter_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_urlmon_0203 */
- /* [local] */
- #endif
- #ifndef _LPENCODINGFILTERFACTORY_DEFINED
- #define _LPENCODINGFILTERFACTORY_DEFINED
- typedef struct _tagPROTOCOLFILTERDATA
- {
- DWORD cbSize;
- IInternetProtocolSink *pProtocolSink;
- IInternetProtocol *pProtocol;
- IUnknown *pUnk;
- DWORD dwFilterFlags;
- } PROTOCOLFILTERDATA;
- extern RPC_IF_HANDLE __MIDL_itf_urlmon_0203_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_urlmon_0203_v0_0_s_ifspec;
- #ifndef __IEncodingFilterFactory_INTERFACE_DEFINED__
- #define __IEncodingFilterFactory_INTERFACE_DEFINED__
- /* interface IEncodingFilterFactory */
- /* [unique][uuid][object][local] */
- typedef /* [unique] */ IEncodingFilterFactory *LPENCODINGFILTERFACTORY;
- typedef struct _tagDATAINFO
- {
- ULONG ulTotalSize;
- ULONG ulavrPacketSize;
- ULONG ulConnectSpeed;
- ULONG ulProcessorSpeed;
- } DATAINFO;
- EXTERN_C const IID IID_IEncodingFilterFactory;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("70bdde00-c18e-11d0-a9ce-006097942311")
- IEncodingFilterFactory : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE FindBestFilter(
- /* [in] */ LPCWSTR pwzCodeIn,
- /* [in] */ LPCWSTR pwzCodeOut,
- /* [in] */ DATAINFO info,
- /* [out] */ IDataFilter **ppDF) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetDefaultFilter(
- /* [in] */ LPCWSTR pwzCodeIn,
- /* [in] */ LPCWSTR pwzCodeOut,
- /* [out] */ IDataFilter **ppDF) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IEncodingFilterFactoryVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IEncodingFilterFactory * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IEncodingFilterFactory * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IEncodingFilterFactory * This);
-
- HRESULT ( STDMETHODCALLTYPE *FindBestFilter )(
- IEncodingFilterFactory * This,
- /* [in] */ LPCWSTR pwzCodeIn,
- /* [in] */ LPCWSTR pwzCodeOut,
- /* [in] */ DATAINFO info,
- /* [out] */ IDataFilter **ppDF);
-
- HRESULT ( STDMETHODCALLTYPE *GetDefaultFilter )(
- IEncodingFilterFactory * This,
- /* [in] */ LPCWSTR pwzCodeIn,
- /* [in] */ LPCWSTR pwzCodeOut,
- /* [out] */ IDataFilter **ppDF);
-
- END_INTERFACE
- } IEncodingFilterFactoryVtbl;
- interface IEncodingFilterFactory
- {
- CONST_VTBL struct IEncodingFilterFactoryVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IEncodingFilterFactory_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IEncodingFilterFactory_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IEncodingFilterFactory_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IEncodingFilterFactory_FindBestFilter(This,pwzCodeIn,pwzCodeOut,info,ppDF)
- (This)->lpVtbl -> FindBestFilter(This,pwzCodeIn,pwzCodeOut,info,ppDF)
- #define IEncodingFilterFactory_GetDefaultFilter(This,pwzCodeIn,pwzCodeOut,ppDF)
- (This)->lpVtbl -> GetDefaultFilter(This,pwzCodeIn,pwzCodeOut,ppDF)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IEncodingFilterFactory_FindBestFilter_Proxy(
- IEncodingFilterFactory * This,
- /* [in] */ LPCWSTR pwzCodeIn,
- /* [in] */ LPCWSTR pwzCodeOut,
- /* [in] */ DATAINFO info,
- /* [out] */ IDataFilter **ppDF);
- void __RPC_STUB IEncodingFilterFactory_FindBestFilter_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEncodingFilterFactory_GetDefaultFilter_Proxy(
- IEncodingFilterFactory * This,
- /* [in] */ LPCWSTR pwzCodeIn,
- /* [in] */ LPCWSTR pwzCodeOut,
- /* [out] */ IDataFilter **ppDF);
- void __RPC_STUB IEncodingFilterFactory_GetDefaultFilter_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IEncodingFilterFactory_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_urlmon_0204 */
- /* [local] */
- #endif
- #ifndef _HITLOGGING_DEFINED
- #define _HITLOGGING_DEFINED
- // Logging-specific apis
- BOOL WINAPI IsLoggingEnabledA(IN LPCSTR pszUrl);
- BOOL WINAPI IsLoggingEnabledW(IN LPCWSTR pwszUrl);
- #ifdef UNICODE
- #define IsLoggingEnabled IsLoggingEnabledW
- #else
- #define IsLoggingEnabled IsLoggingEnabledA
- #endif // !UNICODE
- typedef struct _tagHIT_LOGGING_INFO
- {
- DWORD dwStructSize;
- LPSTR lpszLoggedUrlName;
- SYSTEMTIME StartTime;
- SYSTEMTIME EndTime;
- LPSTR lpszExtendedInfo;
- } HIT_LOGGING_INFO;
- typedef struct _tagHIT_LOGGING_INFO *LPHIT_LOGGING_INFO;
- BOOL WINAPI WriteHitLogging(IN LPHIT_LOGGING_INFO lpLogginginfo);
- #define CONFIRMSAFETYACTION_LOADOBJECT 0x00000001
- struct CONFIRMSAFETY
- {
- CLSID clsid;
- IUnknown *pUnk;
- DWORD dwFlags;
- } ;
- EXTERN_C const GUID GUID_CUSTOM_CONFIRMOBJECTSAFETY;
- #endif
- #ifndef _LPIWRAPPEDPROTOCOL_DEFINED
- #define _LPIWRAPPEDPROTOCOL_DEFINED
- extern RPC_IF_HANDLE __MIDL_itf_urlmon_0204_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_urlmon_0204_v0_0_s_ifspec;
- #ifndef __IWrappedProtocol_INTERFACE_DEFINED__
- #define __IWrappedProtocol_INTERFACE_DEFINED__
- /* interface IWrappedProtocol */
- /* [unique][uuid][object][local] */
- typedef /* [unique] */ IWrappedProtocol *LPIWRAPPEDPROTOCOL;
- EXTERN_C const IID IID_IWrappedProtocol;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("53c84785-8425-4dc5-971b-e58d9c19f9b6")
- IWrappedProtocol : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE GetWrapperCode(
- /* [out] */ LONG *pnCode,
- /* [in] */ DWORD_PTR dwReserved) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IWrappedProtocolVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IWrappedProtocol * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IWrappedProtocol * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IWrappedProtocol * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetWrapperCode )(
- IWrappedProtocol * This,
- /* [out] */ LONG *pnCode,
- /* [in] */ DWORD_PTR dwReserved);
-
- END_INTERFACE
- } IWrappedProtocolVtbl;
- interface IWrappedProtocol
- {
- CONST_VTBL struct IWrappedProtocolVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IWrappedProtocol_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IWrappedProtocol_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IWrappedProtocol_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IWrappedProtocol_GetWrapperCode(This,pnCode,dwReserved)
- (This)->lpVtbl -> GetWrapperCode(This,pnCode,dwReserved)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IWrappedProtocol_GetWrapperCode_Proxy(
- IWrappedProtocol * This,
- /* [out] */ LONG *pnCode,
- /* [in] */ DWORD_PTR dwReserved);
- void __RPC_STUB IWrappedProtocol_GetWrapperCode_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IWrappedProtocol_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_urlmon_0205 */
- /* [local] */
- #endif
- extern RPC_IF_HANDLE __MIDL_itf_urlmon_0205_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_urlmon_0205_v0_0_s_ifspec;
- /* Additional Prototypes for ALL interfaces */
- unsigned long __RPC_USER HWND_UserSize( unsigned long *, unsigned long , HWND * );
- unsigned char * __RPC_USER HWND_UserMarshal( unsigned long *, unsigned char *, HWND * );
- unsigned char * __RPC_USER HWND_UserUnmarshal(unsigned long *, unsigned char *, HWND * );
- void __RPC_USER HWND_UserFree( unsigned long *, HWND * );
- /* [local] */ HRESULT STDMETHODCALLTYPE IBinding_GetBindResult_Proxy(
- IBinding * This,
- /* [out] */ CLSID *pclsidProtocol,
- /* [out] */ DWORD *pdwResult,
- /* [out] */ LPOLESTR *pszResult,
- /* [out][in] */ DWORD *pdwReserved);
- /* [call_as] */ HRESULT STDMETHODCALLTYPE IBinding_GetBindResult_Stub(
- IBinding * This,
- /* [out] */ CLSID *pclsidProtocol,
- /* [out] */ DWORD *pdwResult,
- /* [out] */ LPOLESTR *pszResult,
- /* [in] */ DWORD dwReserved);
- /* [local] */ HRESULT STDMETHODCALLTYPE IBindStatusCallback_GetBindInfo_Proxy(
- IBindStatusCallback * This,
- /* [out] */ DWORD *grfBINDF,
- /* [unique][out][in] */ BINDINFO *pbindinfo);
- /* [call_as] */ HRESULT STDMETHODCALLTYPE IBindStatusCallback_GetBindInfo_Stub(
- IBindStatusCallback * This,
- /* [out] */ DWORD *grfBINDF,
- /* [unique][out][in] */ RemBINDINFO *pbindinfo,
- /* [unique][out][in] */ RemSTGMEDIUM *pstgmed);
- /* [local] */ HRESULT STDMETHODCALLTYPE IBindStatusCallback_OnDataAvailable_Proxy(
- IBindStatusCallback * This,
- /* [in] */ DWORD grfBSCF,
- /* [in] */ DWORD dwSize,
- /* [in] */ FORMATETC *pformatetc,
- /* [in] */ STGMEDIUM *pstgmed);
- /* [call_as] */ HRESULT STDMETHODCALLTYPE IBindStatusCallback_OnDataAvailable_Stub(
- IBindStatusCallback * This,
- /* [in] */ DWORD grfBSCF,
- /* [in] */ DWORD dwSize,
- /* [in] */ RemFORMATETC *pformatetc,
- /* [in] */ RemSTGMEDIUM *pstgmed);
- /* [local] */ HRESULT STDMETHODCALLTYPE IWinInetInfo_QueryOption_Proxy(
- IWinInetInfo * This,
- /* [in] */ DWORD dwOption,
- /* [size_is][out][in] */ LPVOID pBuffer,
- /* [out][in] */ DWORD *pcbBuf);
- /* [call_as] */ HRESULT STDMETHODCALLTYPE IWinInetInfo_QueryOption_Stub(
- IWinInetInfo * This,
- /* [in] */ DWORD dwOption,
- /* [size_is][out][in] */ BYTE *pBuffer,
- /* [out][in] */ DWORD *pcbBuf);
- /* [local] */ HRESULT STDMETHODCALLTYPE IWinInetHttpInfo_QueryInfo_Proxy(
- IWinInetHttpInfo * This,
- /* [in] */ DWORD dwOption,
- /* [size_is][out][in] */ LPVOID pBuffer,
- /* [out][in] */ DWORD *pcbBuf,
- /* [out][in] */ DWORD *pdwFlags,
- /* [out][in] */ DWORD *pdwReserved);
- /* [call_as] */ HRESULT STDMETHODCALLTYPE IWinInetHttpInfo_QueryInfo_Stub(
- IWinInetHttpInfo * This,
- /* [in] */ DWORD dwOption,
- /* [size_is][out][in] */ BYTE *pBuffer,
- /* [out][in] */ DWORD *pcbBuf,
- /* [out][in] */ DWORD *pdwFlags,
- /* [out][in] */ DWORD *pdwReserved);
- /* [local] */ HRESULT STDMETHODCALLTYPE IBindHost_MonikerBindToStorage_Proxy(
- IBindHost * This,
- /* [in] */ IMoniker *pMk,
- /* [in] */ IBindCtx *pBC,
- /* [in] */ IBindStatusCallback *pBSC,
- /* [in] */ REFIID riid,
- /* [out] */ void **ppvObj);
- /* [call_as] */ HRESULT STDMETHODCALLTYPE IBindHost_MonikerBindToStorage_Stub(
- IBindHost * This,
- /* [unique][in] */ IMoniker *pMk,
- /* [unique][in] */ IBindCtx *pBC,
- /* [unique][in] */ IBindStatusCallback *pBSC,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ IUnknown **ppvObj);
- /* [local] */ HRESULT STDMETHODCALLTYPE IBindHost_MonikerBindToObject_Proxy(
- IBindHost * This,
- /* [in] */ IMoniker *pMk,
- /* [in] */ IBindCtx *pBC,
- /* [in] */ IBindStatusCallback *pBSC,
- /* [in] */ REFIID riid,
- /* [out] */ void **ppvObj);
- /* [call_as] */ HRESULT STDMETHODCALLTYPE IBindHost_MonikerBindToObject_Stub(
- IBindHost * This,
- /* [unique][in] */ IMoniker *pMk,
- /* [unique][in] */ IBindCtx *pBC,
- /* [unique][in] */ IBindStatusCallback *pBSC,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ IUnknown **ppvObj);
- /* end of Additional Prototypes */
- #ifdef __cplusplus
- }
- #endif
- #endif