diff options
author | Chris Wilson <chris+github@qwirx.com> | 2011-04-08 20:01:01 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2011-04-08 20:01:01 +0000 |
commit | e781efb4d798c8b9c89c4969c21d6f8b0518f7f8 (patch) | |
tree | 0c257c6c8d1a3db4ebd34e13c6a8a68efac14adc /bin/bbackupd/BackupDaemon.h | |
parent | c9a4363f78b210df9deaa268b7ad57ee39214e42 (diff) |
Actually create a VSS snapshot.
Clean up writer metadata and writer status after use.
Diffstat (limited to 'bin/bbackupd/BackupDaemon.h')
-rw-r--r-- | bin/bbackupd/BackupDaemon.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/bbackupd/BackupDaemon.h b/bin/bbackupd/BackupDaemon.h index a3bbbf3b..94a6abbb 100644 --- a/bin/bbackupd/BackupDaemon.h +++ b/bin/bbackupd/BackupDaemon.h @@ -532,6 +532,9 @@ public: IVssBackupComponents* mpVssBackupComponents; void CreateVssBackupComponents(); bool WaitForAsync(IVssAsync *pAsync, const std::string& description); + typedef HRESULT (__stdcall IVssBackupComponents::*AsyncMethod)(IVssAsync**); + bool CallAndWaitForAsync(AsyncMethod method, + const std::string& description); #endif }; |