Windows Dev Center

VSS_WRITER_STATE enumeration

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                       = 1,
  VSS_WS_WAITING_FOR_FREEZE           = 2,
  VSS_WS_WAITING_FOR_THAW             = 3,
  VSS_WS_WAITING_FOR_POST_SNAPSHOT    = 4,
  VSS_WS_WAITING_FOR_BACKUP_COMPLETE  = 5,
  VSS_WS_FAILED_AT_IDENTIFY           = 6,
  VSS_WS_FAILED_AT_PREPARE_BACKUP     = 7,
  VSS_WS_FAILED_AT_PREPARE_SNAPSHOT   = 8,
  VSS_WS_FAILED_AT_FREEZE             = 9,
  VSS_WS_FAILED_AT_THAW               = 10,
  VSS_WS_FAILED_AT_POST_SNAPSHOT      = 11,
  VSS_WS_FAILED_AT_BACKUP_COMPLETE    = 12,
  VSS_WS_FAILED_AT_PRE_RESTORE        = 13,
  VSS_WS_FAILED_AT_POST_RESTORE       = 14,
  VSS_WS_FAILED_AT_BACKUPSHUTDOWN     = 15,
  VSS_WS_COUNT                        = 16
} VSS_WRITER_STATE, *PVSS_WRITER_STATE;

Constants

VSS_WS_UNKNOWN

The writer's state is not known.

This indicates an error on the part of the writer.

VSS_WS_STABLE

The 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_FREEZE

The writer is waiting for the freeze state.

VSS_WS_WAITING_FOR_THAW

The writer is waiting for the thaw state.

VSS_WS_WAITING_FOR_POST_SNAPSHOT

The writer is waiting for the PostSnapshot state.

VSS_WS_WAITING_FOR_BACKUP_COMPLETE

The writer is waiting for the requester to finish its backup operation.

VSS_WS_FAILED_AT_IDENTIFY

The writer vetoed the shadow copy creation process at the writer identification state.

VSS_WS_FAILED_AT_PREPARE_BACKUP

The writer vetoed the shadow copy creation process during the backup preparation state.

VSS_WS_FAILED_AT_PREPARE_SNAPSHOT

The writer vetoed the shadow copy creation process during the PrepareForSnapshot state.

VSS_WS_FAILED_AT_FREEZE

The writer vetoed the shadow copy creation process during the freeze state.

VSS_WS_FAILED_AT_THAW

The writer vetoed the shadow copy creation process during the thaw state.

VSS_WS_FAILED_AT_POST_SNAPSHOT

The writer vetoed the shadow copy creation process during the PostSnapshot state.

VSS_WS_FAILED_AT_BACKUP_COMPLETE

The 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_RESTORE

The writer failed during the PreRestore state.

VSS_WS_FAILED_AT_POST_RESTORE

The writer failed during the PostRestore state.

VSS_WS_FAILED_AT_BACKUPSHUTDOWN

The writer failed during the shutdown of the backup application.

VSS_WS_COUNT

Reserved value.

Remarks

A requester determines the state of a writer through IVssBackupComponents::GetWriterStatus.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Vss.h

See also

CVssWriter::OnPrepareSnapshot
IVssBackupComponents::GetWriterStatus

 

 

Community Additions

ADD
Show:
© 2015 Microsoft