Skip to content

Latest commit

 

History

History
171 lines (143 loc) · 5.27 KB

nf-vsmgmt-ivssdifferentialsoftwaresnapshotmgmt-querydiffareasonvolume.md

File metadata and controls

171 lines (143 loc) · 5.27 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:vsmgmt.IVssDifferentialSoftwareSnapshotMgmt.QueryDiffAreasOnVolume
IVssDifferentialSoftwareSnapshotMgmt::QueryDiffAreasOnVolume (vsmgmt.h)
Queries shadow copy storage areas that physically reside on the given volume.
IVssDifferentialSoftwareSnapshotMgmt interface [VSS]
QueryDiffAreasOnVolume method
IVssDifferentialSoftwareSnapshotMgmt.QueryDiffAreasOnVolume
IVssDifferentialSoftwareSnapshotMgmt::QueryDiffAreasOnVolume
QueryDiffAreasOnVolume
QueryDiffAreasOnVolume method [VSS]
QueryDiffAreasOnVolume method [VSS]
IVssDifferentialSoftwareSnapshotMgmt interface
base.ivssdifferentialsoftwaresnapshotmgmt_querydiffareasonvolume
vsmgmt/IVssDifferentialSoftwareSnapshotMgmt::QueryDiffAreasOnVolume
base\ivssdifferentialsoftwaresnapshotmgmt_querydiffareasonvolume.htm
base
6d9853d3-9c00-47e6-99e8-e499dea9b495
12/05/2018
IVssDifferentialSoftwareSnapshotMgmt interface [VSS],QueryDiffAreasOnVolume method, IVssDifferentialSoftwareSnapshotMgmt.QueryDiffAreasOnVolume, IVssDifferentialSoftwareSnapshotMgmt::QueryDiffAreasOnVolume, QueryDiffAreasOnVolume, QueryDiffAreasOnVolume method [VSS], QueryDiffAreasOnVolume method [VSS],IVssDifferentialSoftwareSnapshotMgmt interface, base.ivssdifferentialsoftwaresnapshotmgmt_querydiffareasonvolume, vsmgmt/IVssDifferentialSoftwareSnapshotMgmt::QueryDiffAreasOnVolume
vsmgmt.h
Windows
Windows Vista [desktop apps only]
Windows Server 2003 [desktop apps only]
Windows
19H1
IVssDifferentialSoftwareSnapshotMgmt::QueryDiffAreasOnVolume
vsmgmt/IVssDifferentialSoftwareSnapshotMgmt::QueryDiffAreasOnVolume
c++
APIRef
kbSyntax
COM
VsMgmt.h
IVssDifferentialSoftwareSnapshotMgmt.QueryDiffAreasOnVolume

IVssDifferentialSoftwareSnapshotMgmt::QueryDiffAreasOnVolume

-description

The QueryDiffAreasOnVolume method queries shadow copy storage areas that physically reside on the given volume.

-parameters

-param pwszVolumeName [in]

Name of the volume that contains shadow copy storage areas.

The name of the volume must be in one of the following formats and must include a trailing backslash (\):

  • The path of a mounted folder, for example, Y:\MountX\
  • A drive letter, for example, D:\
  • A volume GUID path of the form \\?\Volume{GUID}\ (where GUID identifies the volume)

-param ppEnum [out]

The address of an IVssEnumMgmtObject interface pointer, which is initialized on return. Callers must release the interface.

-returns

This method can return one of these values.

Value Meaning
S_OK
Successfully queried the shadow copy storage areas.
E_ACCESSDENIED
Caller does not have sufficient backup privileges or is not an administrator.
E_INVALIDARG
One of the parameter values is not valid.
E_OUTOFMEMORY
The caller is out of memory or other system resources.
VSS_E_PROVIDER_VETO
Provider error - the provider logged the error in the event log. For more information, see Event and Error Handling Under VSS.
VSS_E_UNEXPECTED
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.

-remarks

The returned IVssEnumMgmtObject enumerator object will contain VSS_DIFF_AREA_PROP structures inside the VSS_MGMT_OBJECT_UNION union inside the VSS_MGMT_OBJECT_PROP structure.

-see-also

IVssDifferentialSoftwareSnapshotMgmt

IVssEnumMgmtObject