source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/vsadmin.h@ 1175

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

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

File size: 2.1 KB
RevLine 
[1166]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 _INC_VSADMIN
7#define _INC_VSADMIN
8
9#include <vss.h>
10#if (_WIN32_WINNT >= 0x600)
11#undef INTERFACE
12#define INTERFACE IVssAdmin
13#ifdef __GNUC__
14#warning COM interfaces layout in this header has not been verified.
15#warning COM interfaces with incorrect layout may not work at all.
16__MINGW_BROKEN_INTERFACE(INTERFACE)
17#endif
18DECLARE_INTERFACE_(IVssAdmin,IUnknown)
19{
20 BEGIN_INTERFACE
21
22 /* IUnknown methods */
23 STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE;
24 STDMETHOD_(ULONG, AddRef)(THIS) PURE;
25 STDMETHOD_(ULONG, Release)(THIS) PURE;
26
27 /* IVssAdmin methods */
28 STDMETHOD_(HRESULT,RegisterProvider)(THIS_ VSS_ID pProviderId,CLSID ClassId,VSS_PWSZ pwszProviderName,VSS_PROVIDER_TYPE eProviderType,VSS_PWSZ pwszProviderVersion,VSS_ID ProviderVersionId) PURE;
29 STDMETHOD_(HRESULT,UnregisterProvider)(THIS_ VSS_ID ProviderId) PURE;
30 STDMETHOD_(HRESULT,QueryProviders)(THIS_ IVssEnumObject **ppEnum) PURE;
31 STDMETHOD_(HRESULT,AbortAllSnapshotsInProgress)(THIS) PURE;
32
33 END_INTERFACE
34};
35#ifdef COBJMACROS
36#define IVssAdmin_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
37#define IVssAdmin_AddRef(This) (This)->lpVtbl->AddRef(This)
38#define IVssAdmin_Release(This) (This)->lpVtbl->Release(This)
39#define IVssAdmin_RegisterProvider(This,pProviderId,ClassId,pwszProviderName,eProviderType,pwszProviderVersion,ProviderVersionId) (This)->lpVtbl->RegisterProvider(This,pProviderId,ClassId,pwszProviderName,eProviderType,pwszProviderVersion,ProviderVersionId)
40#define IVssAdmin_UnregisterProvider(This,ProviderId) (This)->lpVtbl->UnregisterProvider(This,ProviderId)
41#define IVssAdmin_QueryProviders(This,ppEnum) (This)->lpVtbl->QueryProviders(This,ppEnum)
42#define IVssAdmin_AbortAllSnapshotsInProgress() (This)->lpVtbl->AbortAllSnapshotsInProgress(This)
43#endif /*COBJMACROS*/
44#endif /*(_WIN32_WINNT >= 0x600)*/
45#endif /*_INC_VSWRITER*/
Note: See TracBrowser for help on using the repository browser.