Export (0) Print
Expand All

IVssComponent::GetDifferencedFilesCount method

The GetDifferencedFilesCount method returns the number of file specifications in this component (and in any subcomponents of the component set it defines) marked by a writer supporting an incremental backup or restore as differenced files—that is, backup and restores associated with it are to be implemented as if entire files are copied to and from backup media (as opposed to using partial files).

Syntax


HRESULT GetDifferencedFilesCount(
  [out]  UINT *pcDifferencedFiles
);

Parameters

pcDifferencedFiles [out]

The address of a caller-allocated variable that receives the number of differenced file specifications.

Return value

The following are the valid return codes for this method.

ValueMeaning
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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

VsWriter.h (include Vss.h or VsWriter.h)

Library

VssApi.lib

See also

Incremental and Differential Backups
IVssComponent::AddDifferencedFilesByLastModifyTime
IVssComponent
IVssComponent::GetDifferencedFile

 

 

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft