Skip to content

Latest commit

 

History

History
110 lines (92 loc) · 3.6 KB

nf-vds-ivdsdisk-getproperties.md

File metadata and controls

110 lines (92 loc) · 3.6 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:vds.IVdsDisk.GetProperties
IVdsDisk::GetProperties (vds.h)
Returns property information for a disk.
GetProperties
GetProperties method [VDS]
GetProperties method [VDS]
IVdsDisk interface
IVdsDisk interface [VDS]
GetProperties method
IVdsDisk.GetProperties
IVdsDisk::GetProperties
base.ivdsdisk_getproperties
vds/IVdsDisk::GetProperties
base\ivdsdisk_getproperties.htm
base
d2046a26-852d-46b2-b060-98b4a2a92387
12/05/2018
GetProperties, GetProperties method [VDS], GetProperties method [VDS],IVdsDisk interface, IVdsDisk interface [VDS],GetProperties method, IVdsDisk.GetProperties, IVdsDisk::GetProperties, base.ivdsdisk_getproperties, vds/IVdsDisk::GetProperties
vds.h
Windows
Windows Vista [desktop apps only]
Windows Server 2003 [desktop apps only]
Uuid.lib
Windows
19H1
IVdsDisk::GetProperties
vds/IVdsDisk::GetProperties
c++
APIRef
kbSyntax
COM
Uuid.lib
Uuid.dll
IVdsDisk.GetProperties

IVdsDisk::GetProperties

-description

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

Returns property information for a disk.

-parameters

-param pDiskProperties [out]

The address of the VDS_DISK_PROP structure allocated and passed in by the caller. VDS allocates memory for the pwszDiskAddress, pwszName, pwszFriendlyName, pwszAdaptorName, and pwszDevicePath member strings. Callers must free the strings by using the CoTaskMemFree function.

-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/value Description
S_OK
The properties were returned successfully.
VDS_S_PROPERTIES_INCOMPLETE
0x00042715L
Some but not all of the properties were successfully retrieved. Note that there are many possible reasons for failing to retrieve all properties, including device removal.

-see-also

IVdsDisk

VDS_DISK_PROP