IVssBackupComponents::FreeWriterStatus method (vsbackup.h)

The FreeWriterStatus method frees system resources allocated during the call to IVssBackupComponents::GatherWriterStatus.

Syntax

HRESULT FreeWriterStatus();

Return value

The following are the valid return codes for this method.

Value Meaning
S_OK
The writer status was successfully freed.
E_OUTOFMEMORY
The caller is out of memory or other system resources.
VSS_E_BAD_STATE
The backup components object is not initialized, this method has been called during a restore operation, or this method has not been called within the correct sequence.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header vsbackup.h (include VsBackup.h, Vss.h, VsWriter.h)
Library VssApi.lib

See also

IVssBackupComponents

IVssBackupComponents::GatherWriterStatus