| 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_VSBACKUP | 
 
 
 
 
 
 | 7 | 
 #define _INC_VSBACKUP | 
 
 
 
 
 
 | 8 | 
  | 
 
 
 
 
 
 | 9 | 
 #include <vss.h> | 
 
 
 
 
 
 | 10 | 
 #include <vswriter.h> | 
 
 
 
 
 
 | 11 | 
  | 
 
 
 
 
 
 | 12 | 
 #ifdef __cplusplus | 
 
 
 
 
 
 | 13 | 
 extern "C" { | 
 
 
 
 
 
 | 14 | 
 #endif | 
 
 
 
 
 
 | 15 | 
  | 
 
 
 
 
 
 | 16 | 
 typedef struct VSS_COMPONENTINFO { | 
 
 
 
 
 
 | 17 | 
   VSS_COMPONENT_TYPE type; | 
 
 
 
 
 
 | 18 | 
   BSTR               bstrLogicalPath; | 
 
 
 
 
 
 | 19 | 
   BSTR               bstrComponentName; | 
 
 
 
 
 
 | 20 | 
   BSTR               bstrCaption; | 
 
 
 
 
 
 | 21 | 
   BYTE               *pbIcon; | 
 
 
 
 
 
 | 22 | 
   UINT               cbIcon; | 
 
 
 
 
 
 | 23 | 
   BOOLEAN            bRestoreMetadata; | 
 
 
 
 
 
 | 24 | 
   BOOLEAN            bNotifyOnBackupComplete; | 
 
 
 
 
 
 | 25 | 
   BOOLEAN            bSelectable; | 
 
 
 
 
 
 | 26 | 
   BOOLEAN            bSelectableForRestore; | 
 
 
 
 
 
 | 27 | 
   DWORD              dwComponentFlags; | 
 
 
 
 
 
 | 28 | 
   UINT               cFileCount; | 
 
 
 
 
 
 | 29 | 
   UINT               cDatabases; | 
 
 
 
 
 
 | 30 | 
   UINT               cLogFiles; | 
 
 
 
 
 
 | 31 | 
   UINT               cDependencies; | 
 
 
 
 
 
 | 32 | 
 } VSS_COMPONENTINFO, *PVSSCOMPONENTINFO; | 
 
 
 
 
 
 | 33 | 
  | 
 
 
 
 
 
 | 34 | 
 HRESULT WINAPI CreateVssBackupComponentsInternal( | 
 
 
 
 
 
 | 35 | 
   IVssBackupComponents **ppBackup | 
 
 
 
 
 
 | 36 | 
 ); | 
 
 
 
 
 
 | 37 | 
  | 
 
 
 
 
 
 | 38 | 
 FORCEINLINE | 
 
 
 
 
 
 | 39 | 
 HRESULT WINAPI CreateVssBackupComponents( | 
 
 
 
 
 
 | 40 | 
   IVssBackupComponents **ppBackup | 
 
 
 
 
 
 | 41 | 
 ){return CreateVssBackupComponentsInternal(ppBackup);} | 
 
 
 
 
 
 | 42 | 
  | 
 
 
 
 
 
 | 43 | 
 HRESULT WINAPI CreateVssExamineWriterMetadataInternal( | 
 
 
 
 
 
 | 44 | 
   BSTR bstrXML, | 
 
 
 
 
 
 | 45 | 
   IVssExamineWriterMetadata **ppMetadata | 
 
 
 
 
 
 | 46 | 
 ); | 
 
 
 
 
 
 | 47 | 
  | 
 
 
 
 
 
 | 48 | 
 FORCEINLINE | 
 
 
 
 
 
 | 49 | 
 HRESULT WINAPI CreateVssExamineWriterMetadata( | 
 
 
 
 
 
 | 50 | 
   BSTR bstrXML, | 
 
 
 
 
 
 | 51 | 
   IVssExamineWriterMetadata **ppMetadata | 
 
 
 
 
 
 | 52 | 
 ){return CreateVssExamineWriterMetadataInternal(bstrXML,ppMetadata);} | 
 
 
 
 
 
 | 53 | 
  | 
 
 
 
 
 
 | 54 | 
 HRESULT WINAPI IsVolumeSnapshottedInternal( | 
 
 
 
 
 
 | 55 | 
   VSS_PWSZ pwszVolumeName, | 
 
 
 
 
 
 | 56 | 
   BOOLEAN *pbSnapshotsPresent, | 
 
 
 
 
 
 | 57 | 
   LONG *plSnapshotCapability | 
 
 
 
 
 
 | 58 | 
 ); | 
 
 
 
 
 
 | 59 | 
  | 
 
 
 
 
 
 | 60 | 
 FORCEINLINE | 
 
 
 
 
 
 | 61 | 
 HRESULT WINAPI IsVolumeSnapshotted( | 
 
 
 
 
 
 | 62 | 
   VSS_PWSZ pwszVolumeName, | 
 
 
 
 
 
 | 63 | 
   BOOLEAN *pbSnapshotsPresent, | 
 
 
 
 
 
 | 64 | 
   LONG *plSnapshotCapability | 
 
 
 
 
 
 | 65 | 
 ){return IsVolumeSnapshottedInternal(pwszVolumeName,pbSnapshotsPresent,plSnapshotCapability);} | 
 
 
 
 
 
 | 66 | 
  | 
 
 
 
 
 
 | 67 | 
 HRESULT WINAPI ShouldBlockRevertInternal( | 
 
 
 
 
 
 | 68 | 
   LPCWSTR wszVolumeName, | 
 
 
 
 
 
 | 69 | 
   BOOLEAN *pbBlock | 
 
 
 
 
 
 | 70 | 
 ); | 
 
 
 
 
 
 | 71 | 
  | 
 
 
 
 
 
 | 72 | 
 FORCEINLINE | 
 
 
 
 
 
 | 73 | 
 HRESULT WINAPI ShouldBlockRevert( | 
 
 
 
 
 
 | 74 | 
   LPCWSTR wszVolumeName, | 
 
 
 
 
 
 | 75 | 
   BOOLEAN *pbBlock | 
 
 
 
 
 
 | 76 | 
 ){return ShouldBlockRevertInternal(wszVolumeName,pbBlock);} | 
 
 
 
 
 
 | 77 | 
  | 
 
 
 
 
 
 | 78 | 
 void WINAPI VssFreeSnapshotPropertiesInternal( | 
 
 
 
 
 
 | 79 | 
   VSS_SNAPSHOT_PROP *pProp | 
 
 
 
 
 
 | 80 | 
 ); | 
 
 
 
 
 
 | 81 | 
  | 
 
 
 
 
 
 | 82 | 
 FORCEINLINE | 
 
 
 
 
 
 | 83 | 
 void WINAPI VssFreeSnapshotProperties( | 
 
 
 
 
 
 | 84 | 
   VSS_SNAPSHOT_PROP *pProp | 
 
 
 
 
 
 | 85 | 
 ){VssFreeSnapshotPropertiesInternal(pProp);} | 
 
 
 
 
 
 | 86 | 
  | 
 
 
 
 
 
 | 87 | 
 HRESULT WINAPI GetProviderMgmtInterfaceInternal( | 
 
 
 
 
 
 | 88 | 
   VSS_ID ProviderId, | 
 
 
 
 
 
 | 89 | 
   IID InterfaceId, | 
 
 
 
 
 
 | 90 | 
   IUnknown** ppItf | 
 
 
 
 
 
 | 91 | 
 ); | 
 
 
 
 
 
 | 92 | 
  | 
 
 
 
 
 
 | 93 | 
 FORCEINLINE | 
 
 
 
 
 
 | 94 | 
 HRESULT WINAPI GetProviderMgmtInterface( | 
 
 
 
 
 
 | 95 | 
   VSS_ID ProviderId, | 
 
 
 
 
 
 | 96 | 
   IID InterfaceId, | 
 
 
 
 
 
 | 97 | 
   IUnknown** ppItf | 
 
 
 
 
 
 | 98 | 
 ){return GetProviderMgmtInterfaceInternal(ProviderId,InterfaceId,ppItf);} | 
 
 
 
 
 
 | 99 | 
  | 
 
 
 
 
 
 | 100 | 
 #ifdef __cplusplus | 
 
 
 
 
 
 | 101 | 
 } | 
 
 
 
 
 
 | 102 | 
 #endif | 
 
 
 
 
 
 | 103 | 
  | 
 
 
 
 
 
 | 104 | 
 #undef  INTERFACE | 
 
 
 
 
 
 | 105 | 
 #define INTERFACE IVssBackupComponents | 
 
 
 
 
 
 | 106 | 
 #ifdef __GNUC__ | 
 
 
 
 
 
 | 107 | 
 #warning COM interfaces layout in this header has not been verified. | 
 
 
 
 
 
 | 108 | 
 #warning COM interfaces with incorrect layout may not work at all. | 
 
 
 
 
 
 | 109 | 
 __MINGW_BROKEN_INTERFACE(INTERFACE) | 
 
 
 
 
 
 | 110 | 
 #endif | 
 
 
 
 
 
 | 111 | 
 DECLARE_INTERFACE_(IVssBackupComponents,IUnknown) | 
 
 
 
 
 
 | 112 | 
 { | 
 
 
 
 
 
 | 113 | 
     BEGIN_INTERFACE | 
 
 
 
 
 
 | 114 | 
  | 
 
 
 
 
 
 | 115 | 
     /* IUnknown methods */ | 
 
 
 
 
 
 | 116 | 
     STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE; | 
 
 
 
 
 
 | 117 | 
     STDMETHOD_(ULONG, AddRef)(THIS) PURE; | 
 
 
 
 
 
 | 118 | 
     STDMETHOD_(ULONG, Release)(THIS) PURE; | 
 
 
 
 
 
 | 119 | 
  | 
 
 
 
 
 
 | 120 | 
     /* IVssBackupComponents methods */ | 
 
 
 
 
 
 | 121 | 
     STDMETHOD_(HRESULT,GetWriterComponentsCount)(THIS_ UINT *pcComponents) PURE; | 
 
 
 
 
 
 | 122 | 
     STDMETHOD_(HRESULT,GetWriterComponents)(THIS_ UINT iWriter,IVssWriterComponentsExt **pWriterComponents) PURE; | 
 
 
 
 
 
 | 123 | 
     STDMETHOD_(HRESULT,InitializeForBackup)(THIS_ BSTR bstrXML) PURE; | 
 
 
 
 
 
 | 124 | 
     STDMETHOD_(HRESULT,SetBackupState)(THIS_ BOOLEAN bSelectComponents,BOOLEAN bBackupBootableSystemState,VSS_BACKUP_TYPE backupType,BOOLEAN bPartialFileSupport) PURE; | 
 
 
 
 
 
 | 125 | 
     STDMETHOD_(HRESULT,InitializeForRestore)(THIS_ BSTR bstrXML) PURE; | 
 
 
 
 
 
 | 126 | 
     STDMETHOD_(HRESULT,SetRestoreState)(THIS_ VSS_RESTORE_TYPE restoreType) PURE; | 
 
 
 
 
 
 | 127 | 
     STDMETHOD_(HRESULT,GatherWriterMetadata)(THIS_ IVssAsync **ppAsync) PURE; | 
 
 
 
 
 
 | 128 | 
     STDMETHOD_(HRESULT,GetWriterMetadataCount)(THIS_ UINT *pcWriters) PURE; | 
 
 
 
 
 
 | 129 | 
     STDMETHOD_(HRESULT,GetWriterMetadata)(THIS_ UINT iWriter,VSS_ID *pidWriterInstance,IVssExamineWriterMetadata **ppMetadata) PURE; | 
 
 
 
 
 
 | 130 | 
     STDMETHOD_(HRESULT,FreeWriterMetadata)(THIS) PURE; | 
 
 
 
 
 
 | 131 | 
     STDMETHOD_(HRESULT,AddComponent)(THIS_ VSS_ID instanceId,VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName) PURE; | 
 
 
 
 
 
 | 132 | 
     STDMETHOD_(HRESULT,PrepareForBackup)(THIS_ IVssAsync **ppAsync) PURE; | 
 
 
 
 
 
 | 133 | 
     STDMETHOD_(HRESULT,AbortBackup)(THIS) PURE; | 
 
 
 
 
 
 | 134 | 
     STDMETHOD_(HRESULT,GatherWriterStatus)(THIS_ IVssAsync **ppAsync) PURE; | 
 
 
 
 
 
 | 135 | 
     STDMETHOD_(HRESULT,GetWriterStatusCount)(THIS_ UINT *pcWriters) PURE; | 
 
 
 
 
 
 | 136 | 
     STDMETHOD_(HRESULT,FreeWriterStatus)(THIS) PURE; | 
 
 
 
 
 
 | 137 | 
     STDMETHOD_(HRESULT,GetWriterStatus)(THIS_ UINT iWriter,VSS_ID *pidInstance,VSS_ID *pidWriter,BSTR *pbstrWriter,VSS_WRITER_STATE *pState,HRESULT *pHrResultFailure) PURE; | 
 
 
 
 
 
 | 138 | 
     STDMETHOD_(HRESULT,SetBackupSucceeded)(THIS_ VSS_ID instanceId,VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,BOOLEAN bSucceeded) PURE; | 
 
 
 
 
 
 | 139 | 
     STDMETHOD_(HRESULT,SetBackupOptions)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,LPCWSTR wszBackupOptions) PURE; | 
 
 
 
 
 
 | 140 | 
     STDMETHOD_(HRESULT,SetSelectedForRestore)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,BOOLEAN bSelectedForRestore) PURE; | 
 
 
 
 
 
 | 141 | 
     STDMETHOD_(HRESULT,SetRestoreOptions)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,LPCWSTR wszRestoreOptions) PURE; | 
 
 
 
 
 
 | 142 | 
     STDMETHOD_(HRESULT,SetAdditionalRestores)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,BOOLEAN bAdditionalResources) PURE; | 
 
 
 
 
 
 | 143 | 
     STDMETHOD_(HRESULT,SetPreviousBackupStamp)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,LPCWSTR wszPreviousBackupStamp) PURE; | 
 
 
 
 
 
 | 144 | 
     STDMETHOD_(HRESULT,SaveAsXML)(THIS_ BSTR *pbstrXML) PURE; | 
 
 
 
 
 
 | 145 | 
     STDMETHOD_(HRESULT,BackupComplete)(THIS_ IVssAsync **ppAsync) PURE; | 
 
 
 
 
 
 | 146 | 
     STDMETHOD_(HRESULT,AddAlternativeLocationMapping)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,LPCWSTR wszPath,LPCWSTR wszFilespec,BOOLEAN bRecursive,LPCWSTR wszDestination) PURE; | 
 
 
 
 
 
 | 147 | 
     STDMETHOD_(HRESULT,AddRestoreSubcomponent)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,LPCWSTR wszSubComponentLogicalPath,LPCWSTR wszSubComponentName,BOOLEAN bRepair) PURE; | 
 
 
 
 
 
 | 148 | 
     STDMETHOD_(HRESULT,SetFileRestoreStatus)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,VSS_FILE_RESTORE_STATUS status) PURE; | 
 
 
 
 
 
 | 149 | 
     STDMETHOD_(HRESULT,AddNewTarget)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE ct,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,LPCWSTR wszPath,LPCWSTR wszFileName,BOOLEAN bRecursive,LPCWSTR wszAlternatePath) PURE; | 
 
 
 
 
 
 | 150 | 
     STDMETHOD_(HRESULT,SetRangesFilePath)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE ct,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,UINT iPartialFile,LPCWSTR wszRangesFile) PURE; | 
 
 
 
 
 
 | 151 | 
     STDMETHOD_(HRESULT,PreRestore)(THIS_ IVssAsync **ppAsync) PURE; | 
 
 
 
 
 
 | 152 | 
     STDMETHOD_(HRESULT,PostRestore)(THIS_ IVssAsync **ppAsync) PURE; | 
 
 
 
 
 
 | 153 | 
     STDMETHOD_(HRESULT,SetContext)(THIS_ LONG lContext) PURE; | 
 
 
 
 
 
 | 154 | 
     STDMETHOD_(HRESULT,StartSnapshotSet)(THIS_ VSS_ID *pSnapshotSetId) PURE; | 
 
 
 
 
 
 | 155 | 
     STDMETHOD_(HRESULT,AddToSnapshotSet)(THIS_ VSS_PWSZ pwszVolumeName,VSS_ID ProviderId,VSS_ID *pidSnapshot) PURE; | 
 
 
 
 
 
 | 156 | 
     STDMETHOD_(HRESULT,DoSnapshotSet)(THIS_ IVssAsync **ppAsync) PURE; | 
 
 
 
 
 
 | 157 | 
     STDMETHOD_(HRESULT,DeleteSnapshots)(THIS_ VSS_ID SourceObjectId,VSS_OBJECT_TYPE eSourceObjectType,BOOLEAN bForceDelete,LONG *plDeletedSnapshots,VSS_ID *pNondeletedSnapshotID) PURE; | 
 
 
 
 
 
 | 158 | 
     STDMETHOD_(HRESULT,ImportSnapshots)(THIS_ IVssAsync **ppAsync) PURE; | 
 
 
 
 
 
 | 159 | 
     STDMETHOD_(HRESULT,BreakSnapshotSet)(THIS_ VSS_ID SnapshotSetId) PURE; | 
 
 
 
 
 
 | 160 | 
     STDMETHOD_(HRESULT,GetSnapshotProperties)(THIS_ VSS_ID SnapshotId,VSS_SNAPSHOT_PROP *pProp) PURE; | 
 
 
 
 
 
 | 161 | 
     STDMETHOD_(HRESULT,Query)(THIS_ VSS_ID QueriedObjectId,VSS_OBJECT_TYPE eQueriedObjectType,VSS_OBJECT_TYPE eReturnedObjectsType,IVssEnumObject **ppEnum) PURE; | 
 
 
 
 
 
 | 162 | 
     STDMETHOD_(HRESULT,IsVolumeSupported)(THIS_ VSS_ID ProviderId,VSS_PWSZ pwszVolumeName,BOOLEAN *pbSupportedByThisProvider) PURE; | 
 
 
 
 
 
 | 163 | 
     STDMETHOD_(HRESULT,DisableWriterClasses)(THIS_ const VSS_ID *rgWriterClassId,UINT cClassId) PURE; | 
 
 
 
 
 
 | 164 | 
     STDMETHOD_(HRESULT,EnableWriterClasses)(THIS_ const VSS_ID *rgWriterClassId,UINT cClassId) PURE; | 
 
 
 
 
 
 | 165 | 
     STDMETHOD_(HRESULT,DisableWriterInstances)(THIS_ const VSS_ID *rgWriterInstanceId,UINT cInstanceId) PURE; | 
 
 
 
 
 
 | 166 | 
     STDMETHOD_(HRESULT,ExposeSnapshot)(THIS_ VSS_ID SnapshotId,VSS_PWSZ wszPathFromRoot,LONG lAttributes,VSS_PWSZ wszExpose,VSS_PWSZ *pwszExposed) PURE; | 
 
 
 
 
 
 | 167 | 
     STDMETHOD_(HRESULT,RevertToSnapshot)(THIS_ VSS_ID SnapshotId,BOOLEAN bForceDismount) PURE; | 
 
 
 
 
 
 | 168 | 
     STDMETHOD_(HRESULT,QueryRevertStatus)(THIS_ VSS_PWSZ pwszVolume,IVssAsync **ppAsync) PURE; | 
 
 
 
 
 
 | 169 | 
  | 
 
 
 
 
 
 | 170 | 
     END_INTERFACE | 
 
 
 
 
 
 | 171 | 
 }; | 
 
 
 
 
 
 | 172 | 
 #ifdef COBJMACROS | 
 
 
 
 
 
 | 173 | 
 #define IVssBackupComponents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) | 
 
 
 
 
 
 | 174 | 
 #define IVssBackupComponents_AddRef(This) (This)->lpVtbl->AddRef(This) | 
 
 
 
 
 
 | 175 | 
 #define IVssBackupComponents_Release(This) (This)->lpVtbl->Release(This) | 
 
 
 
 
 
 | 176 | 
 #define IVssBackupComponents_GetWriterComponentsCount(This,pcComponents) (This)->lpVtbl->GetWriterComponentsCount(This,pcComponents) | 
 
 
 
 
 
 | 177 | 
 #define IVssBackupComponents_GetWriterComponents(This,iWriter,pWriterComponents) (This)->lpVtbl->GetWriterComponents(This,iWriter,pWriterComponents) | 
 
 
 
 
 
 | 178 | 
 #define IVssBackupComponents_InitializeForBackup(This,bstrXML) (This)->lpVtbl->InitializeForBackup(This,bstrXML) | 
 
 
 
 
 
 | 179 | 
 #define IVssBackupComponents_SetBackupState(This,bSelectComponents,bBackupBootableSystemState,backupType,bPartialFileSupport) (This)->lpVtbl->SetBackupState(This,bSelectComponents,bBackupBootableSystemState,backupType,bPartialFileSupport) | 
 
 
 
 
 
 | 180 | 
 #define IVssBackupComponents_InitializeForRestore(This,bstrXML) (This)->lpVtbl->InitializeForRestore(This,bstrXML) | 
 
 
 
 
 
 | 181 | 
 #define IVssBackupComponents_SetRestoreState(This,restoreType) (This)->lpVtbl->SetRestoreState(This,restoreType) | 
 
 
 
 
 
 | 182 | 
 #define IVssBackupComponents_GatherWriterMetadata(This,ppAsync) (This)->lpVtbl->GatherWriterMetadata(This,ppAsync) | 
 
 
 
 
 
 | 183 | 
 #define IVssBackupComponents_GetWriterMetadataCount(This,pcWriters) (This)->lpVtbl->GetWriterMetadataCount(This,pcWriters) | 
 
 
 
 
 
 | 184 | 
 #define IVssBackupComponents_GetWriterMetadata(This,iWriter,pidWriterInstance,ppMetadata) (This)->lpVtbl->GetWriterMetadata(This,iWriter,pidWriterInstance,ppMetadata) | 
 
 
 
 
 
 | 185 | 
 #define IVssBackupComponents_FreeWriterMetadata() (This)->lpVtbl->FreeWriterMetadata(This) | 
 
 
 
 
 
 | 186 | 
 #define IVssBackupComponents_AddComponent(This,instanceId,writerId,componentType,wszLogicalPath,wszComponentName) (This)->lpVtbl->AddComponent(This,instanceId,writerId,componentType,wszLogicalPath,wszComponentName) | 
 
 
 
 
 
 | 187 | 
 #define IVssBackupComponents_PrepareForBackup(This,ppAsync) (This)->lpVtbl->PrepareForBackup(This,ppAsync) | 
 
 
 
 
 
 | 188 | 
 #define IVssBackupComponents_AbortBackup() (This)->lpVtbl->AbortBackup(This) | 
 
 
 
 
 
 | 189 | 
 #define IVssBackupComponents_GatherWriterStatus(This,ppAsync) (This)->lpVtbl->GatherWriterStatus(This,ppAsync) | 
 
 
 
 
 
 | 190 | 
 #define IVssBackupComponents_GetWriterStatusCount(This,pcWriters) (This)->lpVtbl->GetWriterStatusCount(This,pcWriters) | 
 
 
 
 
 
 | 191 | 
 #define IVssBackupComponents_FreeWriterStatus() (This)->lpVtbl->FreeWriterStatus(This) | 
 
 
 
 
 
 | 192 | 
 #define IVssBackupComponents_GetWriterStatus(This,iWriter,pidInstance,pidWriter,pbstrWriter,pState,pHrResultFailure) (This)->lpVtbl->GetWriterStatus(This,iWriter,pidInstance,pidWriter,pbstrWriter,pState,pHrResultFailure) | 
 
 
 
 
 
 | 193 | 
 #define IVssBackupComponents_SetBackupSucceeded(This,instanceId,writerId,componentType,wszLogicalPath,wszComponentName,bSucceeded) (This)->lpVtbl->SetBackupSucceeded(This,instanceId,writerId,componentType,wszLogicalPath,wszComponentName,bSucceeded) | 
 
 
 
 
 
 | 194 | 
 #define IVssBackupComponents_SetBackupOptions(This,writerId,componentType,wszLogicalPath,wszComponentName,wszBackupOptions) (This)->lpVtbl->SetBackupOptions(This,writerId,componentType,wszLogicalPath,wszComponentName,wszBackupOptions) | 
 
 
 
 
 
 | 195 | 
 #define IVssBackupComponents_SetSelectedForRestore(This,writerId,componentType,wszLogicalPath,wszComponentName,bSelectedForRestore) (This)->lpVtbl->SetSelectedForRestore(This,writerId,componentType,wszLogicalPath,wszComponentName,bSelectedForRestore) | 
 
 
 
 
 
 | 196 | 
 #define IVssBackupComponents_SetRestoreOptions(This,writerId,componentType,wszLogicalPath,wszComponentName,wszRestoreOptions) (This)->lpVtbl->SetRestoreOptions(This,writerId,componentType,wszLogicalPath,wszComponentName,wszRestoreOptions) | 
 
 
 
 
 
 | 197 | 
 #define IVssBackupComponents_SetAdditionalRestores(This,writerId,componentType,wszLogicalPath,wszComponentName,bAdditionalResources) (This)->lpVtbl->SetAdditionalRestores(This,writerId,componentType,wszLogicalPath,wszComponentName,bAdditionalResources) | 
 
 
 
 
 
 | 198 | 
 #define IVssBackupComponents_SetPreviousBackupStamp(This,writerId,componentType,wszLogicalPath,wszComponentName,wszPreviousBackupStamp) (This)->lpVtbl->SetPreviousBackupStamp(This,writerId,componentType,wszLogicalPath,wszComponentName,wszPreviousBackupStamp) | 
 
 
 
 
 
 | 199 | 
 #define IVssBackupComponents_SaveAsXML(This,pbstrXML) (This)->lpVtbl->SaveAsXML(This,pbstrXML) | 
 
 
 
 
 
 | 200 | 
 #define IVssBackupComponents_BackupComplete(This,ppAsync) (This)->lpVtbl->BackupComplete(This,ppAsync) | 
 
 
 
 
 
 | 201 | 
 #define IVssBackupComponents_AddAlternativeLocationMapping(This,writerId,componentType,wszLogicalPath,wszComponentName,wszPath,wszFilespec,bRecursive,wszDestination) (This)->lpVtbl->AddAlternativeLocationMapping(This,writerId,componentType,wszLogicalPath,wszComponentName,wszPath,wszFilespec,bRecursive,wszDestination) | 
 
 
 
 
 
 | 202 | 
 #define IVssBackupComponents_AddRestoreSubcomponent(This,writerId,componentType,wszLogicalPath,wszComponentName,wszSubComponentLogicalPath,wszSubComponentName,bRepair) (This)->lpVtbl->AddRestoreSubcomponent(This,writerId,componentType,wszLogicalPath,wszComponentName,wszSubComponentLogicalPath,wszSubComponentName,bRepair) | 
 
 
 
 
 
 | 203 | 
 #define IVssBackupComponents_SetFileRestoreStatus(This,writerId,componentType,wszLogicalPath,wszComponentName,status) (This)->lpVtbl->SetFileRestoreStatus(This,writerId,componentType,wszLogicalPath,wszComponentName,status) | 
 
 
 
 
 
 | 204 | 
 #define IVssBackupComponents_AddNewTarget(This,writerId,ct,wszLogicalPath,wszComponentName,wszPath,wszFileName,bRecursive,wszAlternatePath) (This)->lpVtbl->AddNewTarget(This,writerId,ct,wszLogicalPath,wszComponentName,wszPath,wszFileName,bRecursive,wszAlternatePath) | 
 
 
 
 
 
 | 205 | 
 #define IVssBackupComponents_SetRangesFilePath(This,writerId,ct,wszLogicalPath,wszComponentName,iPartialFile,wszRangesFile) (This)->lpVtbl->SetRangesFilePath(This,writerId,ct,wszLogicalPath,wszComponentName,iPartialFile,wszRangesFile) | 
 
 
 
 
 
 | 206 | 
 #define IVssBackupComponents_PreRestore(This,ppAsync) (This)->lpVtbl->PreRestore(This,ppAsync) | 
 
 
 
 
 
 | 207 | 
 #define IVssBackupComponents_PostRestore(This,ppAsync) (This)->lpVtbl->PostRestore(This,ppAsync) | 
 
 
 
 
 
 | 208 | 
 #define IVssBackupComponents_SetContext(This,lContext) (This)->lpVtbl->SetContext(This,lContext) | 
 
 
 
 
 
 | 209 | 
 #define IVssBackupComponents_StartSnapshotSet(This,pSnapshotSetId) (This)->lpVtbl->StartSnapshotSet(This,pSnapshotSetId) | 
 
 
 
 
 
 | 210 | 
 #define IVssBackupComponents_AddToSnapshotSet(This,pwszVolumeName,ProviderId,pidSnapshot) (This)->lpVtbl->AddToSnapshotSet(This,pwszVolumeName,ProviderId,pidSnapshot) | 
 
 
 
 
 
 | 211 | 
 #define IVssBackupComponents_DoSnapshotSet(This,ppAsync) (This)->lpVtbl->DoSnapshotSet(This,ppAsync) | 
 
 
 
 
 
 | 212 | 
 #define IVssBackupComponents_DeleteSnapshots(This,SourceObjectId,eSourceObjectType,bForceDelete,plDeletedSnapshots,pNondeletedSnapshotID) (This)->lpVtbl->DeleteSnapshots(This,SourceObjectId,eSourceObjectType,bForceDelete,plDeletedSnapshots,pNondeletedSnapshotID) | 
 
 
 
 
 
 | 213 | 
 #define IVssBackupComponents_ImportSnapshots(This,ppAsync) (This)->lpVtbl->ImportSnapshots(This,ppAsync) | 
 
 
 
 
 
 | 214 | 
 #define IVssBackupComponents_BreakSnapshotSet(This,SnapshotSetId) (This)->lpVtbl->BreakSnapshotSet(This,SnapshotSetId) | 
 
 
 
 
 
 | 215 | 
 #define IVssBackupComponents_GetSnapshotProperties(This,SnapshotId,pProp) (This)->lpVtbl->GetSnapshotProperties(This,SnapshotId,pProp) | 
 
 
 
 
 
 | 216 | 
 #define IVssBackupComponents_Query(This,QueriedObjectId,eQueriedObjectType,eReturnedObjectsType,ppEnum) (This)->lpVtbl->Query(This,QueriedObjectId,eQueriedObjectType,eReturnedObjectsType,ppEnum) | 
 
 
 
 
 
 | 217 | 
 #define IVssBackupComponents_IsVolumeSupported(This,ProviderId,pwszVolumeName,pbSupportedByThisProvider) (This)->lpVtbl->IsVolumeSupported(This,ProviderId,pwszVolumeName,pbSupportedByThisProvider) | 
 
 
 
 
 
 | 218 | 
 #define IVssBackupComponents_DisableWriterClasses(This,rgWriterClassId,cClassId) (This)->lpVtbl->DisableWriterClasses(This,rgWriterClassId,cClassId) | 
 
 
 
 
 
 | 219 | 
 #define IVssBackupComponents_EnableWriterClasses(This,rgWriterClassId,cClassId) (This)->lpVtbl->EnableWriterClasses(This,rgWriterClassId,cClassId) | 
 
 
 
 
 
 | 220 | 
 #define IVssBackupComponents_DisableWriterInstances(This,rgWriterInstanceId,cInstanceId) (This)->lpVtbl->DisableWriterInstances(This,rgWriterInstanceId,cInstanceId) | 
 
 
 
 
 
 | 221 | 
 #define IVssBackupComponents_ExposeSnapshot(This,SnapshotId,wszPathFromRoot,lAttributes,wszExpose,pwszExposed) (This)->lpVtbl->ExposeSnapshot(This,SnapshotId,wszPathFromRoot,lAttributes,wszExpose,pwszExposed) | 
 
 
 
 
 
 | 222 | 
 #define IVssBackupComponents_RevertToSnapshot(This,SnapshotId,bForceDismount) (This)->lpVtbl->RevertToSnapshot(This,SnapshotId,bForceDismount) | 
 
 
 
 
 
 | 223 | 
 #define IVssBackupComponents_QueryRevertStatus(This,pwszVolume,ppAsync) (This)->lpVtbl->QueryRevertStatus(This,pwszVolume,ppAsync) | 
 
 
 
 
 
 | 224 | 
 #endif /*COBJMACROS*/ | 
 
 
 
 
 
 | 225 | 
  | 
 
 
 
 
 
 | 226 | 
 #if (_WIN32_WINNT >= 0x0600) | 
 
 
 
 
 
 | 227 | 
 #undef  INTERFACE | 
 
 
 
 
 
 | 228 | 
 #define INTERFACE IVssBackupComponentsEx | 
 
 
 
 
 
 | 229 | 
 #ifdef __GNUC__ | 
 
 
 
 
 
 | 230 | 
 #warning COM interfaces layout in this header has not been verified. | 
 
 
 
 
 
 | 231 | 
 #warning COM interfaces with incorrect layout may not work at all. | 
 
 
 
 
 
 | 232 | 
 __MINGW_BROKEN_INTERFACE(INTERFACE) | 
 
 
 
 
 
 | 233 | 
 #endif | 
 
 
 
 
 
 | 234 | 
 DECLARE_INTERFACE_(IVssBackupComponentsEx,IVssBackupComponents) | 
 
 
 
 
 
 | 235 | 
 { | 
 
 
 
 
 
 | 236 | 
     BEGIN_INTERFACE | 
 
 
 
 
 
 | 237 | 
  | 
 
 
 
 
 
 | 238 | 
     /* IUnknown methods */ | 
 
 
 
 
 
 | 239 | 
     STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE; | 
 
 
 
 
 
 | 240 | 
     STDMETHOD_(ULONG, AddRef)(THIS) PURE; | 
 
 
 
 
 
 | 241 | 
     STDMETHOD_(ULONG, Release)(THIS) PURE; | 
 
 
 
 
 
 | 242 | 
  | 
 
 
 
 
 
 | 243 | 
     /* IVssBackupComponents methods */ | 
 
 
 
 
 
 | 244 | 
     STDMETHOD_(HRESULT,GetWriterComponentsCount)(THIS_ UINT *pcComponents) PURE; | 
 
 
 
 
 
 | 245 | 
     STDMETHOD_(HRESULT,GetWriterComponents)(THIS_ UINT iWriter,IVssWriterComponentsExt **pWriterComponents) PURE; | 
 
 
 
 
 
 | 246 | 
     STDMETHOD_(HRESULT,InitializeForBackup)(THIS_ BSTR bstrXML) PURE; | 
 
 
 
 
 
 | 247 | 
     STDMETHOD_(HRESULT,SetBackupState)(THIS_ BOOLEAN bSelectComponents,BOOLEAN bBackupBootableSystemState,VSS_BACKUP_TYPE backupType,BOOLEAN bPartialFileSupport) PURE; | 
 
 
 
 
 
 | 248 | 
     STDMETHOD_(HRESULT,InitializeForRestore)(THIS_ BSTR bstrXML) PURE; | 
 
 
 
 
 
 | 249 | 
     STDMETHOD_(HRESULT,SetRestoreState)(THIS_ VSS_RESTORE_TYPE restoreType) PURE; | 
 
 
 
 
 
 | 250 | 
     STDMETHOD_(HRESULT,GatherWriterMetadata)(THIS_ IVssAsync **ppAsync) PURE; | 
 
 
 
 
 
 | 251 | 
     STDMETHOD_(HRESULT,GetWriterMetadataCount)(THIS_ UINT *pcWriters) PURE; | 
 
 
 
 
 
 | 252 | 
     STDMETHOD_(HRESULT,GetWriterMetadata)(THIS_ UINT iWriter,VSS_ID *pidWriterInstance,IVssExamineWriterMetadata **ppMetadata) PURE; | 
 
 
 
 
 
 | 253 | 
     STDMETHOD_(HRESULT,FreeWriterMetadata)(THIS) PURE; | 
 
 
 
 
 
 | 254 | 
     STDMETHOD_(HRESULT,AddComponent)(THIS_ VSS_ID instanceId,VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName) PURE; | 
 
 
 
 
 
 | 255 | 
     STDMETHOD_(HRESULT,PrepareForBackup)(THIS_ IVssAsync **ppAsync) PURE; | 
 
 
 
 
 
 | 256 | 
     STDMETHOD_(HRESULT,AbortBackup)(THIS) PURE; | 
 
 
 
 
 
 | 257 | 
     STDMETHOD_(HRESULT,GatherWriterStatus)(THIS_ IVssAsync **ppAsync) PURE; | 
 
 
 
 
 
 | 258 | 
     STDMETHOD_(HRESULT,GetWriterStatusCount)(THIS_ UINT *pcWriters) PURE; | 
 
 
 
 
 
 | 259 | 
     STDMETHOD_(HRESULT,FreeWriterStatus)(THIS) PURE; | 
 
 
 
 
 
 | 260 | 
     STDMETHOD_(HRESULT,GetWriterStatus)(THIS_ UINT iWriter,VSS_ID *pidInstance,VSS_ID *pidWriter,BSTR *pbstrWriter,VSS_WRITER_STATE *pState,HRESULT *pHrResultFailure) PURE; | 
 
 
 
 
 
 | 261 | 
     STDMETHOD_(HRESULT,SetBackupSucceeded)(THIS_ VSS_ID instanceId,VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,BOOLEAN bSucceeded) PURE; | 
 
 
 
 
 
 | 262 | 
     STDMETHOD_(HRESULT,SetBackupOptions)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,LPCWSTR wszBackupOptions) PURE; | 
 
 
 
 
 
 | 263 | 
     STDMETHOD_(HRESULT,SetSelectedForRestore)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,BOOLEAN bSelectedForRestore) PURE; | 
 
 
 
 
 
 | 264 | 
     STDMETHOD_(HRESULT,SetRestoreOptions)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,LPCWSTR wszRestoreOptions) PURE; | 
 
 
 
 
 
 | 265 | 
     STDMETHOD_(HRESULT,SetAdditionalRestores)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,BOOLEAN bAdditionalResources) PURE; | 
 
 
 
 
 
 | 266 | 
     STDMETHOD_(HRESULT,SetPreviousBackupStamp)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,LPCWSTR wszPreviousBackupStamp) PURE; | 
 
 
 
 
 
 | 267 | 
     STDMETHOD_(HRESULT,SaveAsXML)(THIS_ BSTR *pbstrXML) PURE; | 
 
 
 
 
 
 | 268 | 
     STDMETHOD_(HRESULT,BackupComplete)(THIS_ IVssAsync **ppAsync) PURE; | 
 
 
 
 
 
 | 269 | 
     STDMETHOD_(HRESULT,AddAlternativeLocationMapping)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,LPCWSTR wszPath,LPCWSTR wszFilespec,BOOLEAN bRecursive,LPCWSTR wszDestination) PURE; | 
 
 
 
 
 
 | 270 | 
     STDMETHOD_(HRESULT,AddRestoreSubcomponent)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,LPCWSTR wszSubComponentLogicalPath,LPCWSTR wszSubComponentName,BOOLEAN bRepair) PURE; | 
 
 
 
 
 
 | 271 | 
     STDMETHOD_(HRESULT,SetFileRestoreStatus)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,VSS_FILE_RESTORE_STATUS status) PURE; | 
 
 
 
 
 
 | 272 | 
     STDMETHOD_(HRESULT,AddNewTarget)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE ct,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,LPCWSTR wszPath,LPCWSTR wszFileName,BOOLEAN bRecursive,LPCWSTR wszAlternatePath) PURE; | 
 
 
 
 
 
 | 273 | 
     STDMETHOD_(HRESULT,SetRangesFilePath)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE ct,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,UINT iPartialFile,LPCWSTR wszRangesFile) PURE; | 
 
 
 
 
 
 | 274 | 
     STDMETHOD_(HRESULT,PreRestore)(THIS_ IVssAsync **ppAsync) PURE; | 
 
 
 
 
 
 | 275 | 
     STDMETHOD_(HRESULT,PostRestore)(THIS_ IVssAsync **ppAsync) PURE; | 
 
 
 
 
 
 | 276 | 
     STDMETHOD_(HRESULT,SetContext)(THIS_ LONG lContext) PURE; | 
 
 
 
 
 
 | 277 | 
     STDMETHOD_(HRESULT,StartSnapshotSet)(THIS_ VSS_ID *pSnapshotSetId) PURE; | 
 
 
 
 
 
 | 278 | 
     STDMETHOD_(HRESULT,AddToSnapshotSet)(THIS_ VSS_PWSZ pwszVolumeName,VSS_ID ProviderId,VSS_ID *pidSnapshot) PURE; | 
 
 
 
 
 
 | 279 | 
     STDMETHOD_(HRESULT,DoSnapshotSet)(THIS_ IVssAsync **ppAsync) PURE; | 
 
 
 
 
 
 | 280 | 
     STDMETHOD_(HRESULT,DeleteSnapshots)(THIS_ VSS_ID SourceObjectId,VSS_OBJECT_TYPE eSourceObjectType,BOOLEAN bForceDelete,LONG *plDeletedSnapshots,VSS_ID *pNondeletedSnapshotID) PURE; | 
 
 
 
 
 
 | 281 | 
     STDMETHOD_(HRESULT,ImportSnapshots)(THIS_ IVssAsync **ppAsync) PURE; | 
 
 
 
 
 
 | 282 | 
     STDMETHOD_(HRESULT,BreakSnapshotSet)(THIS_ VSS_ID SnapshotSetId) PURE; | 
 
 
 
 
 
 | 283 | 
     STDMETHOD_(HRESULT,GetSnapshotProperties)(THIS_ VSS_ID SnapshotId,VSS_SNAPSHOT_PROP *pProp) PURE; | 
 
 
 
 
 
 | 284 | 
     STDMETHOD_(HRESULT,Query)(THIS_ VSS_ID QueriedObjectId,VSS_OBJECT_TYPE eQueriedObjectType,VSS_OBJECT_TYPE eReturnedObjectsType,IVssEnumObject **ppEnum) PURE; | 
 
 
 
 
 
 | 285 | 
     STDMETHOD_(HRESULT,IsVolumeSupported)(THIS_ VSS_ID ProviderId,VSS_PWSZ pwszVolumeName,BOOLEAN *pbSupportedByThisProvider) PURE; | 
 
 
 
 
 
 | 286 | 
     STDMETHOD_(HRESULT,DisableWriterClasses)(THIS_ const VSS_ID *rgWriterClassId,UINT cClassId) PURE; | 
 
 
 
 
 
 | 287 | 
     STDMETHOD_(HRESULT,EnableWriterClasses)(THIS_ const VSS_ID *rgWriterClassId,UINT cClassId) PURE; | 
 
 
 
 
 
 | 288 | 
     STDMETHOD_(HRESULT,DisableWriterInstances)(THIS_ const VSS_ID *rgWriterInstanceId,UINT cInstanceId) PURE; | 
 
 
 
 
 
 | 289 | 
     STDMETHOD_(HRESULT,ExposeSnapshot)(THIS_ VSS_ID SnapshotId,VSS_PWSZ wszPathFromRoot,LONG lAttributes,VSS_PWSZ wszExpose,VSS_PWSZ *pwszExposed) PURE; | 
 
 
 
 
 
 | 290 | 
     STDMETHOD_(HRESULT,RevertToSnapshot)(THIS_ VSS_ID SnapshotId,BOOLEAN bForceDismount) PURE; | 
 
 
 
 
 
 | 291 | 
     STDMETHOD_(HRESULT,QueryRevertStatus)(THIS_ VSS_PWSZ pwszVolume,IVssAsync **ppAsync) PURE; | 
 
 
 
 
 
 | 292 | 
  | 
 
 
 
 
 
 | 293 | 
     /* IVssBackupComponentsEx methods */ | 
 
 
 
 
 
 | 294 | 
     STDMETHOD_(HRESULT,GetWriterMetadataEx)(THIS_ UINT iWriter,VSS_ID *pidInstance,IVssExamineWriterMetadataEx **ppMetadata) PURE; | 
 
 
 
 
 
 | 295 | 
     STDMETHOD_(HRESULT,SetSelectedForRestoreEx)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE ct,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,BOOLEAN bSelectedForRestore,VSS_ID instanceId) PURE; | 
 
 
 
 
 
 | 296 | 
  | 
 
 
 
 
 
 | 297 | 
     END_INTERFACE | 
 
 
 
 
 
 | 298 | 
 }; | 
 
 
 
 
 
 | 299 | 
 #ifdef COBJMACROS | 
 
 
 
 
 
 | 300 | 
 #define IVssBackupComponentsEx_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) | 
 
 
 
 
 
 | 301 | 
 #define IVssBackupComponentsEx_AddRef(This) (This)->lpVtbl->AddRef(This) | 
 
 
 
 
 
 | 302 | 
 #define IVssBackupComponentsEx_Release(This) (This)->lpVtbl->Release(This) | 
 
 
 
 
 
 | 303 | 
 #define IVssBackupComponentsEx_GetWriterComponentsCount(This,pcComponents) (This)->lpVtbl->GetWriterComponentsCount(This,pcComponents) | 
 
 
 
 
 
 | 304 | 
 #define IVssBackupComponentsEx_GetWriterComponents(This,iWriter,pWriterComponents) (This)->lpVtbl->GetWriterComponents(This,iWriter,pWriterComponents) | 
 
 
 
 
 
 | 305 | 
 #define IVssBackupComponentsEx_InitializeForBackup(This,bstrXML) (This)->lpVtbl->InitializeForBackup(This,bstrXML) | 
 
 
 
 
 
 | 306 | 
 #define IVssBackupComponentsEx_SetBackupState(This,bSelectComponents,bBackupBootableSystemState,backupType,bPartialFileSupport) (This)->lpVtbl->SetBackupState(This,bSelectComponents,bBackupBootableSystemState,backupType,bPartialFileSupport) | 
 
 
 
 
 
 | 307 | 
 #define IVssBackupComponentsEx_InitializeForRestore(This,bstrXML) (This)->lpVtbl->InitializeForRestore(This,bstrXML) | 
 
 
 
 
 
 | 308 | 
 #define IVssBackupComponentsEx_SetRestoreState(This,restoreType) (This)->lpVtbl->SetRestoreState(This,restoreType) | 
 
 
 
 
 
 | 309 | 
 #define IVssBackupComponentsEx_GatherWriterMetadata(This,ppAsync) (This)->lpVtbl->GatherWriterMetadata(This,ppAsync) | 
 
 
 
 
 
 | 310 | 
 #define IVssBackupComponentsEx_GetWriterMetadataCount(This,pcWriters) (This)->lpVtbl->GetWriterMetadataCount(This,pcWriters) | 
 
 
 
 
 
 | 311 | 
 #define IVssBackupComponentsEx_GetWriterMetadata(This,iWriter,pidWriterInstance,ppMetadata) (This)->lpVtbl->GetWriterMetadata(This,iWriter,pidWriterInstance,ppMetadata) | 
 
 
 
 
 
 | 312 | 
 #define IVssBackupComponentsEx_FreeWriterMetadata() (This)->lpVtbl->FreeWriterMetadata(This) | 
 
 
 
 
 
 | 313 | 
 #define IVssBackupComponentsEx_AddComponent(This,instanceId,writerId,componentType,wszLogicalPath,wszComponentName) (This)->lpVtbl->AddComponent(This,instanceId,writerId,componentType,wszLogicalPath,wszComponentName) | 
 
 
 
 
 
 | 314 | 
 #define IVssBackupComponentsEx_PrepareForBackup(This,ppAsync) (This)->lpVtbl->PrepareForBackup(This,ppAsync) | 
 
 
 
 
 
 | 315 | 
 #define IVssBackupComponentsEx_AbortBackup() (This)->lpVtbl->AbortBackup(This) | 
 
 
 
 
 
 | 316 | 
 #define IVssBackupComponentsEx_GatherWriterStatus(This,ppAsync) (This)->lpVtbl->GatherWriterStatus(This,ppAsync) | 
 
 
 
 
 
 | 317 | 
 #define IVssBackupComponentsEx_GetWriterStatusCount(This,pcWriters) (This)->lpVtbl->GetWriterStatusCount(This,pcWriters) | 
 
 
 
 
 
 | 318 | 
 #define IVssBackupComponentsEx_FreeWriterStatus() (This)->lpVtbl->FreeWriterStatus(This) | 
 
 
 
 
 
 | 319 | 
 #define IVssBackupComponentsEx_GetWriterStatus(This,iWriter,pidInstance,pidWriter,pbstrWriter,pState,pHrResultFailure) (This)->lpVtbl->GetWriterStatus(This,iWriter,pidInstance,pidWriter,pbstrWriter,pState,pHrResultFailure) | 
 
 
 
 
 
 | 320 | 
 #define IVssBackupComponentsEx_SetBackupSucceeded(This,instanceId,writerId,componentType,wszLogicalPath,wszComponentName,bSucceeded) (This)->lpVtbl->SetBackupSucceeded(This,instanceId,writerId,componentType,wszLogicalPath,wszComponentName,bSucceeded) | 
 
 
 
 
 
 | 321 | 
 #define IVssBackupComponentsEx_SetBackupOptions(This,writerId,componentType,wszLogicalPath,wszComponentName,wszBackupOptions) (This)->lpVtbl->SetBackupOptions(This,writerId,componentType,wszLogicalPath,wszComponentName,wszBackupOptions) | 
 
 
 
 
 
 | 322 | 
 #define IVssBackupComponentsEx_SetSelectedForRestore(This,writerId,componentType,wszLogicalPath,wszComponentName,bSelectedForRestore) (This)->lpVtbl->SetSelectedForRestore(This,writerId,componentType,wszLogicalPath,wszComponentName,bSelectedForRestore) | 
 
 
 
 
 
 | 323 | 
 #define IVssBackupComponentsEx_SetRestoreOptions(This,writerId,componentType,wszLogicalPath,wszComponentName,wszRestoreOptions) (This)->lpVtbl->SetRestoreOptions(This,writerId,componentType,wszLogicalPath,wszComponentName,wszRestoreOptions) | 
 
 
 
 
 
 | 324 | 
 #define IVssBackupComponentsEx_SetAdditionalRestores(This,writerId,componentType,wszLogicalPath,wszComponentName,bAdditionalResources) (This)->lpVtbl->SetAdditionalRestores(This,writerId,componentType,wszLogicalPath,wszComponentName,bAdditionalResources) | 
 
 
 
 
 
 | 325 | 
 #define IVssBackupComponentsEx_SetPreviousBackupStamp(This,writerId,componentType,wszLogicalPath,wszComponentName,wszPreviousBackupStamp) (This)->lpVtbl->SetPreviousBackupStamp(This,writerId,componentType,wszLogicalPath,wszComponentName,wszPreviousBackupStamp) | 
 
 
 
 
 
 | 326 | 
 #define IVssBackupComponentsEx_SaveAsXML(This,pbstrXML) (This)->lpVtbl->SaveAsXML(This,pbstrXML) | 
 
 
 
 
 
 | 327 | 
 #define IVssBackupComponentsEx_BackupComplete(This,ppAsync) (This)->lpVtbl->BackupComplete(This,ppAsync) | 
 
 
 
 
 
 | 328 | 
 #define IVssBackupComponentsEx_AddAlternativeLocationMapping(This,writerId,componentType,wszLogicalPath,wszComponentName,wszPath,wszFilespec,bRecursive,wszDestination) (This)->lpVtbl->AddAlternativeLocationMapping(This,writerId,componentType,wszLogicalPath,wszComponentName,wszPath,wszFilespec,bRecursive,wszDestination) | 
 
 
 
 
 
 | 329 | 
 #define IVssBackupComponentsEx_AddRestoreSubcomponent(This,writerId,componentType,wszLogicalPath,wszComponentName,wszSubComponentLogicalPath,wszSubComponentName,bRepair) (This)->lpVtbl->AddRestoreSubcomponent(This,writerId,componentType,wszLogicalPath,wszComponentName,wszSubComponentLogicalPath,wszSubComponentName,bRepair) | 
 
 
 
 
 
 | 330 | 
 #define IVssBackupComponentsEx_SetFileRestoreStatus(This,writerId,componentType,wszLogicalPath,wszComponentName,status) (This)->lpVtbl->SetFileRestoreStatus(This,writerId,componentType,wszLogicalPath,wszComponentName,status) | 
 
 
 
 
 
 | 331 | 
 #define IVssBackupComponentsEx_AddNewTarget(This,writerId,ct,wszLogicalPath,wszComponentName,wszPath,wszFileName,bRecursive,wszAlternatePath) (This)->lpVtbl->AddNewTarget(This,writerId,ct,wszLogicalPath,wszComponentName,wszPath,wszFileName,bRecursive,wszAlternatePath) | 
 
 
 
 
 
 | 332 | 
 #define IVssBackupComponentsEx_SetRangesFilePath(This,writerId,ct,wszLogicalPath,wszComponentName,iPartialFile,wszRangesFile) (This)->lpVtbl->SetRangesFilePath(This,writerId,ct,wszLogicalPath,wszComponentName,iPartialFile,wszRangesFile) | 
 
 
 
 
 
 | 333 | 
 #define IVssBackupComponentsEx_PreRestore(This,ppAsync) (This)->lpVtbl->PreRestore(This,ppAsync) | 
 
 
 
 
 
 | 334 | 
 #define IVssBackupComponentsEx_PostRestore(This,ppAsync) (This)->lpVtbl->PostRestore(This,ppAsync) | 
 
 
 
 
 
 | 335 | 
 #define IVssBackupComponentsEx_SetContext(This,lContext) (This)->lpVtbl->SetContext(This,lContext) | 
 
 
 
 
 
 | 336 | 
 #define IVssBackupComponentsEx_StartSnapshotSet(This,pSnapshotSetId) (This)->lpVtbl->StartSnapshotSet(This,pSnapshotSetId) | 
 
 
 
 
 
 | 337 | 
 #define IVssBackupComponentsEx_AddToSnapshotSet(This,pwszVolumeName,ProviderId,pidSnapshot) (This)->lpVtbl->AddToSnapshotSet(This,pwszVolumeName,ProviderId,pidSnapshot) | 
 
 
 
 
 
 | 338 | 
 #define IVssBackupComponentsEx_DoSnapshotSet(This,ppAsync) (This)->lpVtbl->DoSnapshotSet(This,ppAsync) | 
 
 
 
 
 
 | 339 | 
 #define IVssBackupComponentsEx_DeleteSnapshots(This,SourceObjectId,eSourceObjectType,bForceDelete,plDeletedSnapshots,pNondeletedSnapshotID) (This)->lpVtbl->DeleteSnapshots(This,SourceObjectId,eSourceObjectType,bForceDelete,plDeletedSnapshots,pNondeletedSnapshotID) | 
 
 
 
 
 
 | 340 | 
 #define IVssBackupComponentsEx_ImportSnapshots(This,ppAsync) (This)->lpVtbl->ImportSnapshots(This,ppAsync) | 
 
 
 
 
 
 | 341 | 
 #define IVssBackupComponentsEx_BreakSnapshotSet(This,SnapshotSetId) (This)->lpVtbl->BreakSnapshotSet(This,SnapshotSetId) | 
 
 
 
 
 
 | 342 | 
 #define IVssBackupComponentsEx_GetSnapshotProperties(This,SnapshotId,pProp) (This)->lpVtbl->GetSnapshotProperties(This,SnapshotId,pProp) | 
 
 
 
 
 
 | 343 | 
 #define IVssBackupComponentsEx_Query(This,QueriedObjectId,eQueriedObjectType,eReturnedObjectsType,ppEnum) (This)->lpVtbl->Query(This,QueriedObjectId,eQueriedObjectType,eReturnedObjectsType,ppEnum) | 
 
 
 
 
 
 | 344 | 
 #define IVssBackupComponentsEx_IsVolumeSupported(This,ProviderId,pwszVolumeName,pbSupportedByThisProvider) (This)->lpVtbl->IsVolumeSupported(This,ProviderId,pwszVolumeName,pbSupportedByThisProvider) | 
 
 
 
 
 
 | 345 | 
 #define IVssBackupComponentsEx_DisableWriterClasses(This,rgWriterClassId,cClassId) (This)->lpVtbl->DisableWriterClasses(This,rgWriterClassId,cClassId) | 
 
 
 
 
 
 | 346 | 
 #define IVssBackupComponentsEx_EnableWriterClasses(This,rgWriterClassId,cClassId) (This)->lpVtbl->EnableWriterClasses(This,rgWriterClassId,cClassId) | 
 
 
 
 
 
 | 347 | 
 #define IVssBackupComponentsEx_DisableWriterInstances(This,rgWriterInstanceId,cInstanceId) (This)->lpVtbl->DisableWriterInstances(This,rgWriterInstanceId,cInstanceId) | 
 
 
 
 
 
 | 348 | 
 #define IVssBackupComponentsEx_ExposeSnapshot(This,SnapshotId,wszPathFromRoot,lAttributes,wszExpose,pwszExposed) (This)->lpVtbl->ExposeSnapshot(This,SnapshotId,wszPathFromRoot,lAttributes,wszExpose,pwszExposed) | 
 
 
 
 
 
 | 349 | 
 #define IVssBackupComponentsEx_RevertToSnapshot(This,SnapshotId,bForceDismount) (This)->lpVtbl->RevertToSnapshot(This,SnapshotId,bForceDismount) | 
 
 
 
 
 
 | 350 | 
 #define IVssBackupComponentsEx_QueryRevertStatus(This,pwszVolume,ppAsync) (This)->lpVtbl->QueryRevertStatus(This,pwszVolume,ppAsync) | 
 
 
 
 
 
 | 351 | 
 #define IVssBackupComponentsEx_GetWriterMetadataEx(This,iWriter,pidInstance,ppMetadata) (This)->lpVtbl->GetWriterMetadataEx(This,iWriter,pidInstance,ppMetadata) | 
 
 
 
 
 
 | 352 | 
 #define IVssBackupComponentsEx_SetSelectedForRestoreEx(This,writerId,ct,wszLogicalPath,wszComponentName,bSelectedForRestore,instanceId) (This)->lpVtbl->SetSelectedForRestoreEx(This,writerId,ct,wszLogicalPath,wszComponentName,bSelectedForRestore,instanceId) | 
 
 
 
 
 
 | 353 | 
 #endif /*COBJMACROS*/ | 
 
 
 
 
 
 | 354 | 
  | 
 
 
 
 
 
 | 355 | 
 #undef  INTERFACE | 
 
 
 
 
 
 | 356 | 
 #define INTERFACE IVssBackupComponentsEx2 | 
 
 
 
 
 
 | 357 | 
 #ifdef __GNUC__ | 
 
 
 
 
 
 | 358 | 
 #warning COM interfaces layout in this header has not been verified. | 
 
 
 
 
 
 | 359 | 
 #warning COM interfaces with incorrect layout may not work at all. | 
 
 
 
 
 
 | 360 | 
 __MINGW_BROKEN_INTERFACE(INTERFACE) | 
 
 
 
 
 
 | 361 | 
 #endif | 
 
 
 
 
 
 | 362 | 
 DECLARE_INTERFACE_(IVssBackupComponentsEx2,IVssBackupComponentsEx) | 
 
 
 
 
 
 | 363 | 
 { | 
 
 
 
 
 
 | 364 | 
     BEGIN_INTERFACE | 
 
 
 
 
 
 | 365 | 
  | 
 
 
 
 
 
 | 366 | 
     /* IUnknown methods */ | 
 
 
 
 
 
 | 367 | 
     STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE; | 
 
 
 
 
 
 | 368 | 
     STDMETHOD_(ULONG, AddRef)(THIS) PURE; | 
 
 
 
 
 
 | 369 | 
     STDMETHOD_(ULONG, Release)(THIS) PURE; | 
 
 
 
 
 
 | 370 | 
  | 
 
 
 
 
 
 | 371 | 
     /* IVssBackupComponents methods */ | 
 
 
 
 
 
 | 372 | 
     STDMETHOD_(HRESULT,GetWriterComponentsCount)(THIS_ UINT *pcComponents) PURE; | 
 
 
 
 
 
 | 373 | 
     STDMETHOD_(HRESULT,GetWriterComponents)(THIS_ UINT iWriter,IVssWriterComponentsExt **pWriterComponents) PURE; | 
 
 
 
 
 
 | 374 | 
     STDMETHOD_(HRESULT,InitializeForBackup)(THIS_ BSTR bstrXML) PURE; | 
 
 
 
 
 
 | 375 | 
     STDMETHOD_(HRESULT,SetBackupState)(THIS_ BOOLEAN bSelectComponents,BOOLEAN bBackupBootableSystemState,VSS_BACKUP_TYPE backupType,BOOLEAN bPartialFileSupport) PURE; | 
 
 
 
 
 
 | 376 | 
     STDMETHOD_(HRESULT,InitializeForRestore)(THIS_ BSTR bstrXML) PURE; | 
 
 
 
 
 
 | 377 | 
     STDMETHOD_(HRESULT,SetRestoreState)(THIS_ VSS_RESTORE_TYPE restoreType) PURE; | 
 
 
 
 
 
 | 378 | 
     STDMETHOD_(HRESULT,GatherWriterMetadata)(THIS_ IVssAsync **ppAsync) PURE; | 
 
 
 
 
 
 | 379 | 
     STDMETHOD_(HRESULT,GetWriterMetadataCount)(THIS_ UINT *pcWriters) PURE; | 
 
 
 
 
 
 | 380 | 
     STDMETHOD_(HRESULT,GetWriterMetadata)(THIS_ UINT iWriter,VSS_ID *pidWriterInstance,IVssExamineWriterMetadata **ppMetadata) PURE; | 
 
 
 
 
 
 | 381 | 
     STDMETHOD_(HRESULT,FreeWriterMetadata)(THIS) PURE; | 
 
 
 
 
 
 | 382 | 
     STDMETHOD_(HRESULT,AddComponent)(THIS_ VSS_ID instanceId,VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName) PURE; | 
 
 
 
 
 
 | 383 | 
     STDMETHOD_(HRESULT,PrepareForBackup)(THIS_ IVssAsync **ppAsync) PURE; | 
 
 
 
 
 
 | 384 | 
     STDMETHOD_(HRESULT,AbortBackup)(THIS) PURE; | 
 
 
 
 
 
 | 385 | 
     STDMETHOD_(HRESULT,GatherWriterStatus)(THIS_ IVssAsync **ppAsync) PURE; | 
 
 
 
 
 
 | 386 | 
     STDMETHOD_(HRESULT,GetWriterStatusCount)(THIS_ UINT *pcWriters) PURE; | 
 
 
 
 
 
 | 387 | 
     STDMETHOD_(HRESULT,FreeWriterStatus)(THIS) PURE; | 
 
 
 
 
 
 | 388 | 
     STDMETHOD_(HRESULT,GetWriterStatus)(THIS_ UINT iWriter,VSS_ID *pidInstance,VSS_ID *pidWriter,BSTR *pbstrWriter,VSS_WRITER_STATE *pState,HRESULT *pHrResultFailure) PURE; | 
 
 
 
 
 
 | 389 | 
     STDMETHOD_(HRESULT,SetBackupSucceeded)(THIS_ VSS_ID instanceId,VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,BOOLEAN bSucceeded) PURE; | 
 
 
 
 
 
 | 390 | 
     STDMETHOD_(HRESULT,SetBackupOptions)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,LPCWSTR wszBackupOptions) PURE; | 
 
 
 
 
 
 | 391 | 
     STDMETHOD_(HRESULT,SetSelectedForRestore)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,BOOLEAN bSelectedForRestore) PURE; | 
 
 
 
 
 
 | 392 | 
     STDMETHOD_(HRESULT,SetRestoreOptions)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,LPCWSTR wszRestoreOptions) PURE; | 
 
 
 
 
 
 | 393 | 
     STDMETHOD_(HRESULT,SetAdditionalRestores)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,BOOLEAN bAdditionalResources) PURE; | 
 
 
 
 
 
 | 394 | 
     STDMETHOD_(HRESULT,SetPreviousBackupStamp)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,LPCWSTR wszPreviousBackupStamp) PURE; | 
 
 
 
 
 
 | 395 | 
     STDMETHOD_(HRESULT,SaveAsXML)(THIS_ BSTR *pbstrXML) PURE; | 
 
 
 
 
 
 | 396 | 
     STDMETHOD_(HRESULT,BackupComplete)(THIS_ IVssAsync **ppAsync) PURE; | 
 
 
 
 
 
 | 397 | 
     STDMETHOD_(HRESULT,AddAlternativeLocationMapping)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,LPCWSTR wszPath,LPCWSTR wszFilespec,BOOLEAN bRecursive,LPCWSTR wszDestination) PURE; | 
 
 
 
 
 
 | 398 | 
     STDMETHOD_(HRESULT,AddRestoreSubcomponent)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,LPCWSTR wszSubComponentLogicalPath,LPCWSTR wszSubComponentName,BOOLEAN bRepair) PURE; | 
 
 
 
 
 
 | 399 | 
     STDMETHOD_(HRESULT,SetFileRestoreStatus)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,VSS_FILE_RESTORE_STATUS status) PURE; | 
 
 
 
 
 
 | 400 | 
     STDMETHOD_(HRESULT,AddNewTarget)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE ct,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,LPCWSTR wszPath,LPCWSTR wszFileName,BOOLEAN bRecursive,LPCWSTR wszAlternatePath) PURE; | 
 
 
 
 
 
 | 401 | 
     STDMETHOD_(HRESULT,SetRangesFilePath)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE ct,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,UINT iPartialFile,LPCWSTR wszRangesFile) PURE; | 
 
 
 
 
 
 | 402 | 
     STDMETHOD_(HRESULT,PreRestore)(THIS_ IVssAsync **ppAsync) PURE; | 
 
 
 
 
 
 | 403 | 
     STDMETHOD_(HRESULT,PostRestore)(THIS_ IVssAsync **ppAsync) PURE; | 
 
 
 
 
 
 | 404 | 
     STDMETHOD_(HRESULT,SetContext)(THIS_ LONG lContext) PURE; | 
 
 
 
 
 
 | 405 | 
     STDMETHOD_(HRESULT,StartSnapshotSet)(THIS_ VSS_ID *pSnapshotSetId) PURE; | 
 
 
 
 
 
 | 406 | 
     STDMETHOD_(HRESULT,AddToSnapshotSet)(THIS_ VSS_PWSZ pwszVolumeName,VSS_ID ProviderId,VSS_ID *pidSnapshot) PURE; | 
 
 
 
 
 
 | 407 | 
     STDMETHOD_(HRESULT,DoSnapshotSet)(THIS_ IVssAsync **ppAsync) PURE; | 
 
 
 
 
 
 | 408 | 
     STDMETHOD_(HRESULT,DeleteSnapshots)(THIS_ VSS_ID SourceObjectId,VSS_OBJECT_TYPE eSourceObjectType,BOOLEAN bForceDelete,LONG *plDeletedSnapshots,VSS_ID *pNondeletedSnapshotID) PURE; | 
 
 
 
 
 
 | 409 | 
     STDMETHOD_(HRESULT,ImportSnapshots)(THIS_ IVssAsync **ppAsync) PURE; | 
 
 
 
 
 
 | 410 | 
     STDMETHOD_(HRESULT,BreakSnapshotSet)(THIS_ VSS_ID SnapshotSetId) PURE; | 
 
 
 
 
 
 | 411 | 
     STDMETHOD_(HRESULT,GetSnapshotProperties)(THIS_ VSS_ID SnapshotId,VSS_SNAPSHOT_PROP *pProp) PURE; | 
 
 
 
 
 
 | 412 | 
     STDMETHOD_(HRESULT,Query)(THIS_ VSS_ID QueriedObjectId,VSS_OBJECT_TYPE eQueriedObjectType,VSS_OBJECT_TYPE eReturnedObjectsType,IVssEnumObject **ppEnum) PURE; | 
 
 
 
 
 
 | 413 | 
     STDMETHOD_(HRESULT,IsVolumeSupported)(THIS_ VSS_ID ProviderId,VSS_PWSZ pwszVolumeName,BOOLEAN *pbSupportedByThisProvider) PURE; | 
 
 
 
 
 
 | 414 | 
     STDMETHOD_(HRESULT,DisableWriterClasses)(THIS_ const VSS_ID *rgWriterClassId,UINT cClassId) PURE; | 
 
 
 
 
 
 | 415 | 
     STDMETHOD_(HRESULT,EnableWriterClasses)(THIS_ const VSS_ID *rgWriterClassId,UINT cClassId) PURE; | 
 
 
 
 
 
 | 416 | 
     STDMETHOD_(HRESULT,DisableWriterInstances)(THIS_ const VSS_ID *rgWriterInstanceId,UINT cInstanceId) PURE; | 
 
 
 
 
 
 | 417 | 
     STDMETHOD_(HRESULT,ExposeSnapshot)(THIS_ VSS_ID SnapshotId,VSS_PWSZ wszPathFromRoot,LONG lAttributes,VSS_PWSZ wszExpose,VSS_PWSZ *pwszExposed) PURE; | 
 
 
 
 
 
 | 418 | 
     STDMETHOD_(HRESULT,RevertToSnapshot)(THIS_ VSS_ID SnapshotId,BOOLEAN bForceDismount) PURE; | 
 
 
 
 
 
 | 419 | 
     STDMETHOD_(HRESULT,QueryRevertStatus)(THIS_ VSS_PWSZ pwszVolume,IVssAsync **ppAsync) PURE; | 
 
 
 
 
 
 | 420 | 
  | 
 
 
 
 
 
 | 421 | 
     /* IVssBackupComponentsEx methods */ | 
 
 
 
 
 
 | 422 | 
     STDMETHOD_(HRESULT,GetWriterMetadataEx)(THIS_ UINT iWriter,VSS_ID *pidInstance,IVssExamineWriterMetadataEx **ppMetadata) PURE; | 
 
 
 
 
 
 | 423 | 
     STDMETHOD_(HRESULT,SetSelectedForRestoreEx)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE ct,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,BOOLEAN bSelectedForRestore,VSS_ID instanceId) PURE; | 
 
 
 
 
 
 | 424 | 
  | 
 
 
 
 
 
 | 425 | 
     /* IVssBackupComponentsEx2 methods */ | 
 
 
 
 
 
 | 426 | 
     STDMETHOD_(HRESULT,UnexposeSnapshot)(THIS_ VSS_ID snapshotId) PURE; | 
 
 
 
 
 
 | 427 | 
     STDMETHOD_(HRESULT,SetAuthoritativeRestore)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE ct,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,BOOLEAN bAuth) PURE; | 
 
 
 
 
 
 | 428 | 
     STDMETHOD_(HRESULT,SetRollForward)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE ct,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,VSS_ROLLFORWARD_TYPE rollType,LPCWSTR wszRollForwardPoint) PURE; | 
 
 
 
 
 
 | 429 | 
     STDMETHOD_(HRESULT,SetRestoreName)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE ct,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,LPCWSTR wszRestoreName) PURE; | 
 
 
 
 
 
 | 430 | 
     STDMETHOD_(HRESULT,BreakSnapshotSetEx)(THIS_ VSS_ID SnapshotSetID,DWORD dwBreakFlags,IVssAsync **ppAsync) PURE; | 
 
 
 
 
 
 | 431 | 
     STDMETHOD_(HRESULT,PreFastRecovery)(THIS) PURE; /*Unsupported*/ | 
 
 
 
 
 
 | 432 | 
     STDMETHOD_(HRESULT,FastRecovery)(THIS) PURE;    /*Unsupported*/ | 
 
 
 
 
 
 | 433 | 
  | 
 
 
 
 
 
 | 434 | 
     END_INTERFACE | 
 
 
 
 
 
 | 435 | 
 }; | 
 
 
 
 
 
 | 436 | 
 #ifdef COBJMACROS | 
 
 
 
 
 
 | 437 | 
 #define IVssBackupComponentsEx2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) | 
 
 
 
 
 
 | 438 | 
 #define IVssBackupComponentsEx2_AddRef(This) (This)->lpVtbl->AddRef(This) | 
 
 
 
 
 
 | 439 | 
 #define IVssBackupComponentsEx2_Release(This) (This)->lpVtbl->Release(This) | 
 
 
 
 
 
 | 440 | 
 #define IVssBackupComponentsEx2_GetWriterComponentsCount(This,pcComponents) (This)->lpVtbl->GetWriterComponentsCount(This,pcComponents) | 
 
 
 
 
 
 | 441 | 
 #define IVssBackupComponentsEx2_GetWriterComponents(This,iWriter,pWriterComponents) (This)->lpVtbl->GetWriterComponents(This,iWriter,pWriterComponents) | 
 
 
 
 
 
 | 442 | 
 #define IVssBackupComponentsEx2_InitializeForBackup(This,bstrXML) (This)->lpVtbl->InitializeForBackup(This,bstrXML) | 
 
 
 
 
 
 | 443 | 
 #define IVssBackupComponentsEx2_SetBackupState(This,bSelectComponents,bBackupBootableSystemState,backupType,bPartialFileSupport) (This)->lpVtbl->SetBackupState(This,bSelectComponents,bBackupBootableSystemState,backupType,bPartialFileSupport) | 
 
 
 
 
 
 | 444 | 
 #define IVssBackupComponentsEx2_InitializeForRestore(This,bstrXML) (This)->lpVtbl->InitializeForRestore(This,bstrXML) | 
 
 
 
 
 
 | 445 | 
 #define IVssBackupComponentsEx2_SetRestoreState(This,restoreType) (This)->lpVtbl->SetRestoreState(This,restoreType) | 
 
 
 
 
 
 | 446 | 
 #define IVssBackupComponentsEx2_GatherWriterMetadata(This,ppAsync) (This)->lpVtbl->GatherWriterMetadata(This,ppAsync) | 
 
 
 
 
 
 | 447 | 
 #define IVssBackupComponentsEx2_GetWriterMetadataCount(This,pcWriters) (This)->lpVtbl->GetWriterMetadataCount(This,pcWriters) | 
 
 
 
 
 
 | 448 | 
 #define IVssBackupComponentsEx2_GetWriterMetadata(This,iWriter,pidWriterInstance,ppMetadata) (This)->lpVtbl->GetWriterMetadata(This,iWriter,pidWriterInstance,ppMetadata) | 
 
 
 
 
 
 | 449 | 
 #define IVssBackupComponentsEx2_FreeWriterMetadata() (This)->lpVtbl->FreeWriterMetadata(This) | 
 
 
 
 
 
 | 450 | 
 #define IVssBackupComponentsEx2_AddComponent(This,instanceId,writerId,componentType,wszLogicalPath,wszComponentName) (This)->lpVtbl->AddComponent(This,instanceId,writerId,componentType,wszLogicalPath,wszComponentName) | 
 
 
 
 
 
 | 451 | 
 #define IVssBackupComponentsEx2_PrepareForBackup(This,ppAsync) (This)->lpVtbl->PrepareForBackup(This,ppAsync) | 
 
 
 
 
 
 | 452 | 
 #define IVssBackupComponentsEx2_AbortBackup() (This)->lpVtbl->AbortBackup(This) | 
 
 
 
 
 
 | 453 | 
 #define IVssBackupComponentsEx2_GatherWriterStatus(This,ppAsync) (This)->lpVtbl->GatherWriterStatus(This,ppAsync) | 
 
 
 
 
 
 | 454 | 
 #define IVssBackupComponentsEx2_GetWriterStatusCount(This,pcWriters) (This)->lpVtbl->GetWriterStatusCount(This,pcWriters) | 
 
 
 
 
 
 | 455 | 
 #define IVssBackupComponentsEx2_FreeWriterStatus() (This)->lpVtbl->FreeWriterStatus(This) | 
 
 
 
 
 
 | 456 | 
 #define IVssBackupComponentsEx2_GetWriterStatus(This,iWriter,pidInstance,pidWriter,pbstrWriter,pState,pHrResultFailure) (This)->lpVtbl->GetWriterStatus(This,iWriter,pidInstance,pidWriter,pbstrWriter,pState,pHrResultFailure) | 
 
 
 
 
 
 | 457 | 
 #define IVssBackupComponentsEx2_SetBackupSucceeded(This,instanceId,writerId,componentType,wszLogicalPath,wszComponentName,bSucceeded) (This)->lpVtbl->SetBackupSucceeded(This,instanceId,writerId,componentType,wszLogicalPath,wszComponentName,bSucceeded) | 
 
 
 
 
 
 | 458 | 
 #define IVssBackupComponentsEx2_SetBackupOptions(This,writerId,componentType,wszLogicalPath,wszComponentName,wszBackupOptions) (This)->lpVtbl->SetBackupOptions(This,writerId,componentType,wszLogicalPath,wszComponentName,wszBackupOptions) | 
 
 
 
 
 
 | 459 | 
 #define IVssBackupComponentsEx2_SetSelectedForRestore(This,writerId,componentType,wszLogicalPath,wszComponentName,bSelectedForRestore) (This)->lpVtbl->SetSelectedForRestore(This,writerId,componentType,wszLogicalPath,wszComponentName,bSelectedForRestore) | 
 
 
 
 
 
 | 460 | 
 #define IVssBackupComponentsEx2_SetRestoreOptions(This,writerId,componentType,wszLogicalPath,wszComponentName,wszRestoreOptions) (This)->lpVtbl->SetRestoreOptions(This,writerId,componentType,wszLogicalPath,wszComponentName,wszRestoreOptions) | 
 
 
 
 
 
 | 461 | 
 #define IVssBackupComponentsEx2_SetAdditionalRestores(This,writerId,componentType,wszLogicalPath,wszComponentName,bAdditionalResources) (This)->lpVtbl->SetAdditionalRestores(This,writerId,componentType,wszLogicalPath,wszComponentName,bAdditionalResources) | 
 
 
 
 
 
 | 462 | 
 #define IVssBackupComponentsEx2_SetPreviousBackupStamp(This,writerId,componentType,wszLogicalPath,wszComponentName,wszPreviousBackupStamp) (This)->lpVtbl->SetPreviousBackupStamp(This,writerId,componentType,wszLogicalPath,wszComponentName,wszPreviousBackupStamp) | 
 
 
 
 
 
 | 463 | 
 #define IVssBackupComponentsEx2_SaveAsXML(This,pbstrXML) (This)->lpVtbl->SaveAsXML(This,pbstrXML) | 
 
 
 
 
 
 | 464 | 
 #define IVssBackupComponentsEx2_BackupComplete(This,ppAsync) (This)->lpVtbl->BackupComplete(This,ppAsync) | 
 
 
 
 
 
 | 465 | 
 #define IVssBackupComponentsEx2_AddAlternativeLocationMapping(This,writerId,componentType,wszLogicalPath,wszComponentName,wszPath,wszFilespec,bRecursive,wszDestination) (This)->lpVtbl->AddAlternativeLocationMapping(This,writerId,componentType,wszLogicalPath,wszComponentName,wszPath,wszFilespec,bRecursive,wszDestination) | 
 
 
 
 
 
 | 466 | 
 #define IVssBackupComponentsEx2_AddRestoreSubcomponent(This,writerId,componentType,wszLogicalPath,wszComponentName,wszSubComponentLogicalPath,wszSubComponentName,bRepair) (This)->lpVtbl->AddRestoreSubcomponent(This,writerId,componentType,wszLogicalPath,wszComponentName,wszSubComponentLogicalPath,wszSubComponentName,bRepair) | 
 
 
 
 
 
 | 467 | 
 #define IVssBackupComponentsEx2_SetFileRestoreStatus(This,writerId,componentType,wszLogicalPath,wszComponentName,status) (This)->lpVtbl->SetFileRestoreStatus(This,writerId,componentType,wszLogicalPath,wszComponentName,status) | 
 
 
 
 
 
 | 468 | 
 #define IVssBackupComponentsEx2_AddNewTarget(This,writerId,ct,wszLogicalPath,wszComponentName,wszPath,wszFileName,bRecursive,wszAlternatePath) (This)->lpVtbl->AddNewTarget(This,writerId,ct,wszLogicalPath,wszComponentName,wszPath,wszFileName,bRecursive,wszAlternatePath) | 
 
 
 
 
 
 | 469 | 
 #define IVssBackupComponentsEx2_SetRangesFilePath(This,writerId,ct,wszLogicalPath,wszComponentName,iPartialFile,wszRangesFile) (This)->lpVtbl->SetRangesFilePath(This,writerId,ct,wszLogicalPath,wszComponentName,iPartialFile,wszRangesFile) | 
 
 
 
 
 
 | 470 | 
 #define IVssBackupComponentsEx2_PreRestore(This,ppAsync) (This)->lpVtbl->PreRestore(This,ppAsync) | 
 
 
 
 
 
 | 471 | 
 #define IVssBackupComponentsEx2_PostRestore(This,ppAsync) (This)->lpVtbl->PostRestore(This,ppAsync) | 
 
 
 
 
 
 | 472 | 
 #define IVssBackupComponentsEx2_SetContext(This,lContext) (This)->lpVtbl->SetContext(This,lContext) | 
 
 
 
 
 
 | 473 | 
 #define IVssBackupComponentsEx2_StartSnapshotSet(This,pSnapshotSetId) (This)->lpVtbl->StartSnapshotSet(This,pSnapshotSetId) | 
 
 
 
 
 
 | 474 | 
 #define IVssBackupComponentsEx2_AddToSnapshotSet(This,pwszVolumeName,ProviderId,pidSnapshot) (This)->lpVtbl->AddToSnapshotSet(This,pwszVolumeName,ProviderId,pidSnapshot) | 
 
 
 
 
 
 | 475 | 
 #define IVssBackupComponentsEx2_DoSnapshotSet(This,ppAsync) (This)->lpVtbl->DoSnapshotSet(This,ppAsync) | 
 
 
 
 
 
 | 476 | 
 #define IVssBackupComponentsEx2_DeleteSnapshots(This,SourceObjectId,eSourceObjectType,bForceDelete,plDeletedSnapshots,pNondeletedSnapshotID) (This)->lpVtbl->DeleteSnapshots(This,SourceObjectId,eSourceObjectType,bForceDelete,plDeletedSnapshots,pNondeletedSnapshotID) | 
 
 
 
 
 
 | 477 | 
 #define IVssBackupComponentsEx2_ImportSnapshots(This,ppAsync) (This)->lpVtbl->ImportSnapshots(This,ppAsync) | 
 
 
 
 
 
 | 478 | 
 #define IVssBackupComponentsEx2_BreakSnapshotSet(This,SnapshotSetId) (This)->lpVtbl->BreakSnapshotSet(This,SnapshotSetId) | 
 
 
 
 
 
 | 479 | 
 #define IVssBackupComponentsEx2_GetSnapshotProperties(This,SnapshotId,pProp) (This)->lpVtbl->GetSnapshotProperties(This,SnapshotId,pProp) | 
 
 
 
 
 
 | 480 | 
 #define IVssBackupComponentsEx2_Query(This,QueriedObjectId,eQueriedObjectType,eReturnedObjectsType,ppEnum) (This)->lpVtbl->Query(This,QueriedObjectId,eQueriedObjectType,eReturnedObjectsType,ppEnum) | 
 
 
 
 
 
 | 481 | 
 #define IVssBackupComponentsEx2_IsVolumeSupported(This,ProviderId,pwszVolumeName,pbSupportedByThisProvider) (This)->lpVtbl->IsVolumeSupported(This,ProviderId,pwszVolumeName,pbSupportedByThisProvider) | 
 
 
 
 
 
 | 482 | 
 #define IVssBackupComponentsEx2_DisableWriterClasses(This,rgWriterClassId,cClassId) (This)->lpVtbl->DisableWriterClasses(This,rgWriterClassId,cClassId) | 
 
 
 
 
 
 | 483 | 
 #define IVssBackupComponentsEx2_EnableWriterClasses(This,rgWriterClassId,cClassId) (This)->lpVtbl->EnableWriterClasses(This,rgWriterClassId,cClassId) | 
 
 
 
 
 
 | 484 | 
 #define IVssBackupComponentsEx2_DisableWriterInstances(This,rgWriterInstanceId,cInstanceId) (This)->lpVtbl->DisableWriterInstances(This,rgWriterInstanceId,cInstanceId) | 
 
 
 
 
 
 | 485 | 
 #define IVssBackupComponentsEx2_ExposeSnapshot(This,SnapshotId,wszPathFromRoot,lAttributes,wszExpose,pwszExposed) (This)->lpVtbl->ExposeSnapshot(This,SnapshotId,wszPathFromRoot,lAttributes,wszExpose,pwszExposed) | 
 
 
 
 
 
 | 486 | 
 #define IVssBackupComponentsEx2_RevertToSnapshot(This,SnapshotId,bForceDismount) (This)->lpVtbl->RevertToSnapshot(This,SnapshotId,bForceDismount) | 
 
 
 
 
 
 | 487 | 
 #define IVssBackupComponentsEx2_QueryRevertStatus(This,pwszVolume,ppAsync) (This)->lpVtbl->QueryRevertStatus(This,pwszVolume,ppAsync) | 
 
 
 
 
 
 | 488 | 
 #define IVssBackupComponentsEx2_GetWriterMetadataEx(This,iWriter,pidInstance,ppMetadata) (This)->lpVtbl->GetWriterMetadataEx(This,iWriter,pidInstance,ppMetadata) | 
 
 
 
 
 
 | 489 | 
 #define IVssBackupComponentsEx2_SetSelectedForRestoreEx(This,writerId,ct,wszLogicalPath,wszComponentName,bSelectedForRestore,instanceId) (This)->lpVtbl->SetSelectedForRestoreEx(This,writerId,ct,wszLogicalPath,wszComponentName,bSelectedForRestore,instanceId) | 
 
 
 
 
 
 | 490 | 
 #define IVssBackupComponentsEx2_UnexposeSnapshot(This,snapshotId) (This)->lpVtbl->UnexposeSnapshot(This,snapshotId) | 
 
 
 
 
 
 | 491 | 
 #define IVssBackupComponentsEx2_SetAuthoritativeRestore(This,writerId,ct,wszLogicalPath,wszComponentName,bAuth) (This)->lpVtbl->SetAuthoritativeRestore(This,writerId,ct,wszLogicalPath,wszComponentName,bAuth) | 
 
 
 
 
 
 | 492 | 
 #define IVssBackupComponentsEx2_SetRollForward(This,writerId,ct,wszLogicalPath,wszComponentName,rollType,wszRollForwardPoint) (This)->lpVtbl->SetRollForward(This,writerId,ct,wszLogicalPath,wszComponentName,rollType,wszRollForwardPoint) | 
 
 
 
 
 
 | 493 | 
 #define IVssBackupComponentsEx2_SetRestoreName(This,writerId,ct,wszLogicalPath,wszComponentName,wszRestoreName) (This)->lpVtbl->SetRestoreName(This,writerId,ct,wszLogicalPath,wszComponentName,wszRestoreName) | 
 
 
 
 
 
 | 494 | 
 #define IVssBackupComponentsEx2_BreakSnapshotSetEx(This,SnapshotSetID,dwBreakFlags,ppAsync) (This)->lpVtbl->BreakSnapshotSetEx(This,SnapshotSetID,dwBreakFlags,ppAsync) | 
 
 
 
 
 
 | 495 | 
 #define IVssBackupComponentsEx2_PreFastRecovery() (This)->lpVtbl->PreFastRecovery(This) | 
 
 
 
 
 
 | 496 | 
 #define IVssBackupComponentsEx2_FastRecovery() (This)->lpVtbl->FastRecovery(This) | 
 
 
 
 
 
 | 497 | 
 #endif /*COBJMACROS*/ | 
 
 
 
 
 
 | 498 | 
 #endif /*(_WIN32_WINNT >= 0x0600)*/ | 
 
 
 
 
 
 | 499 | 
  | 
 
 
 
 
 
 | 500 | 
 #if (_WIN32_WINNT >= 0x0601) | 
 
 
 
 
 
 | 501 | 
 #undef  INTERFACE | 
 
 
 
 
 
 | 502 | 
 #define INTERFACE IVssBackupComponentsEx3 | 
 
 
 
 
 
 | 503 | 
 #ifdef __GNUC__ | 
 
 
 
 
 
 | 504 | 
 #warning COM interfaces layout in this header has not been verified. | 
 
 
 
 
 
 | 505 | 
 #warning COM interfaces with incorrect layout may not work at all. | 
 
 
 
 
 
 | 506 | 
 __MINGW_BROKEN_INTERFACE(INTERFACE) | 
 
 
 
 
 
 | 507 | 
 #endif | 
 
 
 
 
 
 | 508 | 
 DECLARE_INTERFACE_(IVssBackupComponentsEx3,IVssBackupComponentsEx2) | 
 
 
 
 
 
 | 509 | 
 { | 
 
 
 
 
 
 | 510 | 
     BEGIN_INTERFACE | 
 
 
 
 
 
 | 511 | 
  | 
 
 
 
 
 
 | 512 | 
     /* IUnknown methods */ | 
 
 
 
 
 
 | 513 | 
     STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE; | 
 
 
 
 
 
 | 514 | 
     STDMETHOD_(ULONG, AddRef)(THIS) PURE; | 
 
 
 
 
 
 | 515 | 
     STDMETHOD_(ULONG, Release)(THIS) PURE; | 
 
 
 
 
 
 | 516 | 
  | 
 
 
 
 
 
 | 517 | 
     /* IVssBackupComponents methods */ | 
 
 
 
 
 
 | 518 | 
     STDMETHOD_(HRESULT,GetWriterComponentsCount)(THIS_ UINT *pcComponents) PURE; | 
 
 
 
 
 
 | 519 | 
     STDMETHOD_(HRESULT,GetWriterComponents)(THIS_ UINT iWriter,IVssWriterComponentsExt **pWriterComponents) PURE; | 
 
 
 
 
 
 | 520 | 
     STDMETHOD_(HRESULT,InitializeForBackup)(THIS_ BSTR bstrXML) PURE; | 
 
 
 
 
 
 | 521 | 
     STDMETHOD_(HRESULT,SetBackupState)(THIS_ BOOLEAN bSelectComponents,BOOLEAN bBackupBootableSystemState,VSS_BACKUP_TYPE backupType,BOOLEAN bPartialFileSupport) PURE; | 
 
 
 
 
 
 | 522 | 
     STDMETHOD_(HRESULT,InitializeForRestore)(THIS_ BSTR bstrXML) PURE; | 
 
 
 
 
 
 | 523 | 
     STDMETHOD_(HRESULT,SetRestoreState)(THIS_ VSS_RESTORE_TYPE restoreType) PURE; | 
 
 
 
 
 
 | 524 | 
     STDMETHOD_(HRESULT,GatherWriterMetadata)(THIS_ IVssAsync **ppAsync) PURE; | 
 
 
 
 
 
 | 525 | 
     STDMETHOD_(HRESULT,GetWriterMetadataCount)(THIS_ UINT *pcWriters) PURE; | 
 
 
 
 
 
 | 526 | 
     STDMETHOD_(HRESULT,GetWriterMetadata)(THIS_ UINT iWriter,VSS_ID *pidWriterInstance,IVssExamineWriterMetadata **ppMetadata) PURE; | 
 
 
 
 
 
 | 527 | 
     STDMETHOD_(HRESULT,FreeWriterMetadata)(THIS) PURE; | 
 
 
 
 
 
 | 528 | 
     STDMETHOD_(HRESULT,AddComponent)(THIS_ VSS_ID instanceId,VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName) PURE; | 
 
 
 
 
 
 | 529 | 
     STDMETHOD_(HRESULT,PrepareForBackup)(THIS_ IVssAsync **ppAsync) PURE; | 
 
 
 
 
 
 | 530 | 
     STDMETHOD_(HRESULT,AbortBackup)(THIS) PURE; | 
 
 
 
 
 
 | 531 | 
     STDMETHOD_(HRESULT,GatherWriterStatus)(THIS_ IVssAsync **ppAsync) PURE; | 
 
 
 
 
 
 | 532 | 
     STDMETHOD_(HRESULT,GetWriterStatusCount)(THIS_ UINT *pcWriters) PURE; | 
 
 
 
 
 
 | 533 | 
     STDMETHOD_(HRESULT,FreeWriterStatus)(THIS) PURE; | 
 
 
 
 
 
 | 534 | 
     STDMETHOD_(HRESULT,GetWriterStatus)(THIS_ UINT iWriter,VSS_ID *pidInstance,VSS_ID *pidWriter,BSTR *pbstrWriter,VSS_WRITER_STATE *pState,HRESULT *pHrResultFailure) PURE; | 
 
 
 
 
 
 | 535 | 
     STDMETHOD_(HRESULT,SetBackupSucceeded)(THIS_ VSS_ID instanceId,VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,BOOLEAN bSucceeded) PURE; | 
 
 
 
 
 
 | 536 | 
     STDMETHOD_(HRESULT,SetBackupOptions)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,LPCWSTR wszBackupOptions) PURE; | 
 
 
 
 
 
 | 537 | 
     STDMETHOD_(HRESULT,SetSelectedForRestore)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,BOOLEAN bSelectedForRestore) PURE; | 
 
 
 
 
 
 | 538 | 
     STDMETHOD_(HRESULT,SetRestoreOptions)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,LPCWSTR wszRestoreOptions) PURE; | 
 
 
 
 
 
 | 539 | 
     STDMETHOD_(HRESULT,SetAdditionalRestores)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,BOOLEAN bAdditionalResources) PURE; | 
 
 
 
 
 
 | 540 | 
     STDMETHOD_(HRESULT,SetPreviousBackupStamp)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,LPCWSTR wszPreviousBackupStamp) PURE; | 
 
 
 
 
 
 | 541 | 
     STDMETHOD_(HRESULT,SaveAsXML)(THIS_ BSTR *pbstrXML) PURE; | 
 
 
 
 
 
 | 542 | 
     STDMETHOD_(HRESULT,BackupComplete)(THIS_ IVssAsync **ppAsync) PURE; | 
 
 
 
 
 
 | 543 | 
     STDMETHOD_(HRESULT,AddAlternativeLocationMapping)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,LPCWSTR wszPath,LPCWSTR wszFilespec,BOOLEAN bRecursive,LPCWSTR wszDestination) PURE; | 
 
 
 
 
 
 | 544 | 
     STDMETHOD_(HRESULT,AddRestoreSubcomponent)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,LPCWSTR wszSubComponentLogicalPath,LPCWSTR wszSubComponentName,BOOLEAN bRepair) PURE; | 
 
 
 
 
 
 | 545 | 
     STDMETHOD_(HRESULT,SetFileRestoreStatus)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE componentType,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,VSS_FILE_RESTORE_STATUS status) PURE; | 
 
 
 
 
 
 | 546 | 
     STDMETHOD_(HRESULT,AddNewTarget)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE ct,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,LPCWSTR wszPath,LPCWSTR wszFileName,BOOLEAN bRecursive,LPCWSTR wszAlternatePath) PURE; | 
 
 
 
 
 
 | 547 | 
     STDMETHOD_(HRESULT,SetRangesFilePath)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE ct,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,UINT iPartialFile,LPCWSTR wszRangesFile) PURE; | 
 
 
 
 
 
 | 548 | 
     STDMETHOD_(HRESULT,PreRestore)(THIS_ IVssAsync **ppAsync) PURE; | 
 
 
 
 
 
 | 549 | 
     STDMETHOD_(HRESULT,PostRestore)(THIS_ IVssAsync **ppAsync) PURE; | 
 
 
 
 
 
 | 550 | 
     STDMETHOD_(HRESULT,SetContext)(THIS_ LONG lContext) PURE; | 
 
 
 
 
 
 | 551 | 
     STDMETHOD_(HRESULT,StartSnapshotSet)(THIS_ VSS_ID *pSnapshotSetId) PURE; | 
 
 
 
 
 
 | 552 | 
     STDMETHOD_(HRESULT,AddToSnapshotSet)(THIS_ VSS_PWSZ pwszVolumeName,VSS_ID ProviderId,VSS_ID *pidSnapshot) PURE; | 
 
 
 
 
 
 | 553 | 
     STDMETHOD_(HRESULT,DoSnapshotSet)(THIS_ IVssAsync **ppAsync) PURE; | 
 
 
 
 
 
 | 554 | 
     STDMETHOD_(HRESULT,DeleteSnapshots)(THIS_ VSS_ID SourceObjectId,VSS_OBJECT_TYPE eSourceObjectType,BOOLEAN bForceDelete,LONG *plDeletedSnapshots,VSS_ID *pNondeletedSnapshotID) PURE; | 
 
 
 
 
 
 | 555 | 
     STDMETHOD_(HRESULT,ImportSnapshots)(THIS_ IVssAsync **ppAsync) PURE; | 
 
 
 
 
 
 | 556 | 
     STDMETHOD_(HRESULT,BreakSnapshotSet)(THIS_ VSS_ID SnapshotSetId) PURE; | 
 
 
 
 
 
 | 557 | 
     STDMETHOD_(HRESULT,GetSnapshotProperties)(THIS_ VSS_ID SnapshotId,VSS_SNAPSHOT_PROP *pProp) PURE; | 
 
 
 
 
 
 | 558 | 
     STDMETHOD_(HRESULT,Query)(THIS_ VSS_ID QueriedObjectId,VSS_OBJECT_TYPE eQueriedObjectType,VSS_OBJECT_TYPE eReturnedObjectsType,IVssEnumObject **ppEnum) PURE; | 
 
 
 
 
 
 | 559 | 
     STDMETHOD_(HRESULT,IsVolumeSupported)(THIS_ VSS_ID ProviderId,VSS_PWSZ pwszVolumeName,BOOLEAN *pbSupportedByThisProvider) PURE; | 
 
 
 
 
 
 | 560 | 
     STDMETHOD_(HRESULT,DisableWriterClasses)(THIS_ const VSS_ID *rgWriterClassId,UINT cClassId) PURE; | 
 
 
 
 
 
 | 561 | 
     STDMETHOD_(HRESULT,EnableWriterClasses)(THIS_ const VSS_ID *rgWriterClassId,UINT cClassId) PURE; | 
 
 
 
 
 
 | 562 | 
     STDMETHOD_(HRESULT,DisableWriterInstances)(THIS_ const VSS_ID *rgWriterInstanceId,UINT cInstanceId) PURE; | 
 
 
 
 
 
 | 563 | 
     STDMETHOD_(HRESULT,ExposeSnapshot)(THIS_ VSS_ID SnapshotId,VSS_PWSZ wszPathFromRoot,LONG lAttributes,VSS_PWSZ wszExpose,VSS_PWSZ *pwszExposed) PURE; | 
 
 
 
 
 
 | 564 | 
     STDMETHOD_(HRESULT,RevertToSnapshot)(THIS_ VSS_ID SnapshotId,BOOLEAN bForceDismount) PURE; | 
 
 
 
 
 
 | 565 | 
     STDMETHOD_(HRESULT,QueryRevertStatus)(THIS_ VSS_PWSZ pwszVolume,IVssAsync **ppAsync) PURE; | 
 
 
 
 
 
 | 566 | 
  | 
 
 
 
 
 
 | 567 | 
     /* IVssBackupComponentsEx methods */ | 
 
 
 
 
 
 | 568 | 
     STDMETHOD_(HRESULT,GetWriterMetadataEx)(THIS_ UINT iWriter,VSS_ID *pidInstance,IVssExamineWriterMetadataEx **ppMetadata) PURE; | 
 
 
 
 
 
 | 569 | 
     STDMETHOD_(HRESULT,SetSelectedForRestoreEx)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE ct,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,BOOLEAN bSelectedForRestore,VSS_ID instanceId) PURE; | 
 
 
 
 
 
 | 570 | 
  | 
 
 
 
 
 
 | 571 | 
     /* IVssBackupComponentsEx2 methods */ | 
 
 
 
 
 
 | 572 | 
     STDMETHOD_(HRESULT,UnexposeSnapshot)(THIS_ VSS_ID snapshotId) PURE; | 
 
 
 
 
 
 | 573 | 
     STDMETHOD_(HRESULT,SetAuthoritativeRestore)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE ct,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,BOOLEAN bAuth) PURE; | 
 
 
 
 
 
 | 574 | 
     STDMETHOD_(HRESULT,SetRollForward)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE ct,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,VSS_ROLLFORWARD_TYPE rollType,LPCWSTR wszRollForwardPoint) PURE; | 
 
 
 
 
 
 | 575 | 
     STDMETHOD_(HRESULT,SetRestoreName)(THIS_ VSS_ID writerId,VSS_COMPONENT_TYPE ct,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,LPCWSTR wszRestoreName) PURE; | 
 
 
 
 
 
 | 576 | 
     STDMETHOD_(HRESULT,BreakSnapshotSetEx)(THIS_ VSS_ID SnapshotSetID,DWORD dwBreakFlags,IVssAsync **ppAsync) PURE; | 
 
 
 
 
 
 | 577 | 
     STDMETHOD_(HRESULT,PreFastRecovery)(THIS) PURE; /*Unsupported*/ | 
 
 
 
 
 
 | 578 | 
     STDMETHOD_(HRESULT,FastRecovery)(THIS) PURE;    /*Unsupported*/ | 
 
 
 
 
 
 | 579 | 
  | 
 
 
 
 
 
 | 580 | 
     /* IVssBackupComponentsEx3 methods */ | 
 
 
 
 
 
 | 581 | 
     STDMETHOD_(HRESULT,AddSnapshotToRecoverySet)(THIS_ VSS_ID snapshotId,DWORD dwFlags,VSS_PWSZ pwszDestinationVolume) PURE; | 
 
 
 
 
 
 | 582 | 
     STDMETHOD_(HRESULT,GetSessionId)(THIS_ VSS_ID *idSession) PURE; | 
 
 
 
 
 
 | 583 | 
     STDMETHOD_(HRESULT,GetWriterStatusEx)(THIS_ UINT iWriter,VSS_ID *pidInstance,VSS_ID *pidWriter,BSTR *pbstrWriter,VSS_WRITER_STATE *pnStatus,HRESULT *phrFailureWriter,BSTR *pbstrApplicationMessage) PURE; | 
 
 
 
 
 
 | 584 | 
     STDMETHOD_(HRESULT,RecoverSet)(THIS_ DWORD dwFlags,IVssAsync **ppAsync) PURE; | 
 
 
 
 
 
 | 585 | 
  | 
 
 
 
 
 
 | 586 | 
     END_INTERFACE | 
 
 
 
 
 
 | 587 | 
 }; | 
 
 
 
 
 
 | 588 | 
 #ifdef COBJMACROS | 
 
 
 
 
 
 | 589 | 
 #define IVssBackupComponentsEx3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) | 
 
 
 
 
 
 | 590 | 
 #define IVssBackupComponentsEx3_AddRef(This) (This)->lpVtbl->AddRef(This) | 
 
 
 
 
 
 | 591 | 
 #define IVssBackupComponentsEx3_Release(This) (This)->lpVtbl->Release(This) | 
 
 
 
 
 
 | 592 | 
 #define IVssBackupComponentsEx3_AddSnapshotToRecoverySet(This,snapshotId,dwFlags,pwszDestinationVolume) (This)->lpVtbl->AddSnapshotToRecoverySet(This,snapshotId,dwFlags,pwszDestinationVolume) | 
 
 
 
 
 
 | 593 | 
 #define IVssBackupComponentsEx3_GetSessionId(This,idSession) (This)->lpVtbl->GetSessionId(This,idSession) | 
 
 
 
 
 
 | 594 | 
 #define IVssBackupComponentsEx3_GetWriterStatusEx(This,iWriter,pidInstance,pidWriter,pbstrWriter,pnStatus,phrFailureWriter,pbstrApplicationMessage) (This)->lpVtbl->GetWriterStatusEx(This,iWriter,pidInstance,pidWriter,pbstrWriter,pnStatus,phrFailureWriter,pbstrApplicationMessage) | 
 
 
 
 
 
 | 595 | 
 #define IVssBackupComponentsEx3_RecoverSet(This,dwFlags,ppAsync) (This)->lpVtbl->RecoverSet(This,dwFlags,ppAsync) | 
 
 
 
 
 
 | 596 | 
 #endif /*COBJMACROS*/ | 
 
 
 
 
 
 | 597 | 
 #endif /*(_WIN32_WINNT >= 0x0601)*/ | 
 
 
 
 
 
 | 598 | 
  | 
 
 
 
 
 
 | 599 | 
 #ifdef __cplusplus | 
 
 
 
 
 
 | 600 | 
 /* Is a C++ interface instead of a COM */ | 
 
 
 
 
 
 | 601 | 
 #undef  INTERFACE | 
 
 
 
 
 
 | 602 | 
 #define INTERFACE IVssExamineWriterMetadata | 
 
 
 
 
 
 | 603 | 
 #ifdef __GNUC__ | 
 
 
 
 
 
 | 604 | 
 #warning COM interfaces layout in this header has not been verified. | 
 
 
 
 
 
 | 605 | 
 #warning COM interfaces with incorrect layout may not work at all. | 
 
 
 
 
 
 | 606 | 
 __MINGW_BROKEN_INTERFACE(INTERFACE) | 
 
 
 
 
 
 | 607 | 
 #endif | 
 
 
 
 
 
 | 608 | 
 DECLARE_INTERFACE_(IVssExamineWriterMetadata,IUnknown) | 
 
 
 
 
 
 | 609 | 
 { | 
 
 
 
 
 
 | 610 | 
     BEGIN_INTERFACE | 
 
 
 
 
 
 | 611 | 
  | 
 
 
 
 
 
 | 612 | 
     /* IUnknown methods */ | 
 
 
 
 
 
 | 613 | 
     STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE; | 
 
 
 
 
 
 | 614 | 
     STDMETHOD_(ULONG, AddRef)(THIS) PURE; | 
 
 
 
 
 
 | 615 | 
     STDMETHOD_(ULONG, Release)(THIS) PURE; | 
 
 
 
 
 
 | 616 | 
  | 
 
 
 
 
 
 | 617 | 
     /* IVssExamineWriterMetadata methods */ | 
 
 
 
 
 
 | 618 | 
     STDMETHOD_(HRESULT,GetIdentity)(THIS_ VSS_ID *pidInstance,VSS_ID *pidWriter,BSTR *pbstrWriterName,VSS_USAGE_TYPE *pUsage,VSS_SOURCE_TYPE *pSource) PURE; | 
 
 
 
 
 
 | 619 | 
     STDMETHOD_(HRESULT,GetFileCounts)(THIS_ UINT *pcIncludeFiles,UINT *pcExcludeFiles,UINT *pcComponents) PURE; | 
 
 
 
 
 
 | 620 | 
     STDMETHOD_(HRESULT,GetIncludeFile)(THIS) PURE; | 
 
 
 
 
 
 | 621 | 
     STDMETHOD_(HRESULT,GetExcludeFile)(THIS_ UINT iFile,IVssWMFiledesc **ppFiledesc) PURE; | 
 
 
 
 
 
 | 622 | 
     STDMETHOD_(HRESULT,GetComponent)(THIS_ UINT iComponent,IVssWMComponent **ppComponent) PURE; | 
 
 
 
 
 
 | 623 | 
     STDMETHOD_(HRESULT,GetRestoreMethod)(THIS_ VSS_RESTOREMETHOD_ENUM *pMethod,BSTR *pbstrService,BSTR *pbstrUserProcedure,VSS_WRITERRESTORE_ENUM *pwreWriterRestore,BOOLEAN *pbRebootRequired,UINT *piMappings) PURE; | 
 
 
 
 
 
 | 624 | 
     STDMETHOD_(HRESULT,GetAlternateLocationMapping)(THIS_ UINT iMapping,IVssWMFiledesc **ppMapping) PURE; | 
 
 
 
 
 
 | 625 | 
     STDMETHOD_(HRESULT,GetBackupSchema)(THIS_ DWORD *pdsSchemaMask) PURE; | 
 
 
 
 
 
 | 626 | 
     STDMETHOD_(HRESULT,GetDocument)(THIS) PURE; | 
 
 
 
 
 
 | 627 | 
     STDMETHOD_(HRESULT,SaveAsXML)(THIS_ BSTR *pbstrXML) PURE; | 
 
 
 
 
 
 | 628 | 
     STDMETHOD_(HRESULT,LoadFromXML)(THIS_ BSTR bstrXML) PURE; | 
 
 
 
 
 
 | 629 | 
  | 
 
 
 
 
 
 | 630 | 
     END_INTERFACE | 
 
 
 
 
 
 | 631 | 
 }; | 
 
 
 
 
 
 | 632 | 
  | 
 
 
 
 
 
 | 633 | 
 #if (_WIN32_WINNT >= 0x0600) | 
 
 
 
 
 
 | 634 | 
 #undef  INTERFACE | 
 
 
 
 
 
 | 635 | 
 #define INTERFACE IVssExamineWriterMetadataEx | 
 
 
 
 
 
 | 636 | 
 #ifdef __GNUC__ | 
 
 
 
 
 
 | 637 | 
 #warning COM interfaces layout in this header has not been verified. | 
 
 
 
 
 
 | 638 | 
 #warning COM interfaces with incorrect layout may not work at all. | 
 
 
 
 
 
 | 639 | 
 __MINGW_BROKEN_INTERFACE(INTERFACE) | 
 
 
 
 
 
 | 640 | 
 #endif | 
 
 
 
 
 
 | 641 | 
 DECLARE_INTERFACE_(IVssExamineWriterMetadataEx,IVssExamineWriterMetadata) | 
 
 
 
 
 
 | 642 | 
 { | 
 
 
 
 
 
 | 643 | 
     BEGIN_INTERFACE | 
 
 
 
 
 
 | 644 | 
  | 
 
 
 
 
 
 | 645 | 
     /* IUnknown methods */ | 
 
 
 
 
 
 | 646 | 
     STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE; | 
 
 
 
 
 
 | 647 | 
     STDMETHOD_(ULONG, AddRef)(THIS) PURE; | 
 
 
 
 
 
 | 648 | 
     STDMETHOD_(ULONG, Release)(THIS) PURE; | 
 
 
 
 
 
 | 649 | 
  | 
 
 
 
 
 
 | 650 | 
     /* IVssExamineWriterMetadata methods */ | 
 
 
 
 
 
 | 651 | 
     STDMETHOD_(HRESULT,GetIdentity)(THIS_ VSS_ID *pidInstance,VSS_ID *pidWriter,BSTR *pbstrWriterName,VSS_USAGE_TYPE *pUsage,VSS_SOURCE_TYPE *pSource) PURE; | 
 
 
 
 
 
 | 652 | 
     STDMETHOD_(HRESULT,GetFileCounts)(THIS_ UINT *pcIncludeFiles,UINT *pcExcludeFiles,UINT *pcComponents) PURE; | 
 
 
 
 
 
 | 653 | 
     STDMETHOD_(HRESULT,GetIncludeFile)(THIS) PURE; | 
 
 
 
 
 
 | 654 | 
     STDMETHOD_(HRESULT,GetExcludeFile)(THIS_ UINT iFile,IVssWMFiledesc **ppFiledesc) PURE; | 
 
 
 
 
 
 | 655 | 
     STDMETHOD_(HRESULT,GetComponent)(THIS_ UINT iComponent,IVssWMComponent **ppComponent) PURE; | 
 
 
 
 
 
 | 656 | 
     STDMETHOD_(HRESULT,GetRestoreMethod)(THIS_ VSS_RESTOREMETHOD_ENUM *pMethod,BSTR *pbstrService,BSTR *pbstrUserProcedure,VSS_WRITERRESTORE_ENUM *pwreWriterRestore,BOOLEAN *pbRebootRequired,UINT *piMappings) PURE; | 
 
 
 
 
 
 | 657 | 
     STDMETHOD_(HRESULT,GetAlternateLocationMapping)(THIS_ UINT iMapping,IVssWMFiledesc **ppMapping) PURE; | 
 
 
 
 
 
 | 658 | 
     STDMETHOD_(HRESULT,GetBackupSchema)(THIS_ DWORD *pdsSchemaMask) PURE; | 
 
 
 
 
 
 | 659 | 
     STDMETHOD_(HRESULT,GetDocument)(THIS) PURE; | 
 
 
 
 
 
 | 660 | 
     STDMETHOD_(HRESULT,SaveAsXML)(THIS_ BSTR *pbstrXML) PURE; | 
 
 
 
 
 
 | 661 | 
     STDMETHOD_(HRESULT,LoadFromXML)(THIS_ BSTR bstrXML) PURE; | 
 
 
 
 
 
 | 662 | 
  | 
 
 
 
 
 
 | 663 | 
     /* IVssExamineWriterMetadataEx methods */ | 
 
 
 
 
 
 | 664 | 
     STDMETHOD_(HRESULT,GetIdentityEx)(THIS_ VSS_ID *pidInstance,VSS_ID *pidWriter,BSTR *pbstrWriterName,BSTR *pbstrInstanceName,VSS_USAGE_TYPE *pUsage,VSS_SOURCE_TYPE *pSource) PURE; | 
 
 
 
 
 
 | 665 | 
  | 
 
 
 
 
 
 | 666 | 
     END_INTERFACE | 
 
 
 
 
 
 | 667 | 
 }; | 
 
 
 
 
 
 | 668 | 
  | 
 
 
 
 
 
 | 669 | 
 #undef  INTERFACE | 
 
 
 
 
 
 | 670 | 
 #define INTERFACE IVssExamineWriterMetadataEx2 | 
 
 
 
 
 
 | 671 | 
 #ifdef __GNUC__ | 
 
 
 
 
 
 | 672 | 
 #warning COM interfaces layout in this header has not been verified. | 
 
 
 
 
 
 | 673 | 
 #warning COM interfaces with incorrect layout may not work at all. | 
 
 
 
 
 
 | 674 | 
 __MINGW_BROKEN_INTERFACE(INTERFACE) | 
 
 
 
 
 
 | 675 | 
 #endif | 
 
 
 
 
 
 | 676 | 
 DECLARE_INTERFACE_(IVssExamineWriterMetadataEx2,IVssExamineWriterMetadataEx) | 
 
 
 
 
 
 | 677 | 
 { | 
 
 
 
 
 
 | 678 | 
     BEGIN_INTERFACE | 
 
 
 
 
 
 | 679 | 
  | 
 
 
 
 
 
 | 680 | 
     /* IUnknown methods */ | 
 
 
 
 
 
 | 681 | 
     STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE; | 
 
 
 
 
 
 | 682 | 
     STDMETHOD_(ULONG, AddRef)(THIS) PURE; | 
 
 
 
 
 
 | 683 | 
     STDMETHOD_(ULONG, Release)(THIS) PURE; | 
 
 
 
 
 
 | 684 | 
  | 
 
 
 
 
 
 | 685 | 
 /* IVssExamineWriterMetadata methods */ | 
 
 
 
 
 
 | 686 | 
     STDMETHOD_(HRESULT,GetIdentity)(THIS_ VSS_ID *pidInstance,VSS_ID *pidWriter,BSTR *pbstrWriterName,VSS_USAGE_TYPE *pUsage,VSS_SOURCE_TYPE *pSource) PURE; | 
 
 
 
 
 
 | 687 | 
     STDMETHOD_(HRESULT,GetFileCounts)(THIS_ UINT *pcIncludeFiles,UINT *pcExcludeFiles,UINT *pcComponents) PURE; | 
 
 
 
 
 
 | 688 | 
     STDMETHOD_(HRESULT,GetIncludeFile)(THIS) PURE; | 
 
 
 
 
 
 | 689 | 
     STDMETHOD_(HRESULT,GetExcludeFile)(THIS_ UINT iFile,IVssWMFiledesc **ppFiledesc) PURE; | 
 
 
 
 
 
 | 690 | 
     STDMETHOD_(HRESULT,GetComponent)(THIS_ UINT iComponent,IVssWMComponent **ppComponent) PURE; | 
 
 
 
 
 
 | 691 | 
     STDMETHOD_(HRESULT,GetRestoreMethod)(THIS_ VSS_RESTOREMETHOD_ENUM *pMethod,BSTR *pbstrService,BSTR *pbstrUserProcedure,VSS_WRITERRESTORE_ENUM *pwreWriterRestore,BOOLEAN *pbRebootRequired,UINT *piMappings) PURE; | 
 
 
 
 
 
 | 692 | 
     STDMETHOD_(HRESULT,GetAlternateLocationMapping)(THIS_ UINT iMapping,IVssWMFiledesc **ppMapping) PURE; | 
 
 
 
 
 
 | 693 | 
     STDMETHOD_(HRESULT,GetBackupSchema)(THIS_ DWORD *pdsSchemaMask) PURE; | 
 
 
 
 
 
 | 694 | 
     STDMETHOD_(HRESULT,GetDocument)(THIS) PURE; | 
 
 
 
 
 
 | 695 | 
     STDMETHOD_(HRESULT,SaveAsXML)(THIS_ BSTR *pbstrXML) PURE; | 
 
 
 
 
 
 | 696 | 
     STDMETHOD_(HRESULT,LoadFromXML)(THIS_ BSTR bstrXML) PURE; | 
 
 
 
 
 
 | 697 | 
  | 
 
 
 
 
 
 | 698 | 
     /* IVssExamineWriterMetadataEx methods */ | 
 
 
 
 
 
 | 699 | 
     STDMETHOD_(HRESULT,GetIdentityEx)(THIS_ VSS_ID *pidInstance,VSS_ID *pidWriter,BSTR *pbstrWriterName,BSTR *pbstrInstanceName,VSS_USAGE_TYPE *pUsage,VSS_SOURCE_TYPE *pSource) PURE; | 
 
 
 
 
 
 | 700 | 
  | 
 
 
 
 
 
 | 701 | 
     /* IVssExamineWriterMetadataEx2 methods */ | 
 
 
 
 
 
 | 702 | 
     STDMETHOD_(HRESULT,GetVersion)(THIS_ DWORD *pdwMajorVersion,DWORD *pdwMinorVersion) PURE; | 
 
 
 
 
 
 | 703 | 
     STDMETHOD_(HRESULT,GetExcludeFromSnapshotCount)(THIS_ UINT *pcExcludedFromSnapshot) PURE; | 
 
 
 
 
 
 | 704 | 
     STDMETHOD_(HRESULT,GetExcludeFromSnapshotFile)(THIS_ UINT iFile,IVssWMFiledesc **ppFiledesc) PURE; | 
 
 
 
 
 
 | 705 | 
  | 
 
 
 
 
 
 | 706 | 
     END_INTERFACE | 
 
 
 
 
 
 | 707 | 
 }; | 
 
 
 
 
 
 | 708 | 
  | 
 
 
 
 
 
 | 709 | 
 #endif /*(_WIN32_WINNT >= 0x0600)*/ | 
 
 
 
 
 
 | 710 | 
  | 
 
 
 
 
 
 | 711 | 
 #undef  INTERFACE | 
 
 
 
 
 
 | 712 | 
 #define INTERFACE IVssWMComponent | 
 
 
 
 
 
 | 713 | 
 #ifdef __GNUC__ | 
 
 
 
 
 
 | 714 | 
 #warning COM interfaces layout in this header has not been verified. | 
 
 
 
 
 
 | 715 | 
 #warning COM interfaces with incorrect layout may not work at all. | 
 
 
 
 
 
 | 716 | 
 __MINGW_BROKEN_INTERFACE(INTERFACE) | 
 
 
 
 
 
 | 717 | 
 #endif | 
 
 
 
 
 
 | 718 | 
 DECLARE_INTERFACE_(IVssWMComponent,IUnknown) | 
 
 
 
 
 
 | 719 | 
 { | 
 
 
 
 
 
 | 720 | 
     BEGIN_INTERFACE | 
 
 
 
 
 
 | 721 | 
  | 
 
 
 
 
 
 | 722 | 
     /* IUnknown methods */ | 
 
 
 
 
 
 | 723 | 
     STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE; | 
 
 
 
 
 
 | 724 | 
     STDMETHOD_(ULONG, AddRef)(THIS) PURE; | 
 
 
 
 
 
 | 725 | 
     STDMETHOD_(ULONG, Release)(THIS) PURE; | 
 
 
 
 
 
 | 726 | 
  | 
 
 
 
 
 
 | 727 | 
     /* IVssWMComponent methods */ | 
 
 
 
 
 
 | 728 | 
     STDMETHOD_(HRESULT,GetComponentInfo)(THIS_ PVSSCOMPONENTINFO *ppInfo) PURE; | 
 
 
 
 
 
 | 729 | 
     STDMETHOD_(HRESULT,FreeComponentInfo)(THIS_ VSS_COMPONENTINFO *pInfo) PURE; | 
 
 
 
 
 
 | 730 | 
     STDMETHOD_(HRESULT,GetFile)(THIS_ UINT iFile,IVssWMFiledesc **ppFiledesc) PURE; | 
 
 
 
 
 
 | 731 | 
     STDMETHOD_(HRESULT,GetDatabaseFile)(THIS_ UINT iFile,IVssWMFiledesc **ppFiledesc) PURE; | 
 
 
 
 
 
 | 732 | 
     STDMETHOD_(HRESULT,GetDatabaseLogFile)(THIS_ UINT iFile,IVssWMFiledesc **ppFiledesc) PURE; | 
 
 
 
 
 
 | 733 | 
     STDMETHOD_(HRESULT,GetDependency)(THIS_ UINT iDependency,IVssWMDependency **ppDependency) PURE; | 
 
 
 
 
 
 | 734 | 
  | 
 
 
 
 
 
 | 735 | 
     END_INTERFACE | 
 
 
 
 
 
 | 736 | 
 }; | 
 
 
 
 
 
 | 737 | 
  | 
 
 
 
 
 
 | 738 | 
 #undef  INTERFACE | 
 
 
 
 
 
 | 739 | 
 #define INTERFACE IVssWriterComponentsExt | 
 
 
 
 
 
 | 740 | 
 DECLARE_INTERFACE_(IVssWriterComponentsExt,IUnknown) | 
 
 
 
 
 
 | 741 | 
 { | 
 
 
 
 
 
 | 742 | 
     BEGIN_INTERFACE | 
 
 
 
 
 
 | 743 | 
  | 
 
 
 
 
 
 | 744 | 
     /* IUnknown methods */ | 
 
 
 
 
 
 | 745 | 
     STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE; | 
 
 
 
 
 
 | 746 | 
     STDMETHOD_(ULONG, AddRef)(THIS) PURE; | 
 
 
 
 
 
 | 747 | 
     STDMETHOD_(ULONG, Release)(THIS) PURE; | 
 
 
 
 
 
 | 748 | 
  | 
 
 
 
 
 
 | 749 | 
     /* IVssWriterComponentsExt methods */ | 
 
 
 
 
 
 | 750 | 
     /* No additional members */ | 
 
 
 
 
 
 | 751 | 
  | 
 
 
 
 
 
 | 752 | 
     END_INTERFACE | 
 
 
 
 
 
 | 753 | 
 }; | 
 
 
 
 
 
 | 754 | 
  | 
 
 
 
 
 
 | 755 | 
 #endif /*__cplusplus*/ | 
 
 
 
 
 
 | 756 | 
 #endif /*_INC_VSBACKUP*/ |