-
Notifications
You must be signed in to change notification settings - Fork 263
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vss: Fix IVssBackupComponents::SetBackupState call
We currently always call the IVssBackupComponents::SetBackupState method with the arguments bSelectComponents and bBackupBootableSystemState set to true. This indicates that we do a backup or restore operation in component mode and that a bootable system state backup is being performed. This is not really true until we fully implement the whole VSS API in a new dedicated VSS plugin. As such this patch adds a new event bEventVssSetBackupState which is raised when normally a IVssBackupComponents::SetBackupState call is done the plugin can register this event and implement its own call to IVssBackupComponents::SetBackupState with the options it want to set and return an bRC_Skip to let the core not call the method. This patch also adds a new event named bEventVssPrepareForBackup which is raised just before a call to IVssBackupComponents::PrepareForBackup is done. Fixes #562: VSS Plugin is missing method IVssBackupComponents::SetBackupSucceeded
- Loading branch information
Marco van Wieringen
committed
Jun 15, 2016
1 parent
3ae6aa7
commit 8b1c713
Showing
3 changed files
with
54 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters