source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/emptyvc.h@ 1172

Last change on this file since 1172 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 12.3 KB
Line 
1/**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the mingw-w64 runtime package.
4 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
5 */
6#ifndef __REQUIRED_RPCNDR_H_VERSION__
7#define __REQUIRED_RPCNDR_H_VERSION__ 475
8#endif
9
10#include "rpc.h"
11#include "rpcndr.h"
12
13#ifndef __RPCNDR_H_VERSION__
14#error this stub requires an updated version of <rpcndr.h>
15#endif
16
17#ifndef COM_NO_WINDOWS_H
18#include "windows.h"
19#include "ole2.h"
20#endif
21
22#ifndef __emptyvc_h__
23#define __emptyvc_h__
24
25#ifndef __IEmptyVolumeCacheCallBack_FWD_DEFINED__
26#define __IEmptyVolumeCacheCallBack_FWD_DEFINED__
27typedef struct IEmptyVolumeCacheCallBack IEmptyVolumeCacheCallBack;
28#endif
29
30#ifndef __IEmptyVolumeCache_FWD_DEFINED__
31#define __IEmptyVolumeCache_FWD_DEFINED__
32typedef struct IEmptyVolumeCache IEmptyVolumeCache;
33#endif
34
35#ifndef __IEmptyVolumeCache2_FWD_DEFINED__
36#define __IEmptyVolumeCache2_FWD_DEFINED__
37typedef struct IEmptyVolumeCache2 IEmptyVolumeCache2;
38#endif
39
40#include "objidl.h"
41#include "oleidl.h"
42#include "oaidl.h"
43
44#ifdef __cplusplus
45extern "C"{
46#endif
47
48#ifndef __MIDL_user_allocate_free_DEFINED__
49#define __MIDL_user_allocate_free_DEFINED__
50 void *__RPC_API MIDL_user_allocate(size_t);
51 void __RPC_API MIDL_user_free(void *);
52#endif
53
54#define EVCF_HASSETTINGS 0x0001
55#define EVCF_ENABLEBYDEFAULT 0x0002
56#define EVCF_REMOVEFROMLIST 0x0004
57#define EVCF_ENABLEBYDEFAULT_AUTO 0x0008
58#define EVCF_DONTSHOWIFZERO 0x0010
59#define EVCF_SETTINGSMODE 0x0020
60#define EVCF_OUTOFDISKSPACE 0x0040
61
62#define EVCCBF_LASTNOTIFICATION 0x0001
63
64#ifndef _LPEMPTYVOLUMECACHECALLBACK_DEFINED
65#define _LPEMPTYVOLUMECACHECALLBACK_DEFINED
66
67 extern RPC_IF_HANDLE __MIDL_itf_emptyvc_0000_v0_0_c_ifspec;
68 extern RPC_IF_HANDLE __MIDL_itf_emptyvc_0000_v0_0_s_ifspec;
69
70#ifndef __IEmptyVolumeCacheCallBack_INTERFACE_DEFINED__
71#define __IEmptyVolumeCacheCallBack_INTERFACE_DEFINED__
72 typedef IEmptyVolumeCacheCallBack *LPEMPTYVOLUMECACHECALLBACK;
73 EXTERN_C const IID IID_IEmptyVolumeCacheCallBack;
74#if defined(__cplusplus) && !defined(CINTERFACE)
75 struct IEmptyVolumeCacheCallBack : public IUnknown {
76 public:
77 virtual HRESULT WINAPI ScanProgress(DWORDLONG dwlSpaceUsed,DWORD dwFlags,LPCWSTR pcwszStatus) = 0;
78 virtual HRESULT WINAPI PurgeProgress(DWORDLONG dwlSpaceFreed,DWORDLONG dwlSpaceToFree,DWORD dwFlags,LPCWSTR pcwszStatus) = 0;
79 };
80#else
81 typedef struct IEmptyVolumeCacheCallBackVtbl {
82 BEGIN_INTERFACE
83 HRESULT (WINAPI *QueryInterface)(IEmptyVolumeCacheCallBack *This,REFIID riid,void **ppvObject);
84 ULONG (WINAPI *AddRef)(IEmptyVolumeCacheCallBack *This);
85 ULONG (WINAPI *Release)(IEmptyVolumeCacheCallBack *This);
86 HRESULT (WINAPI *ScanProgress)(IEmptyVolumeCacheCallBack *This,DWORDLONG dwlSpaceUsed,DWORD dwFlags,LPCWSTR pcwszStatus);
87 HRESULT (WINAPI *PurgeProgress)(IEmptyVolumeCacheCallBack *This,DWORDLONG dwlSpaceFreed,DWORDLONG dwlSpaceToFree,DWORD dwFlags,LPCWSTR pcwszStatus);
88 END_INTERFACE
89 } IEmptyVolumeCacheCallBackVtbl;
90 struct IEmptyVolumeCacheCallBack {
91 CONST_VTBL struct IEmptyVolumeCacheCallBackVtbl *lpVtbl;
92 };
93#ifdef COBJMACROS
94#define IEmptyVolumeCacheCallBack_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
95#define IEmptyVolumeCacheCallBack_AddRef(This) (This)->lpVtbl->AddRef(This)
96#define IEmptyVolumeCacheCallBack_Release(This) (This)->lpVtbl->Release(This)
97#define IEmptyVolumeCacheCallBack_ScanProgress(This,dwlSpaceUsed,dwFlags,pcwszStatus) (This)->lpVtbl->ScanProgress(This,dwlSpaceUsed,dwFlags,pcwszStatus)
98#define IEmptyVolumeCacheCallBack_PurgeProgress(This,dwlSpaceFreed,dwlSpaceToFree,dwFlags,pcwszStatus) (This)->lpVtbl->PurgeProgress(This,dwlSpaceFreed,dwlSpaceToFree,dwFlags,pcwszStatus)
99#endif
100#endif
101 HRESULT WINAPI IEmptyVolumeCacheCallBack_ScanProgress_Proxy(IEmptyVolumeCacheCallBack *This,DWORDLONG dwlSpaceUsed,DWORD dwFlags,LPCWSTR pcwszStatus);
102 void __RPC_STUB IEmptyVolumeCacheCallBack_ScanProgress_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
103 HRESULT WINAPI IEmptyVolumeCacheCallBack_PurgeProgress_Proxy(IEmptyVolumeCacheCallBack *This,DWORDLONG dwlSpaceFreed,DWORDLONG dwlSpaceToFree,DWORD dwFlags,LPCWSTR pcwszStatus);
104 void __RPC_STUB IEmptyVolumeCacheCallBack_PurgeProgress_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
105#endif
106#endif
107
108#ifndef _LPEMPTYVOLUMECACHE_DEFINED
109#define _LPEMPTYVOLUMECACHE_DEFINED
110 extern RPC_IF_HANDLE __MIDL_itf_emptyvc_0141_v0_0_c_ifspec;
111 extern RPC_IF_HANDLE __MIDL_itf_emptyvc_0141_v0_0_s_ifspec;
112#ifndef __IEmptyVolumeCache_INTERFACE_DEFINED__
113#define __IEmptyVolumeCache_INTERFACE_DEFINED__
114 typedef IEmptyVolumeCache *LPEMPTYVOLUMECACHE;
115 EXTERN_C const IID IID_IEmptyVolumeCache;
116#if defined(__cplusplus) && !defined(CINTERFACE)
117 struct IEmptyVolumeCache : public IUnknown {
118 public:
119 virtual HRESULT WINAPI Initialize(HKEY hkRegKey,LPCWSTR pcwszVolume,LPWSTR *ppwszDisplayName,LPWSTR *ppwszDescription,DWORD *pdwFlags) = 0;
120 virtual HRESULT WINAPI GetSpaceUsed(DWORDLONG *pdwlSpaceUsed,IEmptyVolumeCacheCallBack *picb) = 0;
121 virtual HRESULT WINAPI Purge(DWORDLONG dwlSpaceToFree,IEmptyVolumeCacheCallBack *picb) = 0;
122 virtual HRESULT WINAPI ShowProperties(HWND hwnd) = 0;
123 virtual HRESULT WINAPI Deactivate(DWORD *pdwFlags) = 0;
124 };
125#else
126 typedef struct IEmptyVolumeCacheVtbl {
127 BEGIN_INTERFACE
128 HRESULT (WINAPI *QueryInterface)(IEmptyVolumeCache *This,REFIID riid,void **ppvObject);
129 ULONG (WINAPI *AddRef)(IEmptyVolumeCache *This);
130 ULONG (WINAPI *Release)(IEmptyVolumeCache *This);
131 HRESULT (WINAPI *Initialize)(IEmptyVolumeCache *This,HKEY hkRegKey,LPCWSTR pcwszVolume,LPWSTR *ppwszDisplayName,LPWSTR *ppwszDescription,DWORD *pdwFlags);
132 HRESULT (WINAPI *GetSpaceUsed)(IEmptyVolumeCache *This,DWORDLONG *pdwlSpaceUsed,IEmptyVolumeCacheCallBack *picb);
133 HRESULT (WINAPI *Purge)(IEmptyVolumeCache *This,DWORDLONG dwlSpaceToFree,IEmptyVolumeCacheCallBack *picb);
134 HRESULT (WINAPI *ShowProperties)(IEmptyVolumeCache *This,HWND hwnd);
135 HRESULT (WINAPI *Deactivate)(IEmptyVolumeCache *This,DWORD *pdwFlags);
136 END_INTERFACE
137 } IEmptyVolumeCacheVtbl;
138 struct IEmptyVolumeCache {
139 CONST_VTBL struct IEmptyVolumeCacheVtbl *lpVtbl;
140 };
141#ifdef COBJMACROS
142#define IEmptyVolumeCache_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
143#define IEmptyVolumeCache_AddRef(This) (This)->lpVtbl->AddRef(This)
144#define IEmptyVolumeCache_Release(This) (This)->lpVtbl->Release(This)
145#define IEmptyVolumeCache_Initialize(This,hkRegKey,pcwszVolume,ppwszDisplayName,ppwszDescription,pdwFlags) (This)->lpVtbl->Initialize(This,hkRegKey,pcwszVolume,ppwszDisplayName,ppwszDescription,pdwFlags)
146#define IEmptyVolumeCache_GetSpaceUsed(This,pdwlSpaceUsed,picb) (This)->lpVtbl->GetSpaceUsed(This,pdwlSpaceUsed,picb)
147#define IEmptyVolumeCache_Purge(This,dwlSpaceToFree,picb) (This)->lpVtbl->Purge(This,dwlSpaceToFree,picb)
148#define IEmptyVolumeCache_ShowProperties(This,hwnd) (This)->lpVtbl->ShowProperties(This,hwnd)
149#define IEmptyVolumeCache_Deactivate(This,pdwFlags) (This)->lpVtbl->Deactivate(This,pdwFlags)
150#endif
151#endif
152 HRESULT WINAPI IEmptyVolumeCache_Initialize_Proxy(IEmptyVolumeCache *This,HKEY hkRegKey,LPCWSTR pcwszVolume,LPWSTR *ppwszDisplayName,LPWSTR *ppwszDescription,DWORD *pdwFlags);
153 void __RPC_STUB IEmptyVolumeCache_Initialize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
154 HRESULT WINAPI IEmptyVolumeCache_GetSpaceUsed_Proxy(IEmptyVolumeCache *This,DWORDLONG *pdwlSpaceUsed,IEmptyVolumeCacheCallBack *picb);
155 void __RPC_STUB IEmptyVolumeCache_GetSpaceUsed_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
156 HRESULT WINAPI IEmptyVolumeCache_Purge_Proxy(IEmptyVolumeCache *This,DWORDLONG dwlSpaceToFree,IEmptyVolumeCacheCallBack *picb);
157 void __RPC_STUB IEmptyVolumeCache_Purge_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
158 HRESULT WINAPI IEmptyVolumeCache_ShowProperties_Proxy(IEmptyVolumeCache *This,HWND hwnd);
159 void __RPC_STUB IEmptyVolumeCache_ShowProperties_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
160 HRESULT WINAPI IEmptyVolumeCache_Deactivate_Proxy(IEmptyVolumeCache *This,DWORD *pdwFlags);
161 void __RPC_STUB IEmptyVolumeCache_Deactivate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
162#endif
163#endif
164
165#ifndef _LPEMPTYVOLUMECACHE2_DEFINED
166#define _LPEMPTYVOLUMECACHE2_DEFINED
167 extern RPC_IF_HANDLE __MIDL_itf_emptyvc_0142_v0_0_c_ifspec;
168 extern RPC_IF_HANDLE __MIDL_itf_emptyvc_0142_v0_0_s_ifspec;
169#ifndef __IEmptyVolumeCache2_INTERFACE_DEFINED__
170#define __IEmptyVolumeCache2_INTERFACE_DEFINED__
171 typedef IEmptyVolumeCache2 *LPEMPTYVOLUMECACHE2;
172 EXTERN_C const IID IID_IEmptyVolumeCache2;
173#if defined(__cplusplus) && !defined(CINTERFACE)
174 struct IEmptyVolumeCache2 : public IEmptyVolumeCache {
175 public:
176 virtual HRESULT WINAPI InitializeEx(HKEY hkRegKey,LPCWSTR pcwszVolume,LPCWSTR pcwszKeyName,LPWSTR *ppwszDisplayName,LPWSTR *ppwszDescription,LPWSTR *ppwszBtnText,DWORD *pdwFlags) = 0;
177 };
178#else
179 typedef struct IEmptyVolumeCache2Vtbl {
180 BEGIN_INTERFACE
181 HRESULT (WINAPI *QueryInterface)(IEmptyVolumeCache2 *This,REFIID riid,void **ppvObject);
182 ULONG (WINAPI *AddRef)(IEmptyVolumeCache2 *This);
183 ULONG (WINAPI *Release)(IEmptyVolumeCache2 *This);
184 HRESULT (WINAPI *Initialize)(IEmptyVolumeCache2 *This,HKEY hkRegKey,LPCWSTR pcwszVolume,LPWSTR *ppwszDisplayName,LPWSTR *ppwszDescription,DWORD *pdwFlags);
185 HRESULT (WINAPI *GetSpaceUsed)(IEmptyVolumeCache2 *This,DWORDLONG *pdwlSpaceUsed,IEmptyVolumeCacheCallBack *picb);
186 HRESULT (WINAPI *Purge)(IEmptyVolumeCache2 *This,DWORDLONG dwlSpaceToFree,IEmptyVolumeCacheCallBack *picb);
187 HRESULT (WINAPI *ShowProperties)(IEmptyVolumeCache2 *This,HWND hwnd);
188 HRESULT (WINAPI *Deactivate)(IEmptyVolumeCache2 *This,DWORD *pdwFlags);
189 HRESULT (WINAPI *InitializeEx)(IEmptyVolumeCache2 *This,HKEY hkRegKey,LPCWSTR pcwszVolume,LPCWSTR pcwszKeyName,LPWSTR *ppwszDisplayName,LPWSTR *ppwszDescription,LPWSTR *ppwszBtnText,DWORD *pdwFlags);
190 END_INTERFACE
191 } IEmptyVolumeCache2Vtbl;
192 struct IEmptyVolumeCache2 {
193 CONST_VTBL struct IEmptyVolumeCache2Vtbl *lpVtbl;
194 };
195#ifdef COBJMACROS
196#define IEmptyVolumeCache2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
197#define IEmptyVolumeCache2_AddRef(This) (This)->lpVtbl->AddRef(This)
198#define IEmptyVolumeCache2_Release(This) (This)->lpVtbl->Release(This)
199#define IEmptyVolumeCache2_Initialize(This,hkRegKey,pcwszVolume,ppwszDisplayName,ppwszDescription,pdwFlags) (This)->lpVtbl->Initialize(This,hkRegKey,pcwszVolume,ppwszDisplayName,ppwszDescription,pdwFlags)
200#define IEmptyVolumeCache2_GetSpaceUsed(This,pdwlSpaceUsed,picb) (This)->lpVtbl->GetSpaceUsed(This,pdwlSpaceUsed,picb)
201#define IEmptyVolumeCache2_Purge(This,dwlSpaceToFree,picb) (This)->lpVtbl->Purge(This,dwlSpaceToFree,picb)
202#define IEmptyVolumeCache2_ShowProperties(This,hwnd) (This)->lpVtbl->ShowProperties(This,hwnd)
203#define IEmptyVolumeCache2_Deactivate(This,pdwFlags) (This)->lpVtbl->Deactivate(This,pdwFlags)
204#define IEmptyVolumeCache2_InitializeEx(This,hkRegKey,pcwszVolume,pcwszKeyName,ppwszDisplayName,ppwszDescription,ppwszBtnText,pdwFlags) (This)->lpVtbl->InitializeEx(This,hkRegKey,pcwszVolume,pcwszKeyName,ppwszDisplayName,ppwszDescription,ppwszBtnText,pdwFlags)
205#endif
206#endif
207 HRESULT WINAPI IEmptyVolumeCache2_InitializeEx_Proxy(IEmptyVolumeCache2 *This,HKEY hkRegKey,LPCWSTR pcwszVolume,LPCWSTR pcwszKeyName,LPWSTR *ppwszDisplayName,LPWSTR *ppwszDescription,LPWSTR *ppwszBtnText,DWORD *pdwFlags);
208 void __RPC_STUB IEmptyVolumeCache2_InitializeEx_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
209#endif
210#endif
211
212 extern RPC_IF_HANDLE __MIDL_itf_emptyvc_0143_v0_0_c_ifspec;
213 extern RPC_IF_HANDLE __MIDL_itf_emptyvc_0143_v0_0_s_ifspec;
214
215 ULONG __RPC_API HWND_UserSize(ULONG *,ULONG,HWND *);
216 unsigned char *__RPC_API HWND_UserMarshal(ULONG *,unsigned char *,HWND *);
217 unsigned char *__RPC_API HWND_UserUnmarshal(ULONG *,unsigned char *,HWND *);
218 void __RPC_API HWND_UserFree(ULONG *,HWND *);
219
220#ifdef __cplusplus
221}
222#endif
223#endif
Note: See TracBrowser for help on using the repository browser.