mirror of https://github.com/UMSKT/xpmgr.git
406 lines
14 KiB
C++
406 lines
14 KiB
C++
|
|
|
|
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
|
|
|
|
|
|
/* File created by MIDL compiler version 7.00.0555 */
|
|
/* Compiler settings for wsbapp.idl:
|
|
Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 7.00.0555
|
|
protocol : dce , ms_ext, c_ext, robust
|
|
error checks: allocation ref bounds_check enum stub_data
|
|
VC __declspec() decoration level:
|
|
__declspec(uuid()), __declspec(selectany), __declspec(novtable)
|
|
DECLSPEC_UUID(), MIDL_INTERFACE()
|
|
*/
|
|
/* @@MIDL_FILE_HEADING( ) */
|
|
|
|
#pragma warning( disable: 4049 ) /* more than 64k source lines */
|
|
|
|
|
|
/* verify that the <rpcndr.h> version is high enough to compile this file*/
|
|
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
|
#define __REQUIRED_RPCNDR_H_VERSION__ 475
|
|
#endif
|
|
|
|
/* verify that the <rpcsal.h> version is high enough to compile this file*/
|
|
#ifndef __REQUIRED_RPCSAL_H_VERSION__
|
|
#define __REQUIRED_RPCSAL_H_VERSION__ 100
|
|
#endif
|
|
|
|
#include "rpc.h"
|
|
#include "rpcndr.h"
|
|
|
|
#ifndef __RPCNDR_H_VERSION__
|
|
#error this stub requires an updated version of <rpcndr.h>
|
|
#endif // __RPCNDR_H_VERSION__
|
|
|
|
#ifndef COM_NO_WINDOWS_H
|
|
#include "windows.h"
|
|
#include "ole2.h"
|
|
#endif /*COM_NO_WINDOWS_H*/
|
|
|
|
#ifndef __wsbapp_h__
|
|
#define __wsbapp_h__
|
|
|
|
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
|
|
#pragma once
|
|
#endif
|
|
|
|
/* Forward Declarations */
|
|
|
|
#ifndef __IWsbApplicationBackupSupport_FWD_DEFINED__
|
|
#define __IWsbApplicationBackupSupport_FWD_DEFINED__
|
|
typedef interface IWsbApplicationBackupSupport IWsbApplicationBackupSupport;
|
|
#endif /* __IWsbApplicationBackupSupport_FWD_DEFINED__ */
|
|
|
|
|
|
#ifndef __IWsbApplicationRestoreSupport_FWD_DEFINED__
|
|
#define __IWsbApplicationRestoreSupport_FWD_DEFINED__
|
|
typedef interface IWsbApplicationRestoreSupport IWsbApplicationRestoreSupport;
|
|
#endif /* __IWsbApplicationRestoreSupport_FWD_DEFINED__ */
|
|
|
|
|
|
#ifndef __IWsbApplicationAsync_FWD_DEFINED__
|
|
#define __IWsbApplicationAsync_FWD_DEFINED__
|
|
typedef interface IWsbApplicationAsync IWsbApplicationAsync;
|
|
#endif /* __IWsbApplicationAsync_FWD_DEFINED__ */
|
|
|
|
|
|
/* header files for imported files */
|
|
#include "oaidl.h"
|
|
#include "ocidl.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"{
|
|
#endif
|
|
|
|
|
|
/* interface __MIDL_itf_wsbapp_0000_0000 */
|
|
/* [local] */
|
|
|
|
|
|
|
|
|
|
extern RPC_IF_HANDLE __MIDL_itf_wsbapp_0000_0000_v0_0_c_ifspec;
|
|
extern RPC_IF_HANDLE __MIDL_itf_wsbapp_0000_0000_v0_0_s_ifspec;
|
|
|
|
#ifndef __IWsbApplicationBackupSupport_INTERFACE_DEFINED__
|
|
#define __IWsbApplicationBackupSupport_INTERFACE_DEFINED__
|
|
|
|
/* interface IWsbApplicationBackupSupport */
|
|
/* [unique][helpstring][uuid][object] */
|
|
|
|
|
|
EXTERN_C const IID IID_IWsbApplicationBackupSupport;
|
|
|
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
|
|
|
MIDL_INTERFACE("1EFF3510-4A27-46ad-B9E0-08332F0F4F6D")
|
|
IWsbApplicationBackupSupport : public IUnknown
|
|
{
|
|
public:
|
|
virtual HRESULT STDMETHODCALLTYPE CheckConsistency(
|
|
/* [string][unique][in] */ __RPC__in_opt_string LPWSTR wszWriterMetadata,
|
|
/* [string][unique][in] */ __RPC__in_opt_string LPWSTR wszComponentName,
|
|
/* [string][unique][in] */ __RPC__in_opt_string LPWSTR wszComponentLogicalPath,
|
|
/* [in][range] */ __RPC__in_range(0,1000) DWORD cVolumes,
|
|
/* [size_is][string][unique][in] */ __RPC__in_ecount_full_opt(cVolumes) LPWSTR *rgwszSourceVolumePath,
|
|
/* [size_is][string][unique][in] */ __RPC__in_ecount_full_opt(cVolumes) LPWSTR *rgwszSnapshotVolumePath,
|
|
/* [out] */ __RPC__deref_out_opt IWsbApplicationAsync **ppAsync) = 0;
|
|
|
|
};
|
|
|
|
#else /* C style interface */
|
|
|
|
typedef struct IWsbApplicationBackupSupportVtbl
|
|
{
|
|
BEGIN_INTERFACE
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
|
__RPC__in IWsbApplicationBackupSupport * This,
|
|
/* [in] */ __RPC__in REFIID riid,
|
|
/* [annotation][iid_is][out] */
|
|
__RPC__deref_out void **ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
|
__RPC__in IWsbApplicationBackupSupport * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
|
__RPC__in IWsbApplicationBackupSupport * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *CheckConsistency )(
|
|
__RPC__in IWsbApplicationBackupSupport * This,
|
|
/* [string][unique][in] */ __RPC__in_opt_string LPWSTR wszWriterMetadata,
|
|
/* [string][unique][in] */ __RPC__in_opt_string LPWSTR wszComponentName,
|
|
/* [string][unique][in] */ __RPC__in_opt_string LPWSTR wszComponentLogicalPath,
|
|
/* [in][range] */ __RPC__in_range(0,1000) DWORD cVolumes,
|
|
/* [size_is][string][unique][in] */ __RPC__in_ecount_full_opt(cVolumes) LPWSTR *rgwszSourceVolumePath,
|
|
/* [size_is][string][unique][in] */ __RPC__in_ecount_full_opt(cVolumes) LPWSTR *rgwszSnapshotVolumePath,
|
|
/* [out] */ __RPC__deref_out_opt IWsbApplicationAsync **ppAsync);
|
|
|
|
END_INTERFACE
|
|
} IWsbApplicationBackupSupportVtbl;
|
|
|
|
interface IWsbApplicationBackupSupport
|
|
{
|
|
CONST_VTBL struct IWsbApplicationBackupSupportVtbl *lpVtbl;
|
|
};
|
|
|
|
|
|
|
|
#ifdef COBJMACROS
|
|
|
|
|
|
#define IWsbApplicationBackupSupport_QueryInterface(This,riid,ppvObject) \
|
|
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
|
|
|
|
#define IWsbApplicationBackupSupport_AddRef(This) \
|
|
( (This)->lpVtbl -> AddRef(This) )
|
|
|
|
#define IWsbApplicationBackupSupport_Release(This) \
|
|
( (This)->lpVtbl -> Release(This) )
|
|
|
|
|
|
#define IWsbApplicationBackupSupport_CheckConsistency(This,wszWriterMetadata,wszComponentName,wszComponentLogicalPath,cVolumes,rgwszSourceVolumePath,rgwszSnapshotVolumePath,ppAsync) \
|
|
( (This)->lpVtbl -> CheckConsistency(This,wszWriterMetadata,wszComponentName,wszComponentLogicalPath,cVolumes,rgwszSourceVolumePath,rgwszSnapshotVolumePath,ppAsync) )
|
|
|
|
#endif /* COBJMACROS */
|
|
|
|
|
|
#endif /* C style interface */
|
|
|
|
|
|
|
|
|
|
#endif /* __IWsbApplicationBackupSupport_INTERFACE_DEFINED__ */
|
|
|
|
|
|
#ifndef __IWsbApplicationRestoreSupport_INTERFACE_DEFINED__
|
|
#define __IWsbApplicationRestoreSupport_INTERFACE_DEFINED__
|
|
|
|
/* interface IWsbApplicationRestoreSupport */
|
|
/* [unique][helpstring][uuid][object] */
|
|
|
|
|
|
EXTERN_C const IID IID_IWsbApplicationRestoreSupport;
|
|
|
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
|
|
|
MIDL_INTERFACE("8D3BDB38-4EE8-4718-85F9-C7DBC4AB77AA")
|
|
IWsbApplicationRestoreSupport : public IUnknown
|
|
{
|
|
public:
|
|
virtual HRESULT STDMETHODCALLTYPE PreRestore(
|
|
/* [string][unique][in] */ __RPC__in_opt_string LPWSTR wszWriterMetadata,
|
|
/* [string][unique][in] */ __RPC__in_opt_string LPWSTR wszComponentName,
|
|
/* [string][unique][in] */ __RPC__in_opt_string LPWSTR wszComponentLogicalPath,
|
|
/* [in] */ BOOLEAN bNoRollForward) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE PostRestore(
|
|
/* [string][unique][in] */ __RPC__in_opt_string LPWSTR wszWriterMetadata,
|
|
/* [string][unique][in] */ __RPC__in_opt_string LPWSTR wszComponentName,
|
|
/* [string][unique][in] */ __RPC__in_opt_string LPWSTR wszComponentLogicalPath,
|
|
/* [in] */ BOOLEAN bNoRollForward) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE OrderComponents(
|
|
/* [in][range] */ __RPC__in_range(0,10000) DWORD cComponents,
|
|
/* [size_is][string][in] */ __RPC__in_ecount_full(cComponents) LPWSTR *rgComponentName,
|
|
/* [size_is][string][in] */ __RPC__in_ecount_full(cComponents) LPWSTR *rgComponentLogicalPaths,
|
|
/* [size_is][size_is][string][out] */ __RPC__deref_out_ecount_full_opt_string(cComponents) LPWSTR **prgComponentName,
|
|
/* [size_is][size_is][string][out] */ __RPC__deref_out_ecount_full_opt_string(cComponents) LPWSTR **prgComponentLogicalPath) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE IsRollForwardSupported(
|
|
/* [out] */ __RPC__out BOOLEAN *pbRollForwardSupported) = 0;
|
|
|
|
};
|
|
|
|
#else /* C style interface */
|
|
|
|
typedef struct IWsbApplicationRestoreSupportVtbl
|
|
{
|
|
BEGIN_INTERFACE
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
|
__RPC__in IWsbApplicationRestoreSupport * This,
|
|
/* [in] */ __RPC__in REFIID riid,
|
|
/* [annotation][iid_is][out] */
|
|
__RPC__deref_out void **ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
|
__RPC__in IWsbApplicationRestoreSupport * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
|
__RPC__in IWsbApplicationRestoreSupport * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *PreRestore )(
|
|
__RPC__in IWsbApplicationRestoreSupport * This,
|
|
/* [string][unique][in] */ __RPC__in_opt_string LPWSTR wszWriterMetadata,
|
|
/* [string][unique][in] */ __RPC__in_opt_string LPWSTR wszComponentName,
|
|
/* [string][unique][in] */ __RPC__in_opt_string LPWSTR wszComponentLogicalPath,
|
|
/* [in] */ BOOLEAN bNoRollForward);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *PostRestore )(
|
|
__RPC__in IWsbApplicationRestoreSupport * This,
|
|
/* [string][unique][in] */ __RPC__in_opt_string LPWSTR wszWriterMetadata,
|
|
/* [string][unique][in] */ __RPC__in_opt_string LPWSTR wszComponentName,
|
|
/* [string][unique][in] */ __RPC__in_opt_string LPWSTR wszComponentLogicalPath,
|
|
/* [in] */ BOOLEAN bNoRollForward);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *OrderComponents )(
|
|
__RPC__in IWsbApplicationRestoreSupport * This,
|
|
/* [in][range] */ __RPC__in_range(0,10000) DWORD cComponents,
|
|
/* [size_is][string][in] */ __RPC__in_ecount_full(cComponents) LPWSTR *rgComponentName,
|
|
/* [size_is][string][in] */ __RPC__in_ecount_full(cComponents) LPWSTR *rgComponentLogicalPaths,
|
|
/* [size_is][size_is][string][out] */ __RPC__deref_out_ecount_full_opt_string(cComponents) LPWSTR **prgComponentName,
|
|
/* [size_is][size_is][string][out] */ __RPC__deref_out_ecount_full_opt_string(cComponents) LPWSTR **prgComponentLogicalPath);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *IsRollForwardSupported )(
|
|
__RPC__in IWsbApplicationRestoreSupport * This,
|
|
/* [out] */ __RPC__out BOOLEAN *pbRollForwardSupported);
|
|
|
|
END_INTERFACE
|
|
} IWsbApplicationRestoreSupportVtbl;
|
|
|
|
interface IWsbApplicationRestoreSupport
|
|
{
|
|
CONST_VTBL struct IWsbApplicationRestoreSupportVtbl *lpVtbl;
|
|
};
|
|
|
|
|
|
|
|
#ifdef COBJMACROS
|
|
|
|
|
|
#define IWsbApplicationRestoreSupport_QueryInterface(This,riid,ppvObject) \
|
|
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
|
|
|
|
#define IWsbApplicationRestoreSupport_AddRef(This) \
|
|
( (This)->lpVtbl -> AddRef(This) )
|
|
|
|
#define IWsbApplicationRestoreSupport_Release(This) \
|
|
( (This)->lpVtbl -> Release(This) )
|
|
|
|
|
|
#define IWsbApplicationRestoreSupport_PreRestore(This,wszWriterMetadata,wszComponentName,wszComponentLogicalPath,bNoRollForward) \
|
|
( (This)->lpVtbl -> PreRestore(This,wszWriterMetadata,wszComponentName,wszComponentLogicalPath,bNoRollForward) )
|
|
|
|
#define IWsbApplicationRestoreSupport_PostRestore(This,wszWriterMetadata,wszComponentName,wszComponentLogicalPath,bNoRollForward) \
|
|
( (This)->lpVtbl -> PostRestore(This,wszWriterMetadata,wszComponentName,wszComponentLogicalPath,bNoRollForward) )
|
|
|
|
#define IWsbApplicationRestoreSupport_OrderComponents(This,cComponents,rgComponentName,rgComponentLogicalPaths,prgComponentName,prgComponentLogicalPath) \
|
|
( (This)->lpVtbl -> OrderComponents(This,cComponents,rgComponentName,rgComponentLogicalPaths,prgComponentName,prgComponentLogicalPath) )
|
|
|
|
#define IWsbApplicationRestoreSupport_IsRollForwardSupported(This,pbRollForwardSupported) \
|
|
( (This)->lpVtbl -> IsRollForwardSupported(This,pbRollForwardSupported) )
|
|
|
|
#endif /* COBJMACROS */
|
|
|
|
|
|
#endif /* C style interface */
|
|
|
|
|
|
|
|
|
|
#endif /* __IWsbApplicationRestoreSupport_INTERFACE_DEFINED__ */
|
|
|
|
|
|
#ifndef __IWsbApplicationAsync_INTERFACE_DEFINED__
|
|
#define __IWsbApplicationAsync_INTERFACE_DEFINED__
|
|
|
|
/* interface IWsbApplicationAsync */
|
|
/* [unique][helpstring][uuid][object] */
|
|
|
|
|
|
EXTERN_C const IID IID_IWsbApplicationAsync;
|
|
|
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
|
|
|
MIDL_INTERFACE("0843F6F7-895C-44a6-B0C2-05A5022AA3A1")
|
|
IWsbApplicationAsync : public IUnknown
|
|
{
|
|
public:
|
|
virtual HRESULT STDMETHODCALLTYPE QueryStatus(
|
|
/* [out] */ __RPC__out HRESULT *phrResult) = 0;
|
|
|
|
virtual HRESULT STDMETHODCALLTYPE Abort( void) = 0;
|
|
|
|
};
|
|
|
|
#else /* C style interface */
|
|
|
|
typedef struct IWsbApplicationAsyncVtbl
|
|
{
|
|
BEGIN_INTERFACE
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
|
__RPC__in IWsbApplicationAsync * This,
|
|
/* [in] */ __RPC__in REFIID riid,
|
|
/* [annotation][iid_is][out] */
|
|
__RPC__deref_out void **ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
|
__RPC__in IWsbApplicationAsync * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
|
__RPC__in IWsbApplicationAsync * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *QueryStatus )(
|
|
__RPC__in IWsbApplicationAsync * This,
|
|
/* [out] */ __RPC__out HRESULT *phrResult);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *Abort )(
|
|
__RPC__in IWsbApplicationAsync * This);
|
|
|
|
END_INTERFACE
|
|
} IWsbApplicationAsyncVtbl;
|
|
|
|
interface IWsbApplicationAsync
|
|
{
|
|
CONST_VTBL struct IWsbApplicationAsyncVtbl *lpVtbl;
|
|
};
|
|
|
|
|
|
|
|
#ifdef COBJMACROS
|
|
|
|
|
|
#define IWsbApplicationAsync_QueryInterface(This,riid,ppvObject) \
|
|
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
|
|
|
|
#define IWsbApplicationAsync_AddRef(This) \
|
|
( (This)->lpVtbl -> AddRef(This) )
|
|
|
|
#define IWsbApplicationAsync_Release(This) \
|
|
( (This)->lpVtbl -> Release(This) )
|
|
|
|
|
|
#define IWsbApplicationAsync_QueryStatus(This,phrResult) \
|
|
( (This)->lpVtbl -> QueryStatus(This,phrResult) )
|
|
|
|
#define IWsbApplicationAsync_Abort(This) \
|
|
( (This)->lpVtbl -> Abort(This) )
|
|
|
|
#endif /* COBJMACROS */
|
|
|
|
|
|
#endif /* C style interface */
|
|
|
|
|
|
|
|
|
|
#endif /* __IWsbApplicationAsync_INTERFACE_DEFINED__ */
|
|
|
|
|
|
/* Additional Prototypes for ALL interfaces */
|
|
|
|
/* end of Additional Prototypes */
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|