Skip to content

Latest commit

 

History

History
92 lines (76 loc) · 3.71 KB

nf-vdshwprv-ivdsstoragepool-querydriveextents.md

File metadata and controls

92 lines (76 loc) · 3.71 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:vdshwprv.IVdsStoragePool.QueryDriveExtents
IVdsStoragePool::QueryDriveExtents (vdshwprv.h)
The IVdsStoragePool::QueryDriveExtents (vdshwprv.h) method returns an array of the drive extents that are used by a storage pool.
IVdsStoragePool interface
QueryDriveExtents method
IVdsStoragePool.QueryDriveExtents
IVdsStoragePool::QueryDriveExtents
QueryDriveExtents
QueryDriveExtents method
QueryDriveExtents method
IVdsStoragePool interface
base.ivdsstoragepool_querydriveextents
vds/IVdsStoragePool::QueryDriveExtents
vdshwprv/IVdsStoragePool::QueryDriveExtents
base\ivdsstoragepool_querydriveextents.htm
base
91bae6e6-3718-4d82-ab8c-e489b9a105fe
08/08/2022
IVdsStoragePool interface,QueryDriveExtents method, IVdsStoragePool.QueryDriveExtents, IVdsStoragePool::QueryDriveExtents, QueryDriveExtents, QueryDriveExtents method, QueryDriveExtents method,IVdsStoragePool interface, base.ivdsstoragepool_querydriveextents, vds/IVdsStoragePool::QueryDriveExtents, vdshwprv/IVdsStoragePool::QueryDriveExtents
vdshwprv.h
Windows
Windows 7 [desktop apps only]
Windows Server 2008 R2 [desktop apps only]
Uuid.lib
Windows
19H1
IVdsStoragePool::QueryDriveExtents
vdshwprv/IVdsStoragePool::QueryDriveExtents
c++
APIRef
kbSyntax
COM
Uuid.lib
Uuid.dll
IVdsStoragePool.QueryDriveExtents

IVdsStoragePool::QueryDriveExtents

-description

[Beginning with Windows 8 and Windows Server 2012, the Virtual Disk Service COM interface is superseded by the Windows Storage Management API.]

Returns an array of the drive extents that are used by a storage pool.

-parameters

-param ppExtentArray [out]

A pointer to the array of VDS_STORAGE_POOL_DRIVE_EXTENT structures passed in by the caller. These structures describe the drive extents used by the storage pool. Callers must free this array by using the CoTaskMemFree function.

-param plNumberOfExtents [out]

A pointer to the number of extents returned in the ppExtentArray array.

-returns

This method can return standard HRESULT values, such as E_INVALIDARG or E_OUTOFMEMORY, and VDS-specific return values. It can also return converted system error codes using the HRESULT_FROM_WIN32 macro. Errors can originate from VDS itself or from the underlying VDS provider that is being used. Possible return values include the following.

Return code Description
S_OK
The method completed successfully.

-see-also

IVdsStoragePool