Skip to content

Latest commit

 

History

History
124 lines (97 loc) · 3.84 KB

nf-vswriter-cvsswriter-ispathaffected.md

File metadata and controls

124 lines (97 loc) · 3.84 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:vswriter.CVssWriter.IsPathAffected
CVssWriter::IsPathAffected (vswriter.h)
The IsPathAffected method determines whether the specified directory or file is included in the current shadow copy set. The path for the directory or file can be a local path or a UNC path of a remote file share.
CVssWriter class [VSS]
IsPathAffected method
CVssWriter.IsPathAffected
CVssWriter::IsPathAffected
IsPathAffected
IsPathAffected method [VSS]
IsPathAffected method [VSS]
CVssWriter class
_win32_cvsswriter_ispathaffected
base.cvsswriter_ispathaffected
vswriter/CVssWriter::IsPathAffected
base\cvsswriter_ispathaffected.htm
base
576e2e25-82dd-4b72-b777-0abc22a06386
12/05/2018
CVssWriter class [VSS],IsPathAffected method, CVssWriter.IsPathAffected, CVssWriter::IsPathAffected, IsPathAffected, IsPathAffected method [VSS], IsPathAffected method [VSS],CVssWriter class, _win32_cvsswriter_ispathaffected, base.cvsswriter_ispathaffected, vswriter/CVssWriter::IsPathAffected
vswriter.h
Vss.h, VsWriter.h
Windows
Windows XP [desktop apps only]
Windows Server 2003 [desktop apps only]
VssApi.lib
Windows
19H1
CVssWriter::IsPathAffected
vswriter/CVssWriter::IsPathAffected
c++
APIRef
kbSyntax
COM
VssApi.lib
VssApi.dll
CVssWriter.IsPathAffected

CVssWriter::IsPathAffected

-description

The IsPathAffected method determines whether the specified directory or file is included in the current shadow copy set. The path for the directory or file can be a local path or a UNC path of a remote file share.

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

-parameters

-param wszPath [in]

Path of the directory or file to be queried. This path can be a local path or a UNC path of a remote file share.

If the path refers to a directory, it can contain environment variables (for example, %SystemRoot%) but cannot contain wildcard characters.

-returns

The following are the valid return codes for this method.

Value Meaning
true
The path is included in the set of volumes being included in the shadow copy set.
false
The path is not included in the set of volumes being included in the shadow copy set.

-remarks

Windows 7, Windows Server 2008 R2, Windows Vista, Windows Server 2008, Windows XP and Windows Server 2003:  Remote file shares are not supported until Windows 8 and Windows Server 2012. Writers support only local resources—sets of files whose absolute path starts with a valid local volume specification and cannot be a mapped network drive. The input to IsPathAffected (after the resolution of any environment variables) must be in this format.

-see-also

CVssWriter

CVssWriter::OnFreeze

CVssWriter::OnPrepareSnapshot

CVssWriter::OnThaw