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.

1489 lines
54 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 streamcache.idl:
  4. Oicf, W1, Zp8, env=Win32 (32b run)
  5. protocol : dce , ms_ext, c_ext, robust
  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__ 475
  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 __streamcache_h__
  27. #define __streamcache_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IWMSCacheProxy_FWD_DEFINED__
  33. #define __IWMSCacheProxy_FWD_DEFINED__
  34. typedef interface IWMSCacheProxy IWMSCacheProxy;
  35. #endif /* __IWMSCacheProxy_FWD_DEFINED__ */
  36. #ifndef __IWMSCacheProxyCallback_FWD_DEFINED__
  37. #define __IWMSCacheProxyCallback_FWD_DEFINED__
  38. typedef interface IWMSCacheProxyCallback IWMSCacheProxyCallback;
  39. #endif /* __IWMSCacheProxyCallback_FWD_DEFINED__ */
  40. #ifndef __IWMSCacheProxyServer_FWD_DEFINED__
  41. #define __IWMSCacheProxyServer_FWD_DEFINED__
  42. typedef interface IWMSCacheProxyServer IWMSCacheProxyServer;
  43. #endif /* __IWMSCacheProxyServer_FWD_DEFINED__ */
  44. #ifndef __IWMSCacheProxyServerCallback_FWD_DEFINED__
  45. #define __IWMSCacheProxyServerCallback_FWD_DEFINED__
  46. typedef interface IWMSCacheProxyServerCallback IWMSCacheProxyServerCallback;
  47. #endif /* __IWMSCacheProxyServerCallback_FWD_DEFINED__ */
  48. #ifndef __IWMSCacheItemDescriptor_FWD_DEFINED__
  49. #define __IWMSCacheItemDescriptor_FWD_DEFINED__
  50. typedef interface IWMSCacheItemDescriptor IWMSCacheItemDescriptor;
  51. #endif /* __IWMSCacheItemDescriptor_FWD_DEFINED__ */
  52. #ifndef __IWMSCacheItemCollection_FWD_DEFINED__
  53. #define __IWMSCacheItemCollection_FWD_DEFINED__
  54. typedef interface IWMSCacheItemCollection IWMSCacheItemCollection;
  55. #endif /* __IWMSCacheItemCollection_FWD_DEFINED__ */
  56. /* header files for imported files */
  57. #include "objidl.h"
  58. #include "nsscore.h"
  59. #include "DataContainerVersion.h"
  60. #include "event.h"
  61. #include "WMSProxy.h"
  62. #ifdef __cplusplus
  63. extern "C"{
  64. #endif
  65. void * __RPC_USER MIDL_user_allocate(size_t);
  66. void __RPC_USER MIDL_user_free( void * );
  67. /* interface __MIDL_itf_streamcache_0000 */
  68. /* [local] */
  69. //*****************************************************************************
  70. //
  71. // Microsoft Windows Media
  72. // Copyright (C) Microsoft Corporation. All rights reserved.
  73. //
  74. // Automatically generated by Midl from streamCache.idl
  75. //
  76. // DO NOT EDIT THIS FILE.
  77. //
  78. //*****************************************************************************
  79. EXTERN_GUID( IID_IWMSCacheProxy, 0x2E34AB83,0x0D3D,0x11d2,0x9E,0xEE,0x00,0x60,0x97,0xD2,0xD7,0xCF );
  80. EXTERN_GUID( IID_IWMSCacheProxyCallback, 0x2E34AB84,0x0D3D,0x11d2,0x9E,0xEE,0x00,0x60,0x97,0xD2,0xD7,0xCF );
  81. EXTERN_GUID( IID_IWMSCacheProxyServer, 0x68F2A550,0xD815,0x11D2,0xBE,0xF6,0x00,0xA0,0xC9,0x5E,0xC3,0x43 );
  82. EXTERN_GUID( IID_IWMSCacheProxyServerCallback, 0x68F2A551,0xD815,0x11D2,0xBE,0xF6,0x00,0xA0,0xC9,0x5E,0xC3,0x43 );
  83. EXTERN_GUID( IID_IWMSCacheItemDescriptor, 0xC3CBA330,0xAC05,0x11D2,0xBE,0xF0,0x00,0xA0,0xC9,0x5E,0xC3,0x43 );
  84. EXTERN_GUID( IID_IWMSCacheItemCollection, 0xE6E05D80,0xF45C,0x11D2,0xBE,0xFE,0x00,0xA0,0xC9,0x5E,0xC3,0x43 );
  85. typedef /* [public] */
  86. enum WMS_CACHE_QUERY_MISS_RESPONSE
  87. { WMS_CACHE_QUERY_MISS_SKIP = 0,
  88. WMS_CACHE_QUERY_MISS_DISCONNECT = WMS_CACHE_QUERY_MISS_SKIP + 1,
  89. WMS_CACHE_QUERY_MISS_REDIRECT = WMS_CACHE_QUERY_MISS_DISCONNECT + 1,
  90. WMS_CACHE_QUERY_MISS_REDIRECT_TO_PROXY = WMS_CACHE_QUERY_MISS_REDIRECT + 1,
  91. WMS_CACHE_QUERY_MISS_PLAY_BROADCAST = WMS_CACHE_QUERY_MISS_REDIRECT_TO_PROXY + 1,
  92. WMS_CACHE_QUERY_MISS_PLAY_ON_DEMAND = WMS_CACHE_QUERY_MISS_PLAY_BROADCAST + 1,
  93. WMS_CACHE_QUERY_MISS_FORWARD_REQUEST = WMS_CACHE_QUERY_MISS_PLAY_ON_DEMAND + 1,
  94. WMS_CACHE_QUERY_MISS_PROCESS_REQUEST = WMS_CACHE_QUERY_MISS_FORWARD_REQUEST + 1
  95. } WMS_CACHE_QUERY_MISS_RESPONSE;
  96. typedef /* [public] */
  97. enum WMS_CACHE_QUERY_RESPONSE
  98. { WMS_CACHE_QUERY_HIT_PLAY_ON_DEMAND = 0,
  99. WMS_CACHE_QUERY_HIT_PLAY_BROADCAST = WMS_CACHE_QUERY_HIT_PLAY_ON_DEMAND + 1,
  100. WMS_CACHE_QUERY_HIT_PROCESS_REQUEST = WMS_CACHE_QUERY_HIT_PLAY_BROADCAST + 1,
  101. WMS_CACHE_QUERY_MISS = WMS_CACHE_QUERY_HIT_PROCESS_REQUEST + 1
  102. } WMS_CACHE_QUERY_RESPONSE;
  103. typedef /* [public] */
  104. enum WMS_CACHE_VERSION_COMPARE_RESPONSE
  105. { WMS_CACHE_VERSION_FAIL_TO_CHECK_VERSION = 0,
  106. WMS_CACHE_VERSION_CACHE_STALE = WMS_CACHE_VERSION_FAIL_TO_CHECK_VERSION + 1,
  107. WMS_CACHE_VERSION_CACHE_UP_TO_DATE = WMS_CACHE_VERSION_CACHE_STALE + 1
  108. } WMS_CACHE_VERSION_COMPARE_RESPONSE;
  109. typedef /* [public] */
  110. enum WMS_CACHE_CONTENT_TYPE_FLAGS
  111. { WMS_CACHE_CONTENT_TYPE_BROADCAST = 0x1,
  112. WMS_CACHE_CONTENT_TYPE_PLAYLIST = 0x2
  113. } WMS_CACHE_CONTENT_TYPE_FLAGS;
  114. typedef /* [public] */
  115. enum WMS_CACHE_QUERY_TYPE_FLAGS
  116. { WMS_CACHE_QUERY_OPEN = 0x1,
  117. WMS_CACHE_QUERY_GET_CONTENT_INFO = 0x2,
  118. WMS_CACHE_QUERY_CACHE_EVENT = 0x4,
  119. WMS_CACHE_QUERY_REVERSE_PROXY = 0x8,
  120. WMS_CACHE_QUERY_LOCAL_EVENT = 0x10
  121. } WMS_CACHE_QUERY_TYPE_FLAGS;
  122. typedef /* [public] */
  123. enum WMS_CACHE_CONTENT_DOWNLOAD_FLAGS
  124. { WMS_CONTENT_DOWNLOAD_ABORT_IF_BCAST = 0x1
  125. } WMS_CACHE_CONTENT_DOWNLOAD_FLAGS;
  126. typedef /* [public] */
  127. enum WMS_CACHE_REMOTE_EVENT_FLAGS
  128. { WMS_CACHE_REMOTE_OPEN = 0x1,
  129. WMS_CACHE_REMOTE_CLOSE = 0x2,
  130. WMS_CACHE_REMOTE_LOG = 0x4
  131. } WMS_CACHE_REMOTE_EVENT_FLAGS;
  132. extern RPC_IF_HANDLE __MIDL_itf_streamcache_0000_v0_0_c_ifspec;
  133. extern RPC_IF_HANDLE __MIDL_itf_streamcache_0000_v0_0_s_ifspec;
  134. #ifndef __IWMSCacheProxy_INTERFACE_DEFINED__
  135. #define __IWMSCacheProxy_INTERFACE_DEFINED__
  136. /* interface IWMSCacheProxy */
  137. /* [helpstring][version][uuid][unique][object] */
  138. EXTERN_C const IID IID_IWMSCacheProxy;
  139. #if defined(__cplusplus) && !defined(CINTERFACE)
  140. MIDL_INTERFACE("2E34AB83-0D3D-11d2-9EEE-006097D2D7CF")
  141. IWMSCacheProxy : public IUnknown
  142. {
  143. public:
  144. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE QueryCache(
  145. /* [in] */ BSTR bstrOriginUrl,
  146. /* [in] */ IWMSContext *pUserContext,
  147. /* [in] */ IWMSCommandContext *pCommandContext,
  148. /* [in] */ IWMSContext *pPresentationContext,
  149. /* [in] */ long lQueryType,
  150. /* [in] */ IWMSCacheProxyCallback *pCallback,
  151. /* [in] */ VARIANT varContext) = 0;
  152. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE QueryCacheMissPolicy(
  153. /* [in] */ BSTR bstrOriginUrl,
  154. /* [in] */ IWMSContext *pUserContext,
  155. /* [in] */ IWMSCommandContext *pCommandContext,
  156. /* [in] */ IWMSContext *pPresentationContext,
  157. /* [in] */ IUnknown *pCachePluginContext,
  158. /* [in] */ long lQueryType,
  159. /* [in] */ IWMSCacheProxyCallback *pCallback,
  160. /* [in] */ VARIANT varContext) = 0;
  161. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE RemoveCacheItem(
  162. /* [in] */ BSTR bstrOriginUrl,
  163. /* [in] */ IWMSCacheProxyCallback *pCallback,
  164. /* [in] */ VARIANT varContext) = 0;
  165. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE RemoveAllCacheItems(
  166. /* [in] */ IWMSCacheProxyCallback *pCallback,
  167. /* [in] */ VARIANT varContext) = 0;
  168. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddCacheItem(
  169. /* [in] */ BSTR bstrOriginUrl,
  170. /* [in] */ BSTR bstrPrestuffUrl,
  171. /* [in] */ long lExpiration,
  172. /* [in] */ long lBandwidth,
  173. /* [in] */ long lRemoteEventFlags,
  174. /* [in] */ IWMSCacheProxyCallback *pCallback,
  175. /* [in] */ VARIANT varContext) = 0;
  176. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE QuerySpaceForCacheItem(
  177. /* [in] */ long lContentSizeLow,
  178. /* [in] */ long lContentSizeHigh,
  179. /* [out] */ VARIANT_BOOL *pvarfSpaceAvail) = 0;
  180. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE FindCacheItem(
  181. /* [in] */ BSTR bstrOriginUrl,
  182. /* [out] */ IWMSCacheItemDescriptor **ppCacheItemDescriptor) = 0;
  183. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE CreateCacheItemCollection(
  184. /* [out] */ IWMSCacheItemCollection **ppCacheItemCollection) = 0;
  185. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnCacheClientClose(
  186. /* [in] */ HRESULT resultHr,
  187. /* [in] */ IWMSContext *pUserContext,
  188. /* [in] */ IWMSContext *pPresentationContext) = 0;
  189. };
  190. #else /* C style interface */
  191. typedef struct IWMSCacheProxyVtbl
  192. {
  193. BEGIN_INTERFACE
  194. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  195. IWMSCacheProxy * This,
  196. /* [in] */ REFIID riid,
  197. /* [iid_is][out] */ void **ppvObject);
  198. ULONG ( STDMETHODCALLTYPE *AddRef )(
  199. IWMSCacheProxy * This);
  200. ULONG ( STDMETHODCALLTYPE *Release )(
  201. IWMSCacheProxy * This);
  202. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *QueryCache )(
  203. IWMSCacheProxy * This,
  204. /* [in] */ BSTR bstrOriginUrl,
  205. /* [in] */ IWMSContext *pUserContext,
  206. /* [in] */ IWMSCommandContext *pCommandContext,
  207. /* [in] */ IWMSContext *pPresentationContext,
  208. /* [in] */ long lQueryType,
  209. /* [in] */ IWMSCacheProxyCallback *pCallback,
  210. /* [in] */ VARIANT varContext);
  211. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *QueryCacheMissPolicy )(
  212. IWMSCacheProxy * This,
  213. /* [in] */ BSTR bstrOriginUrl,
  214. /* [in] */ IWMSContext *pUserContext,
  215. /* [in] */ IWMSCommandContext *pCommandContext,
  216. /* [in] */ IWMSContext *pPresentationContext,
  217. /* [in] */ IUnknown *pCachePluginContext,
  218. /* [in] */ long lQueryType,
  219. /* [in] */ IWMSCacheProxyCallback *pCallback,
  220. /* [in] */ VARIANT varContext);
  221. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *RemoveCacheItem )(
  222. IWMSCacheProxy * This,
  223. /* [in] */ BSTR bstrOriginUrl,
  224. /* [in] */ IWMSCacheProxyCallback *pCallback,
  225. /* [in] */ VARIANT varContext);
  226. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *RemoveAllCacheItems )(
  227. IWMSCacheProxy * This,
  228. /* [in] */ IWMSCacheProxyCallback *pCallback,
  229. /* [in] */ VARIANT varContext);
  230. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddCacheItem )(
  231. IWMSCacheProxy * This,
  232. /* [in] */ BSTR bstrOriginUrl,
  233. /* [in] */ BSTR bstrPrestuffUrl,
  234. /* [in] */ long lExpiration,
  235. /* [in] */ long lBandwidth,
  236. /* [in] */ long lRemoteEventFlags,
  237. /* [in] */ IWMSCacheProxyCallback *pCallback,
  238. /* [in] */ VARIANT varContext);
  239. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *QuerySpaceForCacheItem )(
  240. IWMSCacheProxy * This,
  241. /* [in] */ long lContentSizeLow,
  242. /* [in] */ long lContentSizeHigh,
  243. /* [out] */ VARIANT_BOOL *pvarfSpaceAvail);
  244. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *FindCacheItem )(
  245. IWMSCacheProxy * This,
  246. /* [in] */ BSTR bstrOriginUrl,
  247. /* [out] */ IWMSCacheItemDescriptor **ppCacheItemDescriptor);
  248. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *CreateCacheItemCollection )(
  249. IWMSCacheProxy * This,
  250. /* [out] */ IWMSCacheItemCollection **ppCacheItemCollection);
  251. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *OnCacheClientClose )(
  252. IWMSCacheProxy * This,
  253. /* [in] */ HRESULT resultHr,
  254. /* [in] */ IWMSContext *pUserContext,
  255. /* [in] */ IWMSContext *pPresentationContext);
  256. END_INTERFACE
  257. } IWMSCacheProxyVtbl;
  258. interface IWMSCacheProxy
  259. {
  260. CONST_VTBL struct IWMSCacheProxyVtbl *lpVtbl;
  261. };
  262. #ifdef COBJMACROS
  263. #define IWMSCacheProxy_QueryInterface(This,riid,ppvObject) \
  264. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  265. #define IWMSCacheProxy_AddRef(This) \
  266. (This)->lpVtbl -> AddRef(This)
  267. #define IWMSCacheProxy_Release(This) \
  268. (This)->lpVtbl -> Release(This)
  269. #define IWMSCacheProxy_QueryCache(This,bstrOriginUrl,pUserContext,pCommandContext,pPresentationContext,lQueryType,pCallback,varContext) \
  270. (This)->lpVtbl -> QueryCache(This,bstrOriginUrl,pUserContext,pCommandContext,pPresentationContext,lQueryType,pCallback,varContext)
  271. #define IWMSCacheProxy_QueryCacheMissPolicy(This,bstrOriginUrl,pUserContext,pCommandContext,pPresentationContext,pCachePluginContext,lQueryType,pCallback,varContext) \
  272. (This)->lpVtbl -> QueryCacheMissPolicy(This,bstrOriginUrl,pUserContext,pCommandContext,pPresentationContext,pCachePluginContext,lQueryType,pCallback,varContext)
  273. #define IWMSCacheProxy_RemoveCacheItem(This,bstrOriginUrl,pCallback,varContext) \
  274. (This)->lpVtbl -> RemoveCacheItem(This,bstrOriginUrl,pCallback,varContext)
  275. #define IWMSCacheProxy_RemoveAllCacheItems(This,pCallback,varContext) \
  276. (This)->lpVtbl -> RemoveAllCacheItems(This,pCallback,varContext)
  277. #define IWMSCacheProxy_AddCacheItem(This,bstrOriginUrl,bstrPrestuffUrl,lExpiration,lBandwidth,lRemoteEventFlags,pCallback,varContext) \
  278. (This)->lpVtbl -> AddCacheItem(This,bstrOriginUrl,bstrPrestuffUrl,lExpiration,lBandwidth,lRemoteEventFlags,pCallback,varContext)
  279. #define IWMSCacheProxy_QuerySpaceForCacheItem(This,lContentSizeLow,lContentSizeHigh,pvarfSpaceAvail) \
  280. (This)->lpVtbl -> QuerySpaceForCacheItem(This,lContentSizeLow,lContentSizeHigh,pvarfSpaceAvail)
  281. #define IWMSCacheProxy_FindCacheItem(This,bstrOriginUrl,ppCacheItemDescriptor) \
  282. (This)->lpVtbl -> FindCacheItem(This,bstrOriginUrl,ppCacheItemDescriptor)
  283. #define IWMSCacheProxy_CreateCacheItemCollection(This,ppCacheItemCollection) \
  284. (This)->lpVtbl -> CreateCacheItemCollection(This,ppCacheItemCollection)
  285. #define IWMSCacheProxy_OnCacheClientClose(This,resultHr,pUserContext,pPresentationContext) \
  286. (This)->lpVtbl -> OnCacheClientClose(This,resultHr,pUserContext,pPresentationContext)
  287. #endif /* COBJMACROS */
  288. #endif /* C style interface */
  289. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSCacheProxy_QueryCache_Proxy(
  290. IWMSCacheProxy * This,
  291. /* [in] */ BSTR bstrOriginUrl,
  292. /* [in] */ IWMSContext *pUserContext,
  293. /* [in] */ IWMSCommandContext *pCommandContext,
  294. /* [in] */ IWMSContext *pPresentationContext,
  295. /* [in] */ long lQueryType,
  296. /* [in] */ IWMSCacheProxyCallback *pCallback,
  297. /* [in] */ VARIANT varContext);
  298. void __RPC_STUB IWMSCacheProxy_QueryCache_Stub(
  299. IRpcStubBuffer *This,
  300. IRpcChannelBuffer *_pRpcChannelBuffer,
  301. PRPC_MESSAGE _pRpcMessage,
  302. DWORD *_pdwStubPhase);
  303. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSCacheProxy_QueryCacheMissPolicy_Proxy(
  304. IWMSCacheProxy * This,
  305. /* [in] */ BSTR bstrOriginUrl,
  306. /* [in] */ IWMSContext *pUserContext,
  307. /* [in] */ IWMSCommandContext *pCommandContext,
  308. /* [in] */ IWMSContext *pPresentationContext,
  309. /* [in] */ IUnknown *pCachePluginContext,
  310. /* [in] */ long lQueryType,
  311. /* [in] */ IWMSCacheProxyCallback *pCallback,
  312. /* [in] */ VARIANT varContext);
  313. void __RPC_STUB IWMSCacheProxy_QueryCacheMissPolicy_Stub(
  314. IRpcStubBuffer *This,
  315. IRpcChannelBuffer *_pRpcChannelBuffer,
  316. PRPC_MESSAGE _pRpcMessage,
  317. DWORD *_pdwStubPhase);
  318. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSCacheProxy_RemoveCacheItem_Proxy(
  319. IWMSCacheProxy * This,
  320. /* [in] */ BSTR bstrOriginUrl,
  321. /* [in] */ IWMSCacheProxyCallback *pCallback,
  322. /* [in] */ VARIANT varContext);
  323. void __RPC_STUB IWMSCacheProxy_RemoveCacheItem_Stub(
  324. IRpcStubBuffer *This,
  325. IRpcChannelBuffer *_pRpcChannelBuffer,
  326. PRPC_MESSAGE _pRpcMessage,
  327. DWORD *_pdwStubPhase);
  328. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSCacheProxy_RemoveAllCacheItems_Proxy(
  329. IWMSCacheProxy * This,
  330. /* [in] */ IWMSCacheProxyCallback *pCallback,
  331. /* [in] */ VARIANT varContext);
  332. void __RPC_STUB IWMSCacheProxy_RemoveAllCacheItems_Stub(
  333. IRpcStubBuffer *This,
  334. IRpcChannelBuffer *_pRpcChannelBuffer,
  335. PRPC_MESSAGE _pRpcMessage,
  336. DWORD *_pdwStubPhase);
  337. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSCacheProxy_AddCacheItem_Proxy(
  338. IWMSCacheProxy * This,
  339. /* [in] */ BSTR bstrOriginUrl,
  340. /* [in] */ BSTR bstrPrestuffUrl,
  341. /* [in] */ long lExpiration,
  342. /* [in] */ long lBandwidth,
  343. /* [in] */ long lRemoteEventFlags,
  344. /* [in] */ IWMSCacheProxyCallback *pCallback,
  345. /* [in] */ VARIANT varContext);
  346. void __RPC_STUB IWMSCacheProxy_AddCacheItem_Stub(
  347. IRpcStubBuffer *This,
  348. IRpcChannelBuffer *_pRpcChannelBuffer,
  349. PRPC_MESSAGE _pRpcMessage,
  350. DWORD *_pdwStubPhase);
  351. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSCacheProxy_QuerySpaceForCacheItem_Proxy(
  352. IWMSCacheProxy * This,
  353. /* [in] */ long lContentSizeLow,
  354. /* [in] */ long lContentSizeHigh,
  355. /* [out] */ VARIANT_BOOL *pvarfSpaceAvail);
  356. void __RPC_STUB IWMSCacheProxy_QuerySpaceForCacheItem_Stub(
  357. IRpcStubBuffer *This,
  358. IRpcChannelBuffer *_pRpcChannelBuffer,
  359. PRPC_MESSAGE _pRpcMessage,
  360. DWORD *_pdwStubPhase);
  361. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSCacheProxy_FindCacheItem_Proxy(
  362. IWMSCacheProxy * This,
  363. /* [in] */ BSTR bstrOriginUrl,
  364. /* [out] */ IWMSCacheItemDescriptor **ppCacheItemDescriptor);
  365. void __RPC_STUB IWMSCacheProxy_FindCacheItem_Stub(
  366. IRpcStubBuffer *This,
  367. IRpcChannelBuffer *_pRpcChannelBuffer,
  368. PRPC_MESSAGE _pRpcMessage,
  369. DWORD *_pdwStubPhase);
  370. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSCacheProxy_CreateCacheItemCollection_Proxy(
  371. IWMSCacheProxy * This,
  372. /* [out] */ IWMSCacheItemCollection **ppCacheItemCollection);
  373. void __RPC_STUB IWMSCacheProxy_CreateCacheItemCollection_Stub(
  374. IRpcStubBuffer *This,
  375. IRpcChannelBuffer *_pRpcChannelBuffer,
  376. PRPC_MESSAGE _pRpcMessage,
  377. DWORD *_pdwStubPhase);
  378. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSCacheProxy_OnCacheClientClose_Proxy(
  379. IWMSCacheProxy * This,
  380. /* [in] */ HRESULT resultHr,
  381. /* [in] */ IWMSContext *pUserContext,
  382. /* [in] */ IWMSContext *pPresentationContext);
  383. void __RPC_STUB IWMSCacheProxy_OnCacheClientClose_Stub(
  384. IRpcStubBuffer *This,
  385. IRpcChannelBuffer *_pRpcChannelBuffer,
  386. PRPC_MESSAGE _pRpcMessage,
  387. DWORD *_pdwStubPhase);
  388. #endif /* __IWMSCacheProxy_INTERFACE_DEFINED__ */
  389. /* interface __MIDL_itf_streamcache_0137 */
  390. /* [local] */
  391. extern RPC_IF_HANDLE __MIDL_itf_streamcache_0137_v0_0_c_ifspec;
  392. extern RPC_IF_HANDLE __MIDL_itf_streamcache_0137_v0_0_s_ifspec;
  393. #ifndef __IWMSCacheProxyCallback_INTERFACE_DEFINED__
  394. #define __IWMSCacheProxyCallback_INTERFACE_DEFINED__
  395. /* interface IWMSCacheProxyCallback */
  396. /* [helpstring][version][uuid][unique][object] */
  397. EXTERN_C const IID IID_IWMSCacheProxyCallback;
  398. #if defined(__cplusplus) && !defined(CINTERFACE)
  399. MIDL_INTERFACE("2E34AB84-0D3D-11d2-9EEE-006097D2D7CF")
  400. IWMSCacheProxyCallback : public IUnknown
  401. {
  402. public:
  403. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnQueryCache(
  404. /* [in] */ long lHr,
  405. /* [in] */ WMS_CACHE_QUERY_RESPONSE Response,
  406. /* [in] */ BSTR bstrCacheUrl,
  407. /* [in] */ IWMSContext *pContentInfo,
  408. /* [in] */ IUnknown *pCachePluginContext,
  409. /* [in] */ VARIANT varContext) = 0;
  410. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnQueryCacheMissPolicy(
  411. /* [in] */ long lHr,
  412. /* [in] */ WMS_CACHE_QUERY_MISS_RESPONSE CacheMissPolicy,
  413. /* [in] */ BSTR bstrUrl,
  414. /* [in] */ IWMSProxyContext *pProxyContext,
  415. /* [in] */ IWMSContext *pContentInfo,
  416. /* [in] */ VARIANT varContext) = 0;
  417. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnRemoveCacheItem(
  418. /* [in] */ long lHr,
  419. /* [in] */ VARIANT varContext) = 0;
  420. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnRemoveAllCacheItems(
  421. /* [in] */ long lHr,
  422. /* [in] */ VARIANT varContext) = 0;
  423. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnAddCacheItem(
  424. /* [in] */ long lHr,
  425. /* [in] */ IWMSCacheItemDescriptor *pCacheItemDescriptor,
  426. /* [in] */ VARIANT varServerContext) = 0;
  427. };
  428. #else /* C style interface */
  429. typedef struct IWMSCacheProxyCallbackVtbl
  430. {
  431. BEGIN_INTERFACE
  432. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  433. IWMSCacheProxyCallback * This,
  434. /* [in] */ REFIID riid,
  435. /* [iid_is][out] */ void **ppvObject);
  436. ULONG ( STDMETHODCALLTYPE *AddRef )(
  437. IWMSCacheProxyCallback * This);
  438. ULONG ( STDMETHODCALLTYPE *Release )(
  439. IWMSCacheProxyCallback * This);
  440. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *OnQueryCache )(
  441. IWMSCacheProxyCallback * This,
  442. /* [in] */ long lHr,
  443. /* [in] */ WMS_CACHE_QUERY_RESPONSE Response,
  444. /* [in] */ BSTR bstrCacheUrl,
  445. /* [in] */ IWMSContext *pContentInfo,
  446. /* [in] */ IUnknown *pCachePluginContext,
  447. /* [in] */ VARIANT varContext);
  448. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *OnQueryCacheMissPolicy )(
  449. IWMSCacheProxyCallback * This,
  450. /* [in] */ long lHr,
  451. /* [in] */ WMS_CACHE_QUERY_MISS_RESPONSE CacheMissPolicy,
  452. /* [in] */ BSTR bstrUrl,
  453. /* [in] */ IWMSProxyContext *pProxyContext,
  454. /* [in] */ IWMSContext *pContentInfo,
  455. /* [in] */ VARIANT varContext);
  456. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *OnRemoveCacheItem )(
  457. IWMSCacheProxyCallback * This,
  458. /* [in] */ long lHr,
  459. /* [in] */ VARIANT varContext);
  460. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *OnRemoveAllCacheItems )(
  461. IWMSCacheProxyCallback * This,
  462. /* [in] */ long lHr,
  463. /* [in] */ VARIANT varContext);
  464. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *OnAddCacheItem )(
  465. IWMSCacheProxyCallback * This,
  466. /* [in] */ long lHr,
  467. /* [in] */ IWMSCacheItemDescriptor *pCacheItemDescriptor,
  468. /* [in] */ VARIANT varServerContext);
  469. END_INTERFACE
  470. } IWMSCacheProxyCallbackVtbl;
  471. interface IWMSCacheProxyCallback
  472. {
  473. CONST_VTBL struct IWMSCacheProxyCallbackVtbl *lpVtbl;
  474. };
  475. #ifdef COBJMACROS
  476. #define IWMSCacheProxyCallback_QueryInterface(This,riid,ppvObject) \
  477. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  478. #define IWMSCacheProxyCallback_AddRef(This) \
  479. (This)->lpVtbl -> AddRef(This)
  480. #define IWMSCacheProxyCallback_Release(This) \
  481. (This)->lpVtbl -> Release(This)
  482. #define IWMSCacheProxyCallback_OnQueryCache(This,lHr,Response,bstrCacheUrl,pContentInfo,pCachePluginContext,varContext) \
  483. (This)->lpVtbl -> OnQueryCache(This,lHr,Response,bstrCacheUrl,pContentInfo,pCachePluginContext,varContext)
  484. #define IWMSCacheProxyCallback_OnQueryCacheMissPolicy(This,lHr,CacheMissPolicy,bstrUrl,pProxyContext,pContentInfo,varContext) \
  485. (This)->lpVtbl -> OnQueryCacheMissPolicy(This,lHr,CacheMissPolicy,bstrUrl,pProxyContext,pContentInfo,varContext)
  486. #define IWMSCacheProxyCallback_OnRemoveCacheItem(This,lHr,varContext) \
  487. (This)->lpVtbl -> OnRemoveCacheItem(This,lHr,varContext)
  488. #define IWMSCacheProxyCallback_OnRemoveAllCacheItems(This,lHr,varContext) \
  489. (This)->lpVtbl -> OnRemoveAllCacheItems(This,lHr,varContext)
  490. #define IWMSCacheProxyCallback_OnAddCacheItem(This,lHr,pCacheItemDescriptor,varServerContext) \
  491. (This)->lpVtbl -> OnAddCacheItem(This,lHr,pCacheItemDescriptor,varServerContext)
  492. #endif /* COBJMACROS */
  493. #endif /* C style interface */
  494. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSCacheProxyCallback_OnQueryCache_Proxy(
  495. IWMSCacheProxyCallback * This,
  496. /* [in] */ long lHr,
  497. /* [in] */ WMS_CACHE_QUERY_RESPONSE Response,
  498. /* [in] */ BSTR bstrCacheUrl,
  499. /* [in] */ IWMSContext *pContentInfo,
  500. /* [in] */ IUnknown *pCachePluginContext,
  501. /* [in] */ VARIANT varContext);
  502. void __RPC_STUB IWMSCacheProxyCallback_OnQueryCache_Stub(
  503. IRpcStubBuffer *This,
  504. IRpcChannelBuffer *_pRpcChannelBuffer,
  505. PRPC_MESSAGE _pRpcMessage,
  506. DWORD *_pdwStubPhase);
  507. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSCacheProxyCallback_OnQueryCacheMissPolicy_Proxy(
  508. IWMSCacheProxyCallback * This,
  509. /* [in] */ long lHr,
  510. /* [in] */ WMS_CACHE_QUERY_MISS_RESPONSE CacheMissPolicy,
  511. /* [in] */ BSTR bstrUrl,
  512. /* [in] */ IWMSProxyContext *pProxyContext,
  513. /* [in] */ IWMSContext *pContentInfo,
  514. /* [in] */ VARIANT varContext);
  515. void __RPC_STUB IWMSCacheProxyCallback_OnQueryCacheMissPolicy_Stub(
  516. IRpcStubBuffer *This,
  517. IRpcChannelBuffer *_pRpcChannelBuffer,
  518. PRPC_MESSAGE _pRpcMessage,
  519. DWORD *_pdwStubPhase);
  520. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSCacheProxyCallback_OnRemoveCacheItem_Proxy(
  521. IWMSCacheProxyCallback * This,
  522. /* [in] */ long lHr,
  523. /* [in] */ VARIANT varContext);
  524. void __RPC_STUB IWMSCacheProxyCallback_OnRemoveCacheItem_Stub(
  525. IRpcStubBuffer *This,
  526. IRpcChannelBuffer *_pRpcChannelBuffer,
  527. PRPC_MESSAGE _pRpcMessage,
  528. DWORD *_pdwStubPhase);
  529. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSCacheProxyCallback_OnRemoveAllCacheItems_Proxy(
  530. IWMSCacheProxyCallback * This,
  531. /* [in] */ long lHr,
  532. /* [in] */ VARIANT varContext);
  533. void __RPC_STUB IWMSCacheProxyCallback_OnRemoveAllCacheItems_Stub(
  534. IRpcStubBuffer *This,
  535. IRpcChannelBuffer *_pRpcChannelBuffer,
  536. PRPC_MESSAGE _pRpcMessage,
  537. DWORD *_pdwStubPhase);
  538. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSCacheProxyCallback_OnAddCacheItem_Proxy(
  539. IWMSCacheProxyCallback * This,
  540. /* [in] */ long lHr,
  541. /* [in] */ IWMSCacheItemDescriptor *pCacheItemDescriptor,
  542. /* [in] */ VARIANT varServerContext);
  543. void __RPC_STUB IWMSCacheProxyCallback_OnAddCacheItem_Stub(
  544. IRpcStubBuffer *This,
  545. IRpcChannelBuffer *_pRpcChannelBuffer,
  546. PRPC_MESSAGE _pRpcMessage,
  547. DWORD *_pdwStubPhase);
  548. #endif /* __IWMSCacheProxyCallback_INTERFACE_DEFINED__ */
  549. #ifndef __IWMSCacheProxyServer_INTERFACE_DEFINED__
  550. #define __IWMSCacheProxyServer_INTERFACE_DEFINED__
  551. /* interface IWMSCacheProxyServer */
  552. /* [helpstring][version][uuid][unique][object] */
  553. EXTERN_C const IID IID_IWMSCacheProxyServer;
  554. #if defined(__cplusplus) && !defined(CINTERFACE)
  555. MIDL_INTERFACE("68F2A550-D815-11D2-BEF6-00A0C95EC343")
  556. IWMSCacheProxyServer : public IUnknown
  557. {
  558. public:
  559. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetContentInformation(
  560. /* [in] */ BSTR bstrOriginUrl,
  561. /* [in] */ IWMSContext *pPresentationContext,
  562. /* [in] */ IWMSCacheProxy *pICacheProxy,
  563. /* [optional][in] */ IWMSProxyContext *pIProxyContext,
  564. /* [optional][in] */ IWMSCacheProxyServerCallback *pCallback,
  565. /* [optional][in] */ VARIANT varContext) = 0;
  566. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE CompareContentInformation(
  567. /* [in] */ BSTR bstrOriginUrl,
  568. /* [in] */ IWMSContext *pContentInfo,
  569. /* [in] */ IWMSContext *pPresentationContext,
  570. /* [in] */ IWMSCacheProxy *pICacheProxy,
  571. /* [optional][in] */ IWMSProxyContext *pIProxyContext,
  572. /* [optional][in] */ IWMSCacheProxyServerCallback *pCallback,
  573. /* [optional][in] */ VARIANT varContext) = 0;
  574. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE DownloadContent(
  575. /* [in] */ BSTR bstrOriginUrl,
  576. /* [in] */ BSTR bstrCacheUrl,
  577. /* [in] */ long lBandwidth,
  578. /* [in] */ long lQuotaLow,
  579. /* [in] */ long lQuotaHigh,
  580. /* [in] */ long lBitFlags,
  581. /* [in] */ IWMSCacheProxy *pICacheProxy,
  582. /* [optional][in] */ IWMSProxyContext *pIProxyContext,
  583. /* [optional][in] */ IWMSCacheProxyServerCallback *pCallback,
  584. /* [optional][in] */ VARIANT varContext) = 0;
  585. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE CancelDownloadContent(
  586. /* [in] */ IWMSContext *pArchiveContext,
  587. /* [optional][in] */ IWMSCacheProxyServerCallback *pCallback,
  588. /* [optional][in] */ VARIANT varContext) = 0;
  589. };
  590. #else /* C style interface */
  591. typedef struct IWMSCacheProxyServerVtbl
  592. {
  593. BEGIN_INTERFACE
  594. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  595. IWMSCacheProxyServer * This,
  596. /* [in] */ REFIID riid,
  597. /* [iid_is][out] */ void **ppvObject);
  598. ULONG ( STDMETHODCALLTYPE *AddRef )(
  599. IWMSCacheProxyServer * This);
  600. ULONG ( STDMETHODCALLTYPE *Release )(
  601. IWMSCacheProxyServer * This);
  602. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetContentInformation )(
  603. IWMSCacheProxyServer * This,
  604. /* [in] */ BSTR bstrOriginUrl,
  605. /* [in] */ IWMSContext *pPresentationContext,
  606. /* [in] */ IWMSCacheProxy *pICacheProxy,
  607. /* [optional][in] */ IWMSProxyContext *pIProxyContext,
  608. /* [optional][in] */ IWMSCacheProxyServerCallback *pCallback,
  609. /* [optional][in] */ VARIANT varContext);
  610. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *CompareContentInformation )(
  611. IWMSCacheProxyServer * This,
  612. /* [in] */ BSTR bstrOriginUrl,
  613. /* [in] */ IWMSContext *pContentInfo,
  614. /* [in] */ IWMSContext *pPresentationContext,
  615. /* [in] */ IWMSCacheProxy *pICacheProxy,
  616. /* [optional][in] */ IWMSProxyContext *pIProxyContext,
  617. /* [optional][in] */ IWMSCacheProxyServerCallback *pCallback,
  618. /* [optional][in] */ VARIANT varContext);
  619. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *DownloadContent )(
  620. IWMSCacheProxyServer * This,
  621. /* [in] */ BSTR bstrOriginUrl,
  622. /* [in] */ BSTR bstrCacheUrl,
  623. /* [in] */ long lBandwidth,
  624. /* [in] */ long lQuotaLow,
  625. /* [in] */ long lQuotaHigh,
  626. /* [in] */ long lBitFlags,
  627. /* [in] */ IWMSCacheProxy *pICacheProxy,
  628. /* [optional][in] */ IWMSProxyContext *pIProxyContext,
  629. /* [optional][in] */ IWMSCacheProxyServerCallback *pCallback,
  630. /* [optional][in] */ VARIANT varContext);
  631. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *CancelDownloadContent )(
  632. IWMSCacheProxyServer * This,
  633. /* [in] */ IWMSContext *pArchiveContext,
  634. /* [optional][in] */ IWMSCacheProxyServerCallback *pCallback,
  635. /* [optional][in] */ VARIANT varContext);
  636. END_INTERFACE
  637. } IWMSCacheProxyServerVtbl;
  638. interface IWMSCacheProxyServer
  639. {
  640. CONST_VTBL struct IWMSCacheProxyServerVtbl *lpVtbl;
  641. };
  642. #ifdef COBJMACROS
  643. #define IWMSCacheProxyServer_QueryInterface(This,riid,ppvObject) \
  644. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  645. #define IWMSCacheProxyServer_AddRef(This) \
  646. (This)->lpVtbl -> AddRef(This)
  647. #define IWMSCacheProxyServer_Release(This) \
  648. (This)->lpVtbl -> Release(This)
  649. #define IWMSCacheProxyServer_GetContentInformation(This,bstrOriginUrl,pPresentationContext,pICacheProxy,pIProxyContext,pCallback,varContext) \
  650. (This)->lpVtbl -> GetContentInformation(This,bstrOriginUrl,pPresentationContext,pICacheProxy,pIProxyContext,pCallback,varContext)
  651. #define IWMSCacheProxyServer_CompareContentInformation(This,bstrOriginUrl,pContentInfo,pPresentationContext,pICacheProxy,pIProxyContext,pCallback,varContext) \
  652. (This)->lpVtbl -> CompareContentInformation(This,bstrOriginUrl,pContentInfo,pPresentationContext,pICacheProxy,pIProxyContext,pCallback,varContext)
  653. #define IWMSCacheProxyServer_DownloadContent(This,bstrOriginUrl,bstrCacheUrl,lBandwidth,lQuotaLow,lQuotaHigh,lBitFlags,pICacheProxy,pIProxyContext,pCallback,varContext) \
  654. (This)->lpVtbl -> DownloadContent(This,bstrOriginUrl,bstrCacheUrl,lBandwidth,lQuotaLow,lQuotaHigh,lBitFlags,pICacheProxy,pIProxyContext,pCallback,varContext)
  655. #define IWMSCacheProxyServer_CancelDownloadContent(This,pArchiveContext,pCallback,varContext) \
  656. (This)->lpVtbl -> CancelDownloadContent(This,pArchiveContext,pCallback,varContext)
  657. #endif /* COBJMACROS */
  658. #endif /* C style interface */
  659. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSCacheProxyServer_GetContentInformation_Proxy(
  660. IWMSCacheProxyServer * This,
  661. /* [in] */ BSTR bstrOriginUrl,
  662. /* [in] */ IWMSContext *pPresentationContext,
  663. /* [in] */ IWMSCacheProxy *pICacheProxy,
  664. /* [optional][in] */ IWMSProxyContext *pIProxyContext,
  665. /* [optional][in] */ IWMSCacheProxyServerCallback *pCallback,
  666. /* [optional][in] */ VARIANT varContext);
  667. void __RPC_STUB IWMSCacheProxyServer_GetContentInformation_Stub(
  668. IRpcStubBuffer *This,
  669. IRpcChannelBuffer *_pRpcChannelBuffer,
  670. PRPC_MESSAGE _pRpcMessage,
  671. DWORD *_pdwStubPhase);
  672. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSCacheProxyServer_CompareContentInformation_Proxy(
  673. IWMSCacheProxyServer * This,
  674. /* [in] */ BSTR bstrOriginUrl,
  675. /* [in] */ IWMSContext *pContentInfo,
  676. /* [in] */ IWMSContext *pPresentationContext,
  677. /* [in] */ IWMSCacheProxy *pICacheProxy,
  678. /* [optional][in] */ IWMSProxyContext *pIProxyContext,
  679. /* [optional][in] */ IWMSCacheProxyServerCallback *pCallback,
  680. /* [optional][in] */ VARIANT varContext);
  681. void __RPC_STUB IWMSCacheProxyServer_CompareContentInformation_Stub(
  682. IRpcStubBuffer *This,
  683. IRpcChannelBuffer *_pRpcChannelBuffer,
  684. PRPC_MESSAGE _pRpcMessage,
  685. DWORD *_pdwStubPhase);
  686. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSCacheProxyServer_DownloadContent_Proxy(
  687. IWMSCacheProxyServer * This,
  688. /* [in] */ BSTR bstrOriginUrl,
  689. /* [in] */ BSTR bstrCacheUrl,
  690. /* [in] */ long lBandwidth,
  691. /* [in] */ long lQuotaLow,
  692. /* [in] */ long lQuotaHigh,
  693. /* [in] */ long lBitFlags,
  694. /* [in] */ IWMSCacheProxy *pICacheProxy,
  695. /* [optional][in] */ IWMSProxyContext *pIProxyContext,
  696. /* [optional][in] */ IWMSCacheProxyServerCallback *pCallback,
  697. /* [optional][in] */ VARIANT varContext);
  698. void __RPC_STUB IWMSCacheProxyServer_DownloadContent_Stub(
  699. IRpcStubBuffer *This,
  700. IRpcChannelBuffer *_pRpcChannelBuffer,
  701. PRPC_MESSAGE _pRpcMessage,
  702. DWORD *_pdwStubPhase);
  703. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSCacheProxyServer_CancelDownloadContent_Proxy(
  704. IWMSCacheProxyServer * This,
  705. /* [in] */ IWMSContext *pArchiveContext,
  706. /* [optional][in] */ IWMSCacheProxyServerCallback *pCallback,
  707. /* [optional][in] */ VARIANT varContext);
  708. void __RPC_STUB IWMSCacheProxyServer_CancelDownloadContent_Stub(
  709. IRpcStubBuffer *This,
  710. IRpcChannelBuffer *_pRpcChannelBuffer,
  711. PRPC_MESSAGE _pRpcMessage,
  712. DWORD *_pdwStubPhase);
  713. #endif /* __IWMSCacheProxyServer_INTERFACE_DEFINED__ */
  714. #ifndef __IWMSCacheProxyServerCallback_INTERFACE_DEFINED__
  715. #define __IWMSCacheProxyServerCallback_INTERFACE_DEFINED__
  716. /* interface IWMSCacheProxyServerCallback */
  717. /* [helpstring][version][uuid][unique][object] */
  718. EXTERN_C const IID IID_IWMSCacheProxyServerCallback;
  719. #if defined(__cplusplus) && !defined(CINTERFACE)
  720. MIDL_INTERFACE("68F2A551-D815-11D2-BEF6-00A0C95EC343")
  721. IWMSCacheProxyServerCallback : public IUnknown
  722. {
  723. public:
  724. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnGetContentInformation(
  725. /* [in] */ long lHr,
  726. /* [in] */ IWMSContext *pContentInfo,
  727. /* [in] */ VARIANT varContext) = 0;
  728. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnCompareContentInformation(
  729. /* [in] */ long lHr,
  730. /* [in] */ WMS_CACHE_VERSION_COMPARE_RESPONSE CompareResponse,
  731. /* [in] */ IWMSContext *pNewContentInfo,
  732. /* [in] */ VARIANT varContext) = 0;
  733. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnDownloadContentProgress(
  734. /* [in] */ long lHr,
  735. /* [in] */ WMS_RECORD_PROGRESS_OPCODE opCode,
  736. /* [in] */ IWMSContext *pArchiveContext,
  737. /* [in] */ VARIANT varContext) = 0;
  738. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnDownloadContentFinished(
  739. /* [in] */ long lHr,
  740. /* [in] */ SAFEARRAY * psaArchiveContexts,
  741. /* [in] */ VARIANT varContext) = 0;
  742. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnCancelDownloadContent(
  743. /* [in] */ long lHr,
  744. /* [in] */ VARIANT varContext) = 0;
  745. };
  746. #else /* C style interface */
  747. typedef struct IWMSCacheProxyServerCallbackVtbl
  748. {
  749. BEGIN_INTERFACE
  750. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  751. IWMSCacheProxyServerCallback * This,
  752. /* [in] */ REFIID riid,
  753. /* [iid_is][out] */ void **ppvObject);
  754. ULONG ( STDMETHODCALLTYPE *AddRef )(
  755. IWMSCacheProxyServerCallback * This);
  756. ULONG ( STDMETHODCALLTYPE *Release )(
  757. IWMSCacheProxyServerCallback * This);
  758. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *OnGetContentInformation )(
  759. IWMSCacheProxyServerCallback * This,
  760. /* [in] */ long lHr,
  761. /* [in] */ IWMSContext *pContentInfo,
  762. /* [in] */ VARIANT varContext);
  763. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *OnCompareContentInformation )(
  764. IWMSCacheProxyServerCallback * This,
  765. /* [in] */ long lHr,
  766. /* [in] */ WMS_CACHE_VERSION_COMPARE_RESPONSE CompareResponse,
  767. /* [in] */ IWMSContext *pNewContentInfo,
  768. /* [in] */ VARIANT varContext);
  769. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *OnDownloadContentProgress )(
  770. IWMSCacheProxyServerCallback * This,
  771. /* [in] */ long lHr,
  772. /* [in] */ WMS_RECORD_PROGRESS_OPCODE opCode,
  773. /* [in] */ IWMSContext *pArchiveContext,
  774. /* [in] */ VARIANT varContext);
  775. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *OnDownloadContentFinished )(
  776. IWMSCacheProxyServerCallback * This,
  777. /* [in] */ long lHr,
  778. /* [in] */ SAFEARRAY * psaArchiveContexts,
  779. /* [in] */ VARIANT varContext);
  780. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *OnCancelDownloadContent )(
  781. IWMSCacheProxyServerCallback * This,
  782. /* [in] */ long lHr,
  783. /* [in] */ VARIANT varContext);
  784. END_INTERFACE
  785. } IWMSCacheProxyServerCallbackVtbl;
  786. interface IWMSCacheProxyServerCallback
  787. {
  788. CONST_VTBL struct IWMSCacheProxyServerCallbackVtbl *lpVtbl;
  789. };
  790. #ifdef COBJMACROS
  791. #define IWMSCacheProxyServerCallback_QueryInterface(This,riid,ppvObject) \
  792. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  793. #define IWMSCacheProxyServerCallback_AddRef(This) \
  794. (This)->lpVtbl -> AddRef(This)
  795. #define IWMSCacheProxyServerCallback_Release(This) \
  796. (This)->lpVtbl -> Release(This)
  797. #define IWMSCacheProxyServerCallback_OnGetContentInformation(This,lHr,pContentInfo,varContext) \
  798. (This)->lpVtbl -> OnGetContentInformation(This,lHr,pContentInfo,varContext)
  799. #define IWMSCacheProxyServerCallback_OnCompareContentInformation(This,lHr,CompareResponse,pNewContentInfo,varContext) \
  800. (This)->lpVtbl -> OnCompareContentInformation(This,lHr,CompareResponse,pNewContentInfo,varContext)
  801. #define IWMSCacheProxyServerCallback_OnDownloadContentProgress(This,lHr,opCode,pArchiveContext,varContext) \
  802. (This)->lpVtbl -> OnDownloadContentProgress(This,lHr,opCode,pArchiveContext,varContext)
  803. #define IWMSCacheProxyServerCallback_OnDownloadContentFinished(This,lHr,psaArchiveContexts,varContext) \
  804. (This)->lpVtbl -> OnDownloadContentFinished(This,lHr,psaArchiveContexts,varContext)
  805. #define IWMSCacheProxyServerCallback_OnCancelDownloadContent(This,lHr,varContext) \
  806. (This)->lpVtbl -> OnCancelDownloadContent(This,lHr,varContext)
  807. #endif /* COBJMACROS */
  808. #endif /* C style interface */
  809. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSCacheProxyServerCallback_OnGetContentInformation_Proxy(
  810. IWMSCacheProxyServerCallback * This,
  811. /* [in] */ long lHr,
  812. /* [in] */ IWMSContext *pContentInfo,
  813. /* [in] */ VARIANT varContext);
  814. void __RPC_STUB IWMSCacheProxyServerCallback_OnGetContentInformation_Stub(
  815. IRpcStubBuffer *This,
  816. IRpcChannelBuffer *_pRpcChannelBuffer,
  817. PRPC_MESSAGE _pRpcMessage,
  818. DWORD *_pdwStubPhase);
  819. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSCacheProxyServerCallback_OnCompareContentInformation_Proxy(
  820. IWMSCacheProxyServerCallback * This,
  821. /* [in] */ long lHr,
  822. /* [in] */ WMS_CACHE_VERSION_COMPARE_RESPONSE CompareResponse,
  823. /* [in] */ IWMSContext *pNewContentInfo,
  824. /* [in] */ VARIANT varContext);
  825. void __RPC_STUB IWMSCacheProxyServerCallback_OnCompareContentInformation_Stub(
  826. IRpcStubBuffer *This,
  827. IRpcChannelBuffer *_pRpcChannelBuffer,
  828. PRPC_MESSAGE _pRpcMessage,
  829. DWORD *_pdwStubPhase);
  830. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSCacheProxyServerCallback_OnDownloadContentProgress_Proxy(
  831. IWMSCacheProxyServerCallback * This,
  832. /* [in] */ long lHr,
  833. /* [in] */ WMS_RECORD_PROGRESS_OPCODE opCode,
  834. /* [in] */ IWMSContext *pArchiveContext,
  835. /* [in] */ VARIANT varContext);
  836. void __RPC_STUB IWMSCacheProxyServerCallback_OnDownloadContentProgress_Stub(
  837. IRpcStubBuffer *This,
  838. IRpcChannelBuffer *_pRpcChannelBuffer,
  839. PRPC_MESSAGE _pRpcMessage,
  840. DWORD *_pdwStubPhase);
  841. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSCacheProxyServerCallback_OnDownloadContentFinished_Proxy(
  842. IWMSCacheProxyServerCallback * This,
  843. /* [in] */ long lHr,
  844. /* [in] */ SAFEARRAY * psaArchiveContexts,
  845. /* [in] */ VARIANT varContext);
  846. void __RPC_STUB IWMSCacheProxyServerCallback_OnDownloadContentFinished_Stub(
  847. IRpcStubBuffer *This,
  848. IRpcChannelBuffer *_pRpcChannelBuffer,
  849. PRPC_MESSAGE _pRpcMessage,
  850. DWORD *_pdwStubPhase);
  851. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSCacheProxyServerCallback_OnCancelDownloadContent_Proxy(
  852. IWMSCacheProxyServerCallback * This,
  853. /* [in] */ long lHr,
  854. /* [in] */ VARIANT varContext);
  855. void __RPC_STUB IWMSCacheProxyServerCallback_OnCancelDownloadContent_Stub(
  856. IRpcStubBuffer *This,
  857. IRpcChannelBuffer *_pRpcChannelBuffer,
  858. PRPC_MESSAGE _pRpcMessage,
  859. DWORD *_pdwStubPhase);
  860. #endif /* __IWMSCacheProxyServerCallback_INTERFACE_DEFINED__ */
  861. #ifndef __IWMSCacheItemDescriptor_INTERFACE_DEFINED__
  862. #define __IWMSCacheItemDescriptor_INTERFACE_DEFINED__
  863. /* interface IWMSCacheItemDescriptor */
  864. /* [helpstring][version][uuid][unique][object] */
  865. EXTERN_C const IID IID_IWMSCacheItemDescriptor;
  866. #if defined(__cplusplus) && !defined(CINTERFACE)
  867. MIDL_INTERFACE("C3CBA330-AC05-11D2-BEF0-00A0C95EC343")
  868. IWMSCacheItemDescriptor : public IUnknown
  869. {
  870. public:
  871. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetOriginUrl(
  872. /* [out] */ BSTR *pbstrOriginUrl) = 0;
  873. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetCacheUrl(
  874. /* [out] */ BSTR *pbstrCacheUrl) = 0;
  875. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetContentInformation(
  876. /* [out] */ IWMSContext **ppContentInfo) = 0;
  877. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetContentSize(
  878. /* [out] */ long *plContentSizeLow,
  879. /* [out] */ long *plContentSizeHigh) = 0;
  880. };
  881. #else /* C style interface */
  882. typedef struct IWMSCacheItemDescriptorVtbl
  883. {
  884. BEGIN_INTERFACE
  885. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  886. IWMSCacheItemDescriptor * This,
  887. /* [in] */ REFIID riid,
  888. /* [iid_is][out] */ void **ppvObject);
  889. ULONG ( STDMETHODCALLTYPE *AddRef )(
  890. IWMSCacheItemDescriptor * This);
  891. ULONG ( STDMETHODCALLTYPE *Release )(
  892. IWMSCacheItemDescriptor * This);
  893. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetOriginUrl )(
  894. IWMSCacheItemDescriptor * This,
  895. /* [out] */ BSTR *pbstrOriginUrl);
  896. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetCacheUrl )(
  897. IWMSCacheItemDescriptor * This,
  898. /* [out] */ BSTR *pbstrCacheUrl);
  899. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetContentInformation )(
  900. IWMSCacheItemDescriptor * This,
  901. /* [out] */ IWMSContext **ppContentInfo);
  902. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetContentSize )(
  903. IWMSCacheItemDescriptor * This,
  904. /* [out] */ long *plContentSizeLow,
  905. /* [out] */ long *plContentSizeHigh);
  906. END_INTERFACE
  907. } IWMSCacheItemDescriptorVtbl;
  908. interface IWMSCacheItemDescriptor
  909. {
  910. CONST_VTBL struct IWMSCacheItemDescriptorVtbl *lpVtbl;
  911. };
  912. #ifdef COBJMACROS
  913. #define IWMSCacheItemDescriptor_QueryInterface(This,riid,ppvObject) \
  914. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  915. #define IWMSCacheItemDescriptor_AddRef(This) \
  916. (This)->lpVtbl -> AddRef(This)
  917. #define IWMSCacheItemDescriptor_Release(This) \
  918. (This)->lpVtbl -> Release(This)
  919. #define IWMSCacheItemDescriptor_GetOriginUrl(This,pbstrOriginUrl) \
  920. (This)->lpVtbl -> GetOriginUrl(This,pbstrOriginUrl)
  921. #define IWMSCacheItemDescriptor_GetCacheUrl(This,pbstrCacheUrl) \
  922. (This)->lpVtbl -> GetCacheUrl(This,pbstrCacheUrl)
  923. #define IWMSCacheItemDescriptor_GetContentInformation(This,ppContentInfo) \
  924. (This)->lpVtbl -> GetContentInformation(This,ppContentInfo)
  925. #define IWMSCacheItemDescriptor_GetContentSize(This,plContentSizeLow,plContentSizeHigh) \
  926. (This)->lpVtbl -> GetContentSize(This,plContentSizeLow,plContentSizeHigh)
  927. #endif /* COBJMACROS */
  928. #endif /* C style interface */
  929. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSCacheItemDescriptor_GetOriginUrl_Proxy(
  930. IWMSCacheItemDescriptor * This,
  931. /* [out] */ BSTR *pbstrOriginUrl);
  932. void __RPC_STUB IWMSCacheItemDescriptor_GetOriginUrl_Stub(
  933. IRpcStubBuffer *This,
  934. IRpcChannelBuffer *_pRpcChannelBuffer,
  935. PRPC_MESSAGE _pRpcMessage,
  936. DWORD *_pdwStubPhase);
  937. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSCacheItemDescriptor_GetCacheUrl_Proxy(
  938. IWMSCacheItemDescriptor * This,
  939. /* [out] */ BSTR *pbstrCacheUrl);
  940. void __RPC_STUB IWMSCacheItemDescriptor_GetCacheUrl_Stub(
  941. IRpcStubBuffer *This,
  942. IRpcChannelBuffer *_pRpcChannelBuffer,
  943. PRPC_MESSAGE _pRpcMessage,
  944. DWORD *_pdwStubPhase);
  945. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSCacheItemDescriptor_GetContentInformation_Proxy(
  946. IWMSCacheItemDescriptor * This,
  947. /* [out] */ IWMSContext **ppContentInfo);
  948. void __RPC_STUB IWMSCacheItemDescriptor_GetContentInformation_Stub(
  949. IRpcStubBuffer *This,
  950. IRpcChannelBuffer *_pRpcChannelBuffer,
  951. PRPC_MESSAGE _pRpcMessage,
  952. DWORD *_pdwStubPhase);
  953. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSCacheItemDescriptor_GetContentSize_Proxy(
  954. IWMSCacheItemDescriptor * This,
  955. /* [out] */ long *plContentSizeLow,
  956. /* [out] */ long *plContentSizeHigh);
  957. void __RPC_STUB IWMSCacheItemDescriptor_GetContentSize_Stub(
  958. IRpcStubBuffer *This,
  959. IRpcChannelBuffer *_pRpcChannelBuffer,
  960. PRPC_MESSAGE _pRpcMessage,
  961. DWORD *_pdwStubPhase);
  962. #endif /* __IWMSCacheItemDescriptor_INTERFACE_DEFINED__ */
  963. #ifndef __IWMSCacheItemCollection_INTERFACE_DEFINED__
  964. #define __IWMSCacheItemCollection_INTERFACE_DEFINED__
  965. /* interface IWMSCacheItemCollection */
  966. /* [helpstring][version][uuid][unique][object] */
  967. EXTERN_C const IID IID_IWMSCacheItemCollection;
  968. #if defined(__cplusplus) && !defined(CINTERFACE)
  969. MIDL_INTERFACE("E6E05D80-F45C-11D2-BEFE-00A0C95EC343")
  970. IWMSCacheItemCollection : public IUnknown
  971. {
  972. public:
  973. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetCount(
  974. /* [out] */ long *plNumCacheItemDescriptors) = 0;
  975. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetItem(
  976. /* [in] */ long lIndex,
  977. /* [out] */ IWMSCacheItemDescriptor **ppCacheItemDescriptor) = 0;
  978. };
  979. #else /* C style interface */
  980. typedef struct IWMSCacheItemCollectionVtbl
  981. {
  982. BEGIN_INTERFACE
  983. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  984. IWMSCacheItemCollection * This,
  985. /* [in] */ REFIID riid,
  986. /* [iid_is][out] */ void **ppvObject);
  987. ULONG ( STDMETHODCALLTYPE *AddRef )(
  988. IWMSCacheItemCollection * This);
  989. ULONG ( STDMETHODCALLTYPE *Release )(
  990. IWMSCacheItemCollection * This);
  991. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetCount )(
  992. IWMSCacheItemCollection * This,
  993. /* [out] */ long *plNumCacheItemDescriptors);
  994. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetItem )(
  995. IWMSCacheItemCollection * This,
  996. /* [in] */ long lIndex,
  997. /* [out] */ IWMSCacheItemDescriptor **ppCacheItemDescriptor);
  998. END_INTERFACE
  999. } IWMSCacheItemCollectionVtbl;
  1000. interface IWMSCacheItemCollection
  1001. {
  1002. CONST_VTBL struct IWMSCacheItemCollectionVtbl *lpVtbl;
  1003. };
  1004. #ifdef COBJMACROS
  1005. #define IWMSCacheItemCollection_QueryInterface(This,riid,ppvObject) \
  1006. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1007. #define IWMSCacheItemCollection_AddRef(This) \
  1008. (This)->lpVtbl -> AddRef(This)
  1009. #define IWMSCacheItemCollection_Release(This) \
  1010. (This)->lpVtbl -> Release(This)
  1011. #define IWMSCacheItemCollection_GetCount(This,plNumCacheItemDescriptors) \
  1012. (This)->lpVtbl -> GetCount(This,plNumCacheItemDescriptors)
  1013. #define IWMSCacheItemCollection_GetItem(This,lIndex,ppCacheItemDescriptor) \
  1014. (This)->lpVtbl -> GetItem(This,lIndex,ppCacheItemDescriptor)
  1015. #endif /* COBJMACROS */
  1016. #endif /* C style interface */
  1017. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSCacheItemCollection_GetCount_Proxy(
  1018. IWMSCacheItemCollection * This,
  1019. /* [out] */ long *plNumCacheItemDescriptors);
  1020. void __RPC_STUB IWMSCacheItemCollection_GetCount_Stub(
  1021. IRpcStubBuffer *This,
  1022. IRpcChannelBuffer *_pRpcChannelBuffer,
  1023. PRPC_MESSAGE _pRpcMessage,
  1024. DWORD *_pdwStubPhase);
  1025. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSCacheItemCollection_GetItem_Proxy(
  1026. IWMSCacheItemCollection * This,
  1027. /* [in] */ long lIndex,
  1028. /* [out] */ IWMSCacheItemDescriptor **ppCacheItemDescriptor);
  1029. void __RPC_STUB IWMSCacheItemCollection_GetItem_Stub(
  1030. IRpcStubBuffer *This,
  1031. IRpcChannelBuffer *_pRpcChannelBuffer,
  1032. PRPC_MESSAGE _pRpcMessage,
  1033. DWORD *_pdwStubPhase);
  1034. #endif /* __IWMSCacheItemCollection_INTERFACE_DEFINED__ */
  1035. /* Additional Prototypes for ALL interfaces */
  1036. unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
  1037. unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
  1038. unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
  1039. void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
  1040. unsigned long __RPC_USER LPSAFEARRAY_UserSize( unsigned long *, unsigned long , LPSAFEARRAY * );
  1041. unsigned char * __RPC_USER LPSAFEARRAY_UserMarshal( unsigned long *, unsigned char *, LPSAFEARRAY * );
  1042. unsigned char * __RPC_USER LPSAFEARRAY_UserUnmarshal(unsigned long *, unsigned char *, LPSAFEARRAY * );
  1043. void __RPC_USER LPSAFEARRAY_UserFree( unsigned long *, LPSAFEARRAY * );
  1044. unsigned long __RPC_USER VARIANT_UserSize( unsigned long *, unsigned long , VARIANT * );
  1045. unsigned char * __RPC_USER VARIANT_UserMarshal( unsigned long *, unsigned char *, VARIANT * );
  1046. unsigned char * __RPC_USER VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * );
  1047. void __RPC_USER VARIANT_UserFree( unsigned long *, VARIANT * );
  1048. /* end of Additional Prototypes */
  1049. #ifdef __cplusplus
  1050. }
  1051. #endif
  1052. #endif