Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

447 lines
14 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 6.00.0361 */
  3. /* Compiler settings for safeocx.idl:
  4. Oicf, W1, Zp8, env=Win32 (32b run)
  5. protocol : dce , ms_ext, c_ext
  6. error checks: allocation ref bounds_check enum stub_data
  7. VC __declspec() decoration level:
  8. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  9. DECLSPEC_UUID(), MIDL_INTERFACE()
  10. */
  11. //@@MIDL_FILE_HEADING( )
  12. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #ifndef COM_NO_WINDOWS_H
  23. #include "windows.h"
  24. #include "ole2.h"
  25. #endif /*COM_NO_WINDOWS_H*/
  26. #ifndef __safeocx_h__
  27. #define __safeocx_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IActiveXSafetyProvider_FWD_DEFINED__
  33. #define __IActiveXSafetyProvider_FWD_DEFINED__
  34. typedef interface IActiveXSafetyProvider IActiveXSafetyProvider;
  35. #endif /* __IActiveXSafetyProvider_FWD_DEFINED__ */
  36. /* header files for imported files */
  37. #include "unknwn.h"
  38. #include "urlmon.h"
  39. #ifdef __cplusplus
  40. extern "C"{
  41. #endif
  42. void * __RPC_USER MIDL_user_allocate(size_t);
  43. void __RPC_USER MIDL_user_free( void * );
  44. /* interface __MIDL_itf_safeocx_0000 */
  45. /* [local] */
  46. //+-------------------------------------------------------------------------
  47. //
  48. // Microsoft Windows
  49. // Copyright (C) Microsoft Corporation, 1997-1998.
  50. //
  51. //--------------------------------------------------------------------------
  52. #pragma comment(lib,"uuid.lib")
  53. DEFINE_GUID(CLSID_IActiveXSafetyProvider, 0xaaf8c6ce, 0xf972, 0x11d0, 0x97, 0xeb, 0x00, 0xaa, 0x00, 0x61, 0x53, 0x33);
  54. DEFINE_GUID(IID_IActiveXSafetyProvider, 0x69ff5101, 0xfc63, 0x11d0, 0x97, 0xeb, 0x00, 0xaa, 0x00, 0x61, 0x53, 0x33);
  55. extern RPC_IF_HANDLE __MIDL_itf_safeocx_0000_v0_0_c_ifspec;
  56. extern RPC_IF_HANDLE __MIDL_itf_safeocx_0000_v0_0_s_ifspec;
  57. #ifndef __IActiveXSafetyProvider_INTERFACE_DEFINED__
  58. #define __IActiveXSafetyProvider_INTERFACE_DEFINED__
  59. /* interface IActiveXSafetyProvider */
  60. /* [local][unique][uuid][object] */
  61. typedef /* [unique] */ IActiveXSafetyProvider *LPACTIVEXSAFETYPROVIDER;
  62. EXTERN_C const IID IID_IActiveXSafetyProvider;
  63. #if defined(__cplusplus) && !defined(CINTERFACE)
  64. MIDL_INTERFACE("69ff5101-fc63-11d0-97eb-00aa00615333")
  65. IActiveXSafetyProvider : public IUnknown
  66. {
  67. public:
  68. virtual HRESULT STDMETHODCALLTYPE TreatControlAsUntrusted(
  69. /* [in] */ BOOL fTreatAsTUntrusted) = 0;
  70. virtual HRESULT STDMETHODCALLTYPE IsControlUntrusted(
  71. /* [out] */ BOOL *pfIsUntrusted) = 0;
  72. virtual HRESULT STDMETHODCALLTYPE SetSecurityManager(
  73. /* [in] */ IInternetSecurityManager *pSecurityManager) = 0;
  74. virtual HRESULT STDMETHODCALLTYPE SetDocumentURLA(
  75. /* [in] */ LPCSTR szDocumentURL) = 0;
  76. virtual HRESULT STDMETHODCALLTYPE SetDocumentURLW(
  77. /* [in] */ LPCWSTR szDocumentURL) = 0;
  78. virtual HRESULT STDMETHODCALLTYPE ResetToDefaults( void) = 0;
  79. virtual HRESULT STDMETHODCALLTYPE SafeDllRegisterServerA(
  80. /* [in] */ LPCSTR szServerName) = 0;
  81. virtual HRESULT STDMETHODCALLTYPE SafeDllRegisterServerW(
  82. /* [in] */ LPCWSTR szServerName) = 0;
  83. virtual HRESULT STDMETHODCALLTYPE SafeDllUnregisterServerA(
  84. /* [in] */ LPCSTR szServerName) = 0;
  85. virtual HRESULT STDMETHODCALLTYPE SafeDllUnregisterServerW(
  86. /* [in] */ LPCWSTR szServerName) = 0;
  87. virtual HRESULT STDMETHODCALLTYPE SafeGetClassObject(
  88. /* [in] */ REFCLSID rclsid,
  89. /* [in] */ DWORD dwClsContext,
  90. /* [in] */ LPVOID reserved,
  91. /* [in] */ REFIID riid,
  92. /* [iid_is][out] */ IUnknown **ppObj) = 0;
  93. virtual HRESULT STDMETHODCALLTYPE SafeCreateInstance(
  94. /* [in] */ REFCLSID rclsid,
  95. /* [in] */ LPUNKNOWN pUnkOuter,
  96. /* [in] */ DWORD dwClsContext,
  97. /* [in] */ REFIID riid,
  98. /* [iid_is][out] */ IUnknown **pObj) = 0;
  99. };
  100. #else /* C style interface */
  101. typedef struct IActiveXSafetyProviderVtbl
  102. {
  103. BEGIN_INTERFACE
  104. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  105. IActiveXSafetyProvider * This,
  106. /* [in] */ REFIID riid,
  107. /* [iid_is][out] */ void **ppvObject);
  108. ULONG ( STDMETHODCALLTYPE *AddRef )(
  109. IActiveXSafetyProvider * This);
  110. ULONG ( STDMETHODCALLTYPE *Release )(
  111. IActiveXSafetyProvider * This);
  112. HRESULT ( STDMETHODCALLTYPE *TreatControlAsUntrusted )(
  113. IActiveXSafetyProvider * This,
  114. /* [in] */ BOOL fTreatAsTUntrusted);
  115. HRESULT ( STDMETHODCALLTYPE *IsControlUntrusted )(
  116. IActiveXSafetyProvider * This,
  117. /* [out] */ BOOL *pfIsUntrusted);
  118. HRESULT ( STDMETHODCALLTYPE *SetSecurityManager )(
  119. IActiveXSafetyProvider * This,
  120. /* [in] */ IInternetSecurityManager *pSecurityManager);
  121. HRESULT ( STDMETHODCALLTYPE *SetDocumentURLA )(
  122. IActiveXSafetyProvider * This,
  123. /* [in] */ LPCSTR szDocumentURL);
  124. HRESULT ( STDMETHODCALLTYPE *SetDocumentURLW )(
  125. IActiveXSafetyProvider * This,
  126. /* [in] */ LPCWSTR szDocumentURL);
  127. HRESULT ( STDMETHODCALLTYPE *ResetToDefaults )(
  128. IActiveXSafetyProvider * This);
  129. HRESULT ( STDMETHODCALLTYPE *SafeDllRegisterServerA )(
  130. IActiveXSafetyProvider * This,
  131. /* [in] */ LPCSTR szServerName);
  132. HRESULT ( STDMETHODCALLTYPE *SafeDllRegisterServerW )(
  133. IActiveXSafetyProvider * This,
  134. /* [in] */ LPCWSTR szServerName);
  135. HRESULT ( STDMETHODCALLTYPE *SafeDllUnregisterServerA )(
  136. IActiveXSafetyProvider * This,
  137. /* [in] */ LPCSTR szServerName);
  138. HRESULT ( STDMETHODCALLTYPE *SafeDllUnregisterServerW )(
  139. IActiveXSafetyProvider * This,
  140. /* [in] */ LPCWSTR szServerName);
  141. HRESULT ( STDMETHODCALLTYPE *SafeGetClassObject )(
  142. IActiveXSafetyProvider * This,
  143. /* [in] */ REFCLSID rclsid,
  144. /* [in] */ DWORD dwClsContext,
  145. /* [in] */ LPVOID reserved,
  146. /* [in] */ REFIID riid,
  147. /* [iid_is][out] */ IUnknown **ppObj);
  148. HRESULT ( STDMETHODCALLTYPE *SafeCreateInstance )(
  149. IActiveXSafetyProvider * This,
  150. /* [in] */ REFCLSID rclsid,
  151. /* [in] */ LPUNKNOWN pUnkOuter,
  152. /* [in] */ DWORD dwClsContext,
  153. /* [in] */ REFIID riid,
  154. /* [iid_is][out] */ IUnknown **pObj);
  155. END_INTERFACE
  156. } IActiveXSafetyProviderVtbl;
  157. interface IActiveXSafetyProvider
  158. {
  159. CONST_VTBL struct IActiveXSafetyProviderVtbl *lpVtbl;
  160. };
  161. #ifdef COBJMACROS
  162. #define IActiveXSafetyProvider_QueryInterface(This,riid,ppvObject) \
  163. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  164. #define IActiveXSafetyProvider_AddRef(This) \
  165. (This)->lpVtbl -> AddRef(This)
  166. #define IActiveXSafetyProvider_Release(This) \
  167. (This)->lpVtbl -> Release(This)
  168. #define IActiveXSafetyProvider_TreatControlAsUntrusted(This,fTreatAsTUntrusted) \
  169. (This)->lpVtbl -> TreatControlAsUntrusted(This,fTreatAsTUntrusted)
  170. #define IActiveXSafetyProvider_IsControlUntrusted(This,pfIsUntrusted) \
  171. (This)->lpVtbl -> IsControlUntrusted(This,pfIsUntrusted)
  172. #define IActiveXSafetyProvider_SetSecurityManager(This,pSecurityManager) \
  173. (This)->lpVtbl -> SetSecurityManager(This,pSecurityManager)
  174. #define IActiveXSafetyProvider_SetDocumentURLA(This,szDocumentURL) \
  175. (This)->lpVtbl -> SetDocumentURLA(This,szDocumentURL)
  176. #define IActiveXSafetyProvider_SetDocumentURLW(This,szDocumentURL) \
  177. (This)->lpVtbl -> SetDocumentURLW(This,szDocumentURL)
  178. #define IActiveXSafetyProvider_ResetToDefaults(This) \
  179. (This)->lpVtbl -> ResetToDefaults(This)
  180. #define IActiveXSafetyProvider_SafeDllRegisterServerA(This,szServerName) \
  181. (This)->lpVtbl -> SafeDllRegisterServerA(This,szServerName)
  182. #define IActiveXSafetyProvider_SafeDllRegisterServerW(This,szServerName) \
  183. (This)->lpVtbl -> SafeDllRegisterServerW(This,szServerName)
  184. #define IActiveXSafetyProvider_SafeDllUnregisterServerA(This,szServerName) \
  185. (This)->lpVtbl -> SafeDllUnregisterServerA(This,szServerName)
  186. #define IActiveXSafetyProvider_SafeDllUnregisterServerW(This,szServerName) \
  187. (This)->lpVtbl -> SafeDllUnregisterServerW(This,szServerName)
  188. #define IActiveXSafetyProvider_SafeGetClassObject(This,rclsid,dwClsContext,reserved,riid,ppObj) \
  189. (This)->lpVtbl -> SafeGetClassObject(This,rclsid,dwClsContext,reserved,riid,ppObj)
  190. #define IActiveXSafetyProvider_SafeCreateInstance(This,rclsid,pUnkOuter,dwClsContext,riid,pObj) \
  191. (This)->lpVtbl -> SafeCreateInstance(This,rclsid,pUnkOuter,dwClsContext,riid,pObj)
  192. #endif /* COBJMACROS */
  193. #endif /* C style interface */
  194. HRESULT STDMETHODCALLTYPE IActiveXSafetyProvider_TreatControlAsUntrusted_Proxy(
  195. IActiveXSafetyProvider * This,
  196. /* [in] */ BOOL fTreatAsTUntrusted);
  197. void __RPC_STUB IActiveXSafetyProvider_TreatControlAsUntrusted_Stub(
  198. IRpcStubBuffer *This,
  199. IRpcChannelBuffer *_pRpcChannelBuffer,
  200. PRPC_MESSAGE _pRpcMessage,
  201. DWORD *_pdwStubPhase);
  202. HRESULT STDMETHODCALLTYPE IActiveXSafetyProvider_IsControlUntrusted_Proxy(
  203. IActiveXSafetyProvider * This,
  204. /* [out] */ BOOL *pfIsUntrusted);
  205. void __RPC_STUB IActiveXSafetyProvider_IsControlUntrusted_Stub(
  206. IRpcStubBuffer *This,
  207. IRpcChannelBuffer *_pRpcChannelBuffer,
  208. PRPC_MESSAGE _pRpcMessage,
  209. DWORD *_pdwStubPhase);
  210. HRESULT STDMETHODCALLTYPE IActiveXSafetyProvider_SetSecurityManager_Proxy(
  211. IActiveXSafetyProvider * This,
  212. /* [in] */ IInternetSecurityManager *pSecurityManager);
  213. void __RPC_STUB IActiveXSafetyProvider_SetSecurityManager_Stub(
  214. IRpcStubBuffer *This,
  215. IRpcChannelBuffer *_pRpcChannelBuffer,
  216. PRPC_MESSAGE _pRpcMessage,
  217. DWORD *_pdwStubPhase);
  218. HRESULT STDMETHODCALLTYPE IActiveXSafetyProvider_SetDocumentURLA_Proxy(
  219. IActiveXSafetyProvider * This,
  220. /* [in] */ LPCSTR szDocumentURL);
  221. void __RPC_STUB IActiveXSafetyProvider_SetDocumentURLA_Stub(
  222. IRpcStubBuffer *This,
  223. IRpcChannelBuffer *_pRpcChannelBuffer,
  224. PRPC_MESSAGE _pRpcMessage,
  225. DWORD *_pdwStubPhase);
  226. HRESULT STDMETHODCALLTYPE IActiveXSafetyProvider_SetDocumentURLW_Proxy(
  227. IActiveXSafetyProvider * This,
  228. /* [in] */ LPCWSTR szDocumentURL);
  229. void __RPC_STUB IActiveXSafetyProvider_SetDocumentURLW_Stub(
  230. IRpcStubBuffer *This,
  231. IRpcChannelBuffer *_pRpcChannelBuffer,
  232. PRPC_MESSAGE _pRpcMessage,
  233. DWORD *_pdwStubPhase);
  234. HRESULT STDMETHODCALLTYPE IActiveXSafetyProvider_ResetToDefaults_Proxy(
  235. IActiveXSafetyProvider * This);
  236. void __RPC_STUB IActiveXSafetyProvider_ResetToDefaults_Stub(
  237. IRpcStubBuffer *This,
  238. IRpcChannelBuffer *_pRpcChannelBuffer,
  239. PRPC_MESSAGE _pRpcMessage,
  240. DWORD *_pdwStubPhase);
  241. HRESULT STDMETHODCALLTYPE IActiveXSafetyProvider_SafeDllRegisterServerA_Proxy(
  242. IActiveXSafetyProvider * This,
  243. /* [in] */ LPCSTR szServerName);
  244. void __RPC_STUB IActiveXSafetyProvider_SafeDllRegisterServerA_Stub(
  245. IRpcStubBuffer *This,
  246. IRpcChannelBuffer *_pRpcChannelBuffer,
  247. PRPC_MESSAGE _pRpcMessage,
  248. DWORD *_pdwStubPhase);
  249. HRESULT STDMETHODCALLTYPE IActiveXSafetyProvider_SafeDllRegisterServerW_Proxy(
  250. IActiveXSafetyProvider * This,
  251. /* [in] */ LPCWSTR szServerName);
  252. void __RPC_STUB IActiveXSafetyProvider_SafeDllRegisterServerW_Stub(
  253. IRpcStubBuffer *This,
  254. IRpcChannelBuffer *_pRpcChannelBuffer,
  255. PRPC_MESSAGE _pRpcMessage,
  256. DWORD *_pdwStubPhase);
  257. HRESULT STDMETHODCALLTYPE IActiveXSafetyProvider_SafeDllUnregisterServerA_Proxy(
  258. IActiveXSafetyProvider * This,
  259. /* [in] */ LPCSTR szServerName);
  260. void __RPC_STUB IActiveXSafetyProvider_SafeDllUnregisterServerA_Stub(
  261. IRpcStubBuffer *This,
  262. IRpcChannelBuffer *_pRpcChannelBuffer,
  263. PRPC_MESSAGE _pRpcMessage,
  264. DWORD *_pdwStubPhase);
  265. HRESULT STDMETHODCALLTYPE IActiveXSafetyProvider_SafeDllUnregisterServerW_Proxy(
  266. IActiveXSafetyProvider * This,
  267. /* [in] */ LPCWSTR szServerName);
  268. void __RPC_STUB IActiveXSafetyProvider_SafeDllUnregisterServerW_Stub(
  269. IRpcStubBuffer *This,
  270. IRpcChannelBuffer *_pRpcChannelBuffer,
  271. PRPC_MESSAGE _pRpcMessage,
  272. DWORD *_pdwStubPhase);
  273. HRESULT STDMETHODCALLTYPE IActiveXSafetyProvider_SafeGetClassObject_Proxy(
  274. IActiveXSafetyProvider * This,
  275. /* [in] */ REFCLSID rclsid,
  276. /* [in] */ DWORD dwClsContext,
  277. /* [in] */ LPVOID reserved,
  278. /* [in] */ REFIID riid,
  279. /* [iid_is][out] */ IUnknown **ppObj);
  280. void __RPC_STUB IActiveXSafetyProvider_SafeGetClassObject_Stub(
  281. IRpcStubBuffer *This,
  282. IRpcChannelBuffer *_pRpcChannelBuffer,
  283. PRPC_MESSAGE _pRpcMessage,
  284. DWORD *_pdwStubPhase);
  285. HRESULT STDMETHODCALLTYPE IActiveXSafetyProvider_SafeCreateInstance_Proxy(
  286. IActiveXSafetyProvider * This,
  287. /* [in] */ REFCLSID rclsid,
  288. /* [in] */ LPUNKNOWN pUnkOuter,
  289. /* [in] */ DWORD dwClsContext,
  290. /* [in] */ REFIID riid,
  291. /* [iid_is][out] */ IUnknown **pObj);
  292. void __RPC_STUB IActiveXSafetyProvider_SafeCreateInstance_Stub(
  293. IRpcStubBuffer *This,
  294. IRpcChannelBuffer *_pRpcChannelBuffer,
  295. PRPC_MESSAGE _pRpcMessage,
  296. DWORD *_pdwStubPhase);
  297. #endif /* __IActiveXSafetyProvider_INTERFACE_DEFINED__ */
  298. /* Additional Prototypes for ALL interfaces */
  299. /* end of Additional Prototypes */
  300. #ifdef __cplusplus
  301. }
  302. #endif
  303. #endif