IVssWMFiledesc class (vswriter.h)

The IVssWMFiledesc interface is a C++ (not COM) interface returned to a calling application by a number of query methods. It provides detailed information about a file or set of files (a file set).

The calling application is responsible for calling IUnknown::Release to release the resources held by the returned IVssWMFiledesc interface when it is no longer needed.

The following methods return an IVssWMFiledesc interface:


The IVssWMFiledesc interface inherits from the IUnknown interface. IVssWMFiledesc also has these types of members:


The IVssWMFiledesc class has these methods.


The GetAlternateLocation method obtains an alternate location for a file set.

The GetBackupTypeMask method returns the file backup specification for the files specified by the current file descriptor as a bit mask (or bitwise OR) of VSS_FILE_SPEC_BACKUP_TYPE values.

The GetFilespec method returns the file specification used to obtain the list of files that the current IVssWMFiledesc object is a member of.

The GetPath method obtains the fully qualified directory path or the UNC path of the remote file share to obtain the list of files described in the current IVssWMFiledesc object.

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.


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)