EmptyVC.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:19k
源码类别:

模拟服务器

开发平台:

C/C++

  1. #pragma warning( disable: 4049 )  /* more than 64k source lines */
  2. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  3.  /* File created by MIDL compiler version 6.00.0347 */
  4. /* Compiler settings for emptyvc.idl:
  5.     Oicf, W1, Zp8, env=Win32 (32b run)
  6.     protocol : dce , ms_ext, c_ext
  7.     error checks: allocation ref bounds_check enum stub_data 
  8.     VC __declspec() decoration level: 
  9.          __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  10.          DECLSPEC_UUID(), MIDL_INTERFACE()
  11. */
  12. //@@MIDL_FILE_HEADING(  )
  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 __emptyvc_h__
  27. #define __emptyvc_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */ 
  32. #ifndef __IEmptyVolumeCacheCallBack_FWD_DEFINED__
  33. #define __IEmptyVolumeCacheCallBack_FWD_DEFINED__
  34. typedef interface IEmptyVolumeCacheCallBack IEmptyVolumeCacheCallBack;
  35. #endif  /* __IEmptyVolumeCacheCallBack_FWD_DEFINED__ */
  36. #ifndef __IEmptyVolumeCache_FWD_DEFINED__
  37. #define __IEmptyVolumeCache_FWD_DEFINED__
  38. typedef interface IEmptyVolumeCache IEmptyVolumeCache;
  39. #endif  /* __IEmptyVolumeCache_FWD_DEFINED__ */
  40. #ifndef __IEmptyVolumeCache2_FWD_DEFINED__
  41. #define __IEmptyVolumeCache2_FWD_DEFINED__
  42. typedef interface IEmptyVolumeCache2 IEmptyVolumeCache2;
  43. #endif  /* __IEmptyVolumeCache2_FWD_DEFINED__ */
  44. /* header files for imported files */
  45. #include "objidl.h"
  46. #include "oleidl.h"
  47. #include "oaidl.h"
  48. #ifdef __cplusplus
  49. extern "C"{
  50. #endif 
  51. void * __RPC_USER MIDL_user_allocate(size_t);
  52. void __RPC_USER MIDL_user_free( void * ); 
  53. /* interface __MIDL_itf_emptyvc_0000 */
  54. /* [local] */ 
  55. //=--------------------------------------------------------------------------=
  56. // emptyvc.h
  57. //=--------------------------------------------------------------------------=
  58. // Copyright (c) Microsoft Corporation. All rights reserved.
  59. //
  60. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  61. // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  62. // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  63. // PARTICULAR PURPOSE.
  64. //=--------------------------------------------------------------------------=
  65. #pragma comment(lib,"uuid.lib")
  66. //---------------------------------------------------------------------------=
  67. // Empty Volume Cache Interfaces.
  68. // IEmptyVolumeCache Flags
  69. #define EVCF_HASSETTINGS             0x0001
  70. #define EVCF_ENABLEBYDEFAULT         0x0002
  71. #define EVCF_REMOVEFROMLIST          0x0004
  72. #define EVCF_ENABLEBYDEFAULT_AUTO    0x0008
  73. #define EVCF_DONTSHOWIFZERO          0x0010
  74. #define EVCF_SETTINGSMODE            0x0020
  75. #define EVCF_OUTOFDISKSPACE          0x0040
  76. // IEmptyVolumeCacheCallBack Flags
  77. #define EVCCBF_LASTNOTIFICATION  0x0001
  78. ////////////////////////////////////////////////////////////////////////////
  79. //  Interface Definitions
  80. #ifndef _LPEMPTYVOLUMECACHECALLBACK_DEFINED
  81. #define _LPEMPTYVOLUMECACHECALLBACK_DEFINED
  82. extern RPC_IF_HANDLE __MIDL_itf_emptyvc_0000_v0_0_c_ifspec;
  83. extern RPC_IF_HANDLE __MIDL_itf_emptyvc_0000_v0_0_s_ifspec;
  84. #ifndef __IEmptyVolumeCacheCallBack_INTERFACE_DEFINED__
  85. #define __IEmptyVolumeCacheCallBack_INTERFACE_DEFINED__
  86. /* interface IEmptyVolumeCacheCallBack */
  87. /* [unique][uuid][object] */ 
  88. typedef /* [unique] */ IEmptyVolumeCacheCallBack *LPEMPTYVOLUMECACHECALLBACK;
  89. EXTERN_C const IID IID_IEmptyVolumeCacheCallBack;
  90. #if defined(__cplusplus) && !defined(CINTERFACE)
  91.     
  92.     MIDL_INTERFACE("6E793361-73C6-11D0-8469-00AA00442901")
  93.     IEmptyVolumeCacheCallBack : public IUnknown
  94.     {
  95.     public:
  96.         virtual HRESULT STDMETHODCALLTYPE ScanProgress( 
  97.             /* [in] */ DWORDLONG dwlSpaceUsed,
  98.             /* [in] */ DWORD dwFlags,
  99.             /* [in] */ LPCWSTR pcwszStatus) = 0;
  100.         
  101.         virtual HRESULT STDMETHODCALLTYPE PurgeProgress( 
  102.             /* [in] */ DWORDLONG dwlSpaceFreed,
  103.             /* [in] */ DWORDLONG dwlSpaceToFree,
  104.             /* [in] */ DWORD dwFlags,
  105.             /* [in] */ LPCWSTR pcwszStatus) = 0;
  106.         
  107.     };
  108.     
  109. #else  /* C style interface */
  110.     typedef struct IEmptyVolumeCacheCallBackVtbl
  111.     {
  112.         BEGIN_INTERFACE
  113.         
  114.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  115.             IEmptyVolumeCacheCallBack * This,
  116.             /* [in] */ REFIID riid,
  117.             /* [iid_is][out] */ void **ppvObject);
  118.         
  119.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  120.             IEmptyVolumeCacheCallBack * This);
  121.         
  122.         ULONG ( STDMETHODCALLTYPE *Release )( 
  123.             IEmptyVolumeCacheCallBack * This);
  124.         
  125.         HRESULT ( STDMETHODCALLTYPE *ScanProgress )( 
  126.             IEmptyVolumeCacheCallBack * This,
  127.             /* [in] */ DWORDLONG dwlSpaceUsed,
  128.             /* [in] */ DWORD dwFlags,
  129.             /* [in] */ LPCWSTR pcwszStatus);
  130.         
  131.         HRESULT ( STDMETHODCALLTYPE *PurgeProgress )( 
  132.             IEmptyVolumeCacheCallBack * This,
  133.             /* [in] */ DWORDLONG dwlSpaceFreed,
  134.             /* [in] */ DWORDLONG dwlSpaceToFree,
  135.             /* [in] */ DWORD dwFlags,
  136.             /* [in] */ LPCWSTR pcwszStatus);
  137.         
  138.         END_INTERFACE
  139.     } IEmptyVolumeCacheCallBackVtbl;
  140.     interface IEmptyVolumeCacheCallBack
  141.     {
  142.         CONST_VTBL struct IEmptyVolumeCacheCallBackVtbl *lpVtbl;
  143.     };
  144.     
  145. #ifdef COBJMACROS
  146. #define IEmptyVolumeCacheCallBack_QueryInterface(This,riid,ppvObject)
  147.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  148. #define IEmptyVolumeCacheCallBack_AddRef(This)
  149.     (This)->lpVtbl -> AddRef(This)
  150. #define IEmptyVolumeCacheCallBack_Release(This)
  151.     (This)->lpVtbl -> Release(This)
  152. #define IEmptyVolumeCacheCallBack_ScanProgress(This,dwlSpaceUsed,dwFlags,pcwszStatus)
  153.     (This)->lpVtbl -> ScanProgress(This,dwlSpaceUsed,dwFlags,pcwszStatus)
  154. #define IEmptyVolumeCacheCallBack_PurgeProgress(This,dwlSpaceFreed,dwlSpaceToFree,dwFlags,pcwszStatus)
  155.     (This)->lpVtbl -> PurgeProgress(This,dwlSpaceFreed,dwlSpaceToFree,dwFlags,pcwszStatus)
  156. #endif /* COBJMACROS */
  157. #endif  /* C style interface */
  158. HRESULT STDMETHODCALLTYPE IEmptyVolumeCacheCallBack_ScanProgress_Proxy( 
  159.     IEmptyVolumeCacheCallBack * This,
  160.     /* [in] */ DWORDLONG dwlSpaceUsed,
  161.     /* [in] */ DWORD dwFlags,
  162.     /* [in] */ LPCWSTR pcwszStatus);
  163. void __RPC_STUB IEmptyVolumeCacheCallBack_ScanProgress_Stub(
  164.     IRpcStubBuffer *This,
  165.     IRpcChannelBuffer *_pRpcChannelBuffer,
  166.     PRPC_MESSAGE _pRpcMessage,
  167.     DWORD *_pdwStubPhase);
  168. HRESULT STDMETHODCALLTYPE IEmptyVolumeCacheCallBack_PurgeProgress_Proxy( 
  169.     IEmptyVolumeCacheCallBack * This,
  170.     /* [in] */ DWORDLONG dwlSpaceFreed,
  171.     /* [in] */ DWORDLONG dwlSpaceToFree,
  172.     /* [in] */ DWORD dwFlags,
  173.     /* [in] */ LPCWSTR pcwszStatus);
  174. void __RPC_STUB IEmptyVolumeCacheCallBack_PurgeProgress_Stub(
  175.     IRpcStubBuffer *This,
  176.     IRpcChannelBuffer *_pRpcChannelBuffer,
  177.     PRPC_MESSAGE _pRpcMessage,
  178.     DWORD *_pdwStubPhase);
  179. #endif  /* __IEmptyVolumeCacheCallBack_INTERFACE_DEFINED__ */
  180. /* interface __MIDL_itf_emptyvc_0136 */
  181. /* [local] */ 
  182. #endif
  183. #ifndef _LPEMPTYVOLUMECACHE_DEFINED
  184. #define _LPEMPTYVOLUMECACHE_DEFINED
  185. extern RPC_IF_HANDLE __MIDL_itf_emptyvc_0136_v0_0_c_ifspec;
  186. extern RPC_IF_HANDLE __MIDL_itf_emptyvc_0136_v0_0_s_ifspec;
  187. #ifndef __IEmptyVolumeCache_INTERFACE_DEFINED__
  188. #define __IEmptyVolumeCache_INTERFACE_DEFINED__
  189. /* interface IEmptyVolumeCache */
  190. /* [unique][uuid][object] */ 
  191. typedef /* [unique] */ IEmptyVolumeCache *LPEMPTYVOLUMECACHE;
  192. EXTERN_C const IID IID_IEmptyVolumeCache;
  193. #if defined(__cplusplus) && !defined(CINTERFACE)
  194.     
  195.     MIDL_INTERFACE("8FCE5227-04DA-11d1-A004-00805F8ABE06")
  196.     IEmptyVolumeCache : public IUnknown
  197.     {
  198.     public:
  199.         virtual /* [local] */ HRESULT STDMETHODCALLTYPE Initialize( 
  200.             /* [in] */ HKEY hkRegKey,
  201.             /* [in] */ LPCWSTR pcwszVolume,
  202.             /* [out] */ LPWSTR *ppwszDisplayName,
  203.             /* [out] */ LPWSTR *ppwszDescription,
  204.             /* [out] */ DWORD *pdwFlags) = 0;
  205.         
  206.         virtual HRESULT STDMETHODCALLTYPE GetSpaceUsed( 
  207.             /* [out] */ DWORDLONG *pdwlSpaceUsed,
  208.             /* [in] */ IEmptyVolumeCacheCallBack *picb) = 0;
  209.         
  210.         virtual HRESULT STDMETHODCALLTYPE Purge( 
  211.             /* [in] */ DWORDLONG dwlSpaceToFree,
  212.             /* [in] */ IEmptyVolumeCacheCallBack *picb) = 0;
  213.         
  214.         virtual HRESULT STDMETHODCALLTYPE ShowProperties( 
  215.             /* [in] */ HWND hwnd) = 0;
  216.         
  217.         virtual HRESULT STDMETHODCALLTYPE Deactivate( 
  218.             /* [out] */ DWORD *pdwFlags) = 0;
  219.         
  220.     };
  221.     
  222. #else  /* C style interface */
  223.     typedef struct IEmptyVolumeCacheVtbl
  224.     {
  225.         BEGIN_INTERFACE
  226.         
  227.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  228.             IEmptyVolumeCache * This,
  229.             /* [in] */ REFIID riid,
  230.             /* [iid_is][out] */ void **ppvObject);
  231.         
  232.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  233.             IEmptyVolumeCache * This);
  234.         
  235.         ULONG ( STDMETHODCALLTYPE *Release )( 
  236.             IEmptyVolumeCache * This);
  237.         
  238.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Initialize )( 
  239.             IEmptyVolumeCache * This,
  240.             /* [in] */ HKEY hkRegKey,
  241.             /* [in] */ LPCWSTR pcwszVolume,
  242.             /* [out] */ LPWSTR *ppwszDisplayName,
  243.             /* [out] */ LPWSTR *ppwszDescription,
  244.             /* [out] */ DWORD *pdwFlags);
  245.         
  246.         HRESULT ( STDMETHODCALLTYPE *GetSpaceUsed )( 
  247.             IEmptyVolumeCache * This,
  248.             /* [out] */ DWORDLONG *pdwlSpaceUsed,
  249.             /* [in] */ IEmptyVolumeCacheCallBack *picb);
  250.         
  251.         HRESULT ( STDMETHODCALLTYPE *Purge )( 
  252.             IEmptyVolumeCache * This,
  253.             /* [in] */ DWORDLONG dwlSpaceToFree,
  254.             /* [in] */ IEmptyVolumeCacheCallBack *picb);
  255.         
  256.         HRESULT ( STDMETHODCALLTYPE *ShowProperties )( 
  257.             IEmptyVolumeCache * This,
  258.             /* [in] */ HWND hwnd);
  259.         
  260.         HRESULT ( STDMETHODCALLTYPE *Deactivate )( 
  261.             IEmptyVolumeCache * This,
  262.             /* [out] */ DWORD *pdwFlags);
  263.         
  264.         END_INTERFACE
  265.     } IEmptyVolumeCacheVtbl;
  266.     interface IEmptyVolumeCache
  267.     {
  268.         CONST_VTBL struct IEmptyVolumeCacheVtbl *lpVtbl;
  269.     };
  270.     
  271. #ifdef COBJMACROS
  272. #define IEmptyVolumeCache_QueryInterface(This,riid,ppvObject)
  273.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  274. #define IEmptyVolumeCache_AddRef(This)
  275.     (This)->lpVtbl -> AddRef(This)
  276. #define IEmptyVolumeCache_Release(This)
  277.     (This)->lpVtbl -> Release(This)
  278. #define IEmptyVolumeCache_Initialize(This,hkRegKey,pcwszVolume,ppwszDisplayName,ppwszDescription,pdwFlags)
  279.     (This)->lpVtbl -> Initialize(This,hkRegKey,pcwszVolume,ppwszDisplayName,ppwszDescription,pdwFlags)
  280. #define IEmptyVolumeCache_GetSpaceUsed(This,pdwlSpaceUsed,picb)
  281.     (This)->lpVtbl -> GetSpaceUsed(This,pdwlSpaceUsed,picb)
  282. #define IEmptyVolumeCache_Purge(This,dwlSpaceToFree,picb)
  283.     (This)->lpVtbl -> Purge(This,dwlSpaceToFree,picb)
  284. #define IEmptyVolumeCache_ShowProperties(This,hwnd)
  285.     (This)->lpVtbl -> ShowProperties(This,hwnd)
  286. #define IEmptyVolumeCache_Deactivate(This,pdwFlags)
  287.     (This)->lpVtbl -> Deactivate(This,pdwFlags)
  288. #endif /* COBJMACROS */
  289. #endif  /* C style interface */
  290. /* [local] */ HRESULT STDMETHODCALLTYPE IEmptyVolumeCache_Initialize_Proxy( 
  291.     IEmptyVolumeCache * This,
  292.     /* [in] */ HKEY hkRegKey,
  293.     /* [in] */ LPCWSTR pcwszVolume,
  294.     /* [out] */ LPWSTR *ppwszDisplayName,
  295.     /* [out] */ LPWSTR *ppwszDescription,
  296.     /* [out] */ DWORD *pdwFlags);
  297. void __RPC_STUB IEmptyVolumeCache_Initialize_Stub(
  298.     IRpcStubBuffer *This,
  299.     IRpcChannelBuffer *_pRpcChannelBuffer,
  300.     PRPC_MESSAGE _pRpcMessage,
  301.     DWORD *_pdwStubPhase);
  302. HRESULT STDMETHODCALLTYPE IEmptyVolumeCache_GetSpaceUsed_Proxy( 
  303.     IEmptyVolumeCache * This,
  304.     /* [out] */ DWORDLONG *pdwlSpaceUsed,
  305.     /* [in] */ IEmptyVolumeCacheCallBack *picb);
  306. void __RPC_STUB IEmptyVolumeCache_GetSpaceUsed_Stub(
  307.     IRpcStubBuffer *This,
  308.     IRpcChannelBuffer *_pRpcChannelBuffer,
  309.     PRPC_MESSAGE _pRpcMessage,
  310.     DWORD *_pdwStubPhase);
  311. HRESULT STDMETHODCALLTYPE IEmptyVolumeCache_Purge_Proxy( 
  312.     IEmptyVolumeCache * This,
  313.     /* [in] */ DWORDLONG dwlSpaceToFree,
  314.     /* [in] */ IEmptyVolumeCacheCallBack *picb);
  315. void __RPC_STUB IEmptyVolumeCache_Purge_Stub(
  316.     IRpcStubBuffer *This,
  317.     IRpcChannelBuffer *_pRpcChannelBuffer,
  318.     PRPC_MESSAGE _pRpcMessage,
  319.     DWORD *_pdwStubPhase);
  320. HRESULT STDMETHODCALLTYPE IEmptyVolumeCache_ShowProperties_Proxy( 
  321.     IEmptyVolumeCache * This,
  322.     /* [in] */ HWND hwnd);
  323. void __RPC_STUB IEmptyVolumeCache_ShowProperties_Stub(
  324.     IRpcStubBuffer *This,
  325.     IRpcChannelBuffer *_pRpcChannelBuffer,
  326.     PRPC_MESSAGE _pRpcMessage,
  327.     DWORD *_pdwStubPhase);
  328. HRESULT STDMETHODCALLTYPE IEmptyVolumeCache_Deactivate_Proxy( 
  329.     IEmptyVolumeCache * This,
  330.     /* [out] */ DWORD *pdwFlags);
  331. void __RPC_STUB IEmptyVolumeCache_Deactivate_Stub(
  332.     IRpcStubBuffer *This,
  333.     IRpcChannelBuffer *_pRpcChannelBuffer,
  334.     PRPC_MESSAGE _pRpcMessage,
  335.     DWORD *_pdwStubPhase);
  336. #endif  /* __IEmptyVolumeCache_INTERFACE_DEFINED__ */
  337. /* interface __MIDL_itf_emptyvc_0137 */
  338. /* [local] */ 
  339. #endif
  340. #ifndef _LPEMPTYVOLUMECACHE2_DEFINED
  341. #define _LPEMPTYVOLUMECACHE2_DEFINED
  342. extern RPC_IF_HANDLE __MIDL_itf_emptyvc_0137_v0_0_c_ifspec;
  343. extern RPC_IF_HANDLE __MIDL_itf_emptyvc_0137_v0_0_s_ifspec;
  344. #ifndef __IEmptyVolumeCache2_INTERFACE_DEFINED__
  345. #define __IEmptyVolumeCache2_INTERFACE_DEFINED__
  346. /* interface IEmptyVolumeCache2 */
  347. /* [unique][uuid][object] */ 
  348. typedef /* [unique] */ IEmptyVolumeCache2 *LPEMPTYVOLUMECACHE2;
  349. EXTERN_C const IID IID_IEmptyVolumeCache2;
  350. #if defined(__cplusplus) && !defined(CINTERFACE)
  351.     
  352.     MIDL_INTERFACE("02b7e3ba-4db3-11d2-b2d9-00c04f8eec8c")
  353.     IEmptyVolumeCache2 : public IEmptyVolumeCache
  354.     {
  355.     public:
  356.         virtual /* [local] */ HRESULT STDMETHODCALLTYPE InitializeEx( 
  357.             /* [in] */ HKEY hkRegKey,
  358.             /* [in] */ LPCWSTR pcwszVolume,
  359.             /* [in] */ LPCWSTR pcwszKeyName,
  360.             /* [out] */ LPWSTR *ppwszDisplayName,
  361.             /* [out] */ LPWSTR *ppwszDescription,
  362.             /* [out] */ LPWSTR *ppwszBtnText,
  363.             /* [out] */ DWORD *pdwFlags) = 0;
  364.         
  365.     };
  366.     
  367. #else  /* C style interface */
  368.     typedef struct IEmptyVolumeCache2Vtbl
  369.     {
  370.         BEGIN_INTERFACE
  371.         
  372.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  373.             IEmptyVolumeCache2 * This,
  374.             /* [in] */ REFIID riid,
  375.             /* [iid_is][out] */ void **ppvObject);
  376.         
  377.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  378.             IEmptyVolumeCache2 * This);
  379.         
  380.         ULONG ( STDMETHODCALLTYPE *Release )( 
  381.             IEmptyVolumeCache2 * This);
  382.         
  383.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Initialize )( 
  384.             IEmptyVolumeCache2 * This,
  385.             /* [in] */ HKEY hkRegKey,
  386.             /* [in] */ LPCWSTR pcwszVolume,
  387.             /* [out] */ LPWSTR *ppwszDisplayName,
  388.             /* [out] */ LPWSTR *ppwszDescription,
  389.             /* [out] */ DWORD *pdwFlags);
  390.         
  391.         HRESULT ( STDMETHODCALLTYPE *GetSpaceUsed )( 
  392.             IEmptyVolumeCache2 * This,
  393.             /* [out] */ DWORDLONG *pdwlSpaceUsed,
  394.             /* [in] */ IEmptyVolumeCacheCallBack *picb);
  395.         
  396.         HRESULT ( STDMETHODCALLTYPE *Purge )( 
  397.             IEmptyVolumeCache2 * This,
  398.             /* [in] */ DWORDLONG dwlSpaceToFree,
  399.             /* [in] */ IEmptyVolumeCacheCallBack *picb);
  400.         
  401.         HRESULT ( STDMETHODCALLTYPE *ShowProperties )( 
  402.             IEmptyVolumeCache2 * This,
  403.             /* [in] */ HWND hwnd);
  404.         
  405.         HRESULT ( STDMETHODCALLTYPE *Deactivate )( 
  406.             IEmptyVolumeCache2 * This,
  407.             /* [out] */ DWORD *pdwFlags);
  408.         
  409.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *InitializeEx )( 
  410.             IEmptyVolumeCache2 * This,
  411.             /* [in] */ HKEY hkRegKey,
  412.             /* [in] */ LPCWSTR pcwszVolume,
  413.             /* [in] */ LPCWSTR pcwszKeyName,
  414.             /* [out] */ LPWSTR *ppwszDisplayName,
  415.             /* [out] */ LPWSTR *ppwszDescription,
  416.             /* [out] */ LPWSTR *ppwszBtnText,
  417.             /* [out] */ DWORD *pdwFlags);
  418.         
  419.         END_INTERFACE
  420.     } IEmptyVolumeCache2Vtbl;
  421.     interface IEmptyVolumeCache2
  422.     {
  423.         CONST_VTBL struct IEmptyVolumeCache2Vtbl *lpVtbl;
  424.     };
  425.     
  426. #ifdef COBJMACROS
  427. #define IEmptyVolumeCache2_QueryInterface(This,riid,ppvObject)
  428.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  429. #define IEmptyVolumeCache2_AddRef(This)
  430.     (This)->lpVtbl -> AddRef(This)
  431. #define IEmptyVolumeCache2_Release(This)
  432.     (This)->lpVtbl -> Release(This)
  433. #define IEmptyVolumeCache2_Initialize(This,hkRegKey,pcwszVolume,ppwszDisplayName,ppwszDescription,pdwFlags)
  434.     (This)->lpVtbl -> Initialize(This,hkRegKey,pcwszVolume,ppwszDisplayName,ppwszDescription,pdwFlags)
  435. #define IEmptyVolumeCache2_GetSpaceUsed(This,pdwlSpaceUsed,picb)
  436.     (This)->lpVtbl -> GetSpaceUsed(This,pdwlSpaceUsed,picb)
  437. #define IEmptyVolumeCache2_Purge(This,dwlSpaceToFree,picb)
  438.     (This)->lpVtbl -> Purge(This,dwlSpaceToFree,picb)
  439. #define IEmptyVolumeCache2_ShowProperties(This,hwnd)
  440.     (This)->lpVtbl -> ShowProperties(This,hwnd)
  441. #define IEmptyVolumeCache2_Deactivate(This,pdwFlags)
  442.     (This)->lpVtbl -> Deactivate(This,pdwFlags)
  443. #define IEmptyVolumeCache2_InitializeEx(This,hkRegKey,pcwszVolume,pcwszKeyName,ppwszDisplayName,ppwszDescription,ppwszBtnText,pdwFlags)
  444.     (This)->lpVtbl -> InitializeEx(This,hkRegKey,pcwszVolume,pcwszKeyName,ppwszDisplayName,ppwszDescription,ppwszBtnText,pdwFlags)
  445. #endif /* COBJMACROS */
  446. #endif  /* C style interface */
  447. /* [local] */ HRESULT STDMETHODCALLTYPE IEmptyVolumeCache2_InitializeEx_Proxy( 
  448.     IEmptyVolumeCache2 * This,
  449.     /* [in] */ HKEY hkRegKey,
  450.     /* [in] */ LPCWSTR pcwszVolume,
  451.     /* [in] */ LPCWSTR pcwszKeyName,
  452.     /* [out] */ LPWSTR *ppwszDisplayName,
  453.     /* [out] */ LPWSTR *ppwszDescription,
  454.     /* [out] */ LPWSTR *ppwszBtnText,
  455.     /* [out] */ DWORD *pdwFlags);
  456. void __RPC_STUB IEmptyVolumeCache2_InitializeEx_Stub(
  457.     IRpcStubBuffer *This,
  458.     IRpcChannelBuffer *_pRpcChannelBuffer,
  459.     PRPC_MESSAGE _pRpcMessage,
  460.     DWORD *_pdwStubPhase);
  461. #endif  /* __IEmptyVolumeCache2_INTERFACE_DEFINED__ */
  462. /* interface __MIDL_itf_emptyvc_0138 */
  463. /* [local] */ 
  464. #endif
  465. extern RPC_IF_HANDLE __MIDL_itf_emptyvc_0138_v0_0_c_ifspec;
  466. extern RPC_IF_HANDLE __MIDL_itf_emptyvc_0138_v0_0_s_ifspec;
  467. /* Additional Prototypes for ALL interfaces */
  468. unsigned long             __RPC_USER  HWND_UserSize(     unsigned long *, unsigned long            , HWND * ); 
  469. unsigned char * __RPC_USER  HWND_UserMarshal(  unsigned long *, unsigned char *, HWND * ); 
  470. unsigned char * __RPC_USER  HWND_UserUnmarshal(unsigned long *, unsigned char *, HWND * ); 
  471. void                      __RPC_USER  HWND_UserFree(     unsigned long *, HWND * ); 
  472. /* end of Additional Prototypes */
  473. #ifdef __cplusplus
  474. }
  475. #endif
  476. #endif