CVssWriterEx2 class (vswriter.h)

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

The CVssWriterEx2 class inherits the methods of the CVssWriterEx class.

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

Objects that are derived from CVssWriterEx2 must supply implementations for all of the pure virtual methods of 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.

CVssWriterEx2 has these types of members:


The CVssWriterEx2 class implements CVssWriterEx.


The CVssWriterEx2 class has these methods.


Returns the writer's session identifier.

Determines whether the writer is shutting down.

Sets extended error information to indicate that the writer has encountered a problem with participating in a VSS operation.


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

See also