CVssWriterEx class (vswriter.h)

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:

Inheritance

The CVssWriterEx class implements CVssWriter.

Methods

The CVssWriterEx class has these methods.

 
CVssWriterEx::GetIdentifyInformation

Obtains the metadata that the writer's OnIdentify or OnIdentifyEx method previously reported.
CVssWriterEx::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.
CVssWriterEx::OnIdentifyEx

Returns a pointer to an IVssCreateWriterMetadataEx object.
CVssWriterEx::SubscribeEx

Causes the writer to subscribe to VSS events.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header vswriter.h (include Vss.h, VsWriter.h)

See also

CVssWriter