Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

CVssWriterEx2 class

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:

Public Methods

GetSessionId Returns the writer's session identifier.
IsWriterShuttingDown Determines whether the writer is shutting down.
SetWriterFailureEx 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]


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



See also




Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.