IVssWriterComponents class (vswriter.h)
The IVssWriterComponents interface is a C++ (not COM) interface that contains methods used to obtain and modify component information (in the form of IVssComponent objects) associated with a given writer but stored in a requester's Backup Components Document.
The CVssWriter base class is responsible for passing an instance of the IVssWriterComponents interface to the following event handlers:
- CVssWriter::OnPrepareBackup
- CVssWriter::OnBackupComplete
- CVssWriter::OnPreRestore
- CVssWriter::OnPostRestore
- CVssWriter::OnPostSnapshot
IVssWriterComponents defines the following methods.
Method | Description |
---|---|
GetComponent | Returns the components belonging to a given writer instance. |
GetComponentCount | Returns the number of components belonging to a given writer instance. |
GetWriterInfo | Returns the instance and class identifier of the writer responsible for the components. |
Methods
The IVssWriterComponents class has these methods.
IVssWriterComponents::GetComponent The GetComponent method returns an IVssComponent interface to one of a given writer's components explicitly stored in the Backup Components Document. |
IVssWriterComponents::GetComponentCount The GetComponentCount method returns the number of a given writer's components explicitly stored in the Backup Components Document. |
IVssWriterComponents::GetWriterInfo The GetWriterInfo method gets the instance and class identifier of the writer responsible for the components. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | vswriter.h (include Vss.h, VsWriter.h) |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for