CVssWriter::GetCurrentVolumeCount method (vswriter.h)

The GetCurrentVolumeCount method returns the number of volumes in the shadow copy set.

GetCurrentVolumeCount is a protected method implemented by the CVssWriter base class.

Syntax

UINT GetCurrentVolumeCount();

Return value

This method returns the number of volumes returned in the shadow copy set. This value will also be the size of the array of null-terminated wide character strings containing volume names returned by CVssWriter::GetCurrentVolumeArray.

Requirements

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

See also

CVssWriter

CVssWriter::GetCurrentVolumeArray

CVssWriter::OnFreeze

CVssWriter::OnPrepareSnapshot

CVssWriter::OnThaw