Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The VSS_WRITER_STATE enumeration indicates the current state of the writer.
Syntax
typedef enum _VSS_WRITER_STATE {
VSS_WS_UNKNOWN = 0,
VSS_WS_STABLE,
VSS_WS_WAITING_FOR_FREEZE,
VSS_WS_WAITING_FOR_THAW,
VSS_WS_WAITING_FOR_POST_SNAPSHOT,
VSS_WS_WAITING_FOR_BACKUP_COMPLETE,
VSS_WS_FAILED_AT_IDENTIFY,
VSS_WS_FAILED_AT_PREPARE_BACKUP,
VSS_WS_FAILED_AT_PREPARE_SNAPSHOT,
VSS_WS_FAILED_AT_FREEZE,
VSS_WS_FAILED_AT_THAW,
VSS_WS_FAILED_AT_POST_SNAPSHOT,
VSS_WS_FAILED_AT_BACKUP_COMPLETE,
VSS_WS_FAILED_AT_PRE_RESTORE,
VSS_WS_FAILED_AT_POST_RESTORE,
VSS_WS_FAILED_AT_BACKUPSHUTDOWN,
VSS_WS_COUNT
} VSS_WRITER_STATE, *PVSS_WRITER_STATE;
Constants
VSS_WS_UNKNOWNValue: 0 The writer's state is not known. This indicates an error on the part of the writer. |
VSS_WS_STABLEThe writer has completed processing current shadow copy events and is ready to proceed, or CVssWriter::OnPrepareSnapshot has not yet been called. |
VSS_WS_WAITING_FOR_FREEZEThe writer is waiting for the freeze state. |
VSS_WS_WAITING_FOR_THAWThe writer is waiting for the thaw state. |
VSS_WS_WAITING_FOR_POST_SNAPSHOTThe writer is waiting for the PostSnapshot state. |
VSS_WS_WAITING_FOR_BACKUP_COMPLETEThe writer is waiting for the requester to finish its backup operation. |
VSS_WS_FAILED_AT_IDENTIFYThe writer vetoed the shadow copy creation process at the writer identification state. |
VSS_WS_FAILED_AT_PREPARE_BACKUPThe writer vetoed the shadow copy creation process during the backup preparation state. |
VSS_WS_FAILED_AT_PREPARE_SNAPSHOTThe writer vetoed the shadow copy creation process during the PrepareForSnapshot state. |
VSS_WS_FAILED_AT_FREEZEThe writer vetoed the shadow copy creation process during the freeze state. |
VSS_WS_FAILED_AT_THAWThe writer vetoed the shadow copy creation process during the thaw state. |
VSS_WS_FAILED_AT_POST_SNAPSHOTThe writer vetoed the shadow copy creation process during the PostSnapshot state. |
VSS_WS_FAILED_AT_BACKUP_COMPLETEThe shadow copy has been created and the writer failed during the BackupComplete state. A writer should save information about this failure to the error log. For additional information on logging, see Event and Error Handling Under VSS. |
VSS_WS_FAILED_AT_PRE_RESTOREThe writer failed during the PreRestore state. |
VSS_WS_FAILED_AT_POST_RESTOREThe writer failed during the PostRestore state. |
VSS_WS_FAILED_AT_BACKUPSHUTDOWNThe writer failed during the shutdown of the backup application. |
VSS_WS_COUNTReserved value. |
Remarks
A requester determines the state of a writer through IVssBackupComponents::GetWriterStatus.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows XP [desktop apps only] |
| Minimum supported server | Windows Server 2003 [desktop apps only] |
| Header | vss.h |