IVssWMFiledesc::GetRecursive method (vswriter.h)
The GetRecursive method indicates whether the list of files described in a IVssWMFiledesc object with a root directory returned by IVssWMFiledesc::GetPath contains only files in that directory or whether the file list contains files from the directory hierarchy as well.
HRESULT GetRecursive( [out] bool *pbRecursive );
A pointer to a Boolean value specifying whether the value returned by IVssWMFiledesc::GetPath identifies only a single directory or if it indicates a hierarchy of directories to be traversed recursively. The Boolean value receives true if the path is treated as a hierarchy of directories to be traversed recursively, or false if not.
For information on traversing over mounted folders, see Working with Mounted Folders and Reparse Points.
The following are the valid return codes for this method.
||Successfully returned the recursive information.|
||One of the parameter values is not valid.|
||The caller is out of memory or other system resources.|
Unexpected error. The error code is logged in the error log file. For more information, see
Event and Error Handling Under VSS.
Windows Server 2008, Windows Vista, Windows Server 2003 and Windows XP: This value is not supported until Windows Server 2008 R2 and Windows 7. E_UNEXPECTED is used instead.
||The XML document is not valid. Check the event log for details. For more information, see Event and Error Handling Under VSS.|
|Minimum supported client||Windows XP [desktop apps only]|
|Minimum supported server||Windows Server 2003 [desktop apps only]|
|Header||vswriter.h (include Vss.h, VsWriter.h)|