CVssWriterEx class

The CVssWriterEx class is an abstract base class that defines the interface by which a writer synchronizes its state with VSS and other writers.

The CVssWriterEx class inherits the methods of the CVssWriter class.

Every writer must create an instance of the CVssWriter or CVssWriterEx class.

Objects that are derived from CVssWriterEx must supply implementations for all of the pure virtual methods of both the CVssWriterEx and CVssWriter classes.

A writer can override any or all of the virtual methods of CVssWriterEx and CVssWriter. However, a writer can override the OnIdentify or OnIdentifyEx method, but not both.

CVssWriterEx has these types of members:

Protected Methods

GetIdentifyInformation Obtains the metadata that the writer's OnIdentify or OnIdentifyEx method previously reported.
SubscribeEx Causes the writer to subscribe to VSS events.


Virtual Methods

OnIdentifyEx Writer-overridable method called during the Identify event. This method returns a pointer to an IVssCreateWriterMetadataEx object.


Public Methods

InitializeEx Initializes a CVssWriterEx object and allows a writer application to interact with VSS. Unlike the Initialize method, the InitializeEx method allows the caller to specify writer version information.



Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]


VsWriter.h (include Vss.h or VsWriter.h)



See also