IVssComponent::GetPartialFileCount method (vswriter.h)

The GetPartialFileCount method returns the number of partial files associated with a component.

Syntax

HRESULT GetPartialFileCount(
  [out] UINT *pcPartialFiles
);

Parameters

[out] pcPartialFiles

The address of a caller-allocated variable that receives the number of partial files.

Return value

The following are the valid return codes for this method.

Value Meaning
S_OK
Successfully returned the attribute value.
E_INVALIDARG
One of the parameter values is not valid.
E_OUTOFMEMORY
The caller is out of memory or other system resources.

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

IVssBackupComponents::SetRangesFilePath

IVssComponent

IVssComponent::AddPartialFile

IVssComponent::GetPartialFile