Skip to content

Latest commit

 

History

History
116 lines (90 loc) · 3.57 KB

nf-vds-ivdsdisk-convertstyle.md

File metadata and controls

116 lines (90 loc) · 3.57 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.ConvertStyle
IVdsDisk::ConvertStyle (vds.h)
Converts the partition style of an empty disk from one style to another.
ConvertStyle
ConvertStyle method [VDS]
ConvertStyle method [VDS]
IVdsDisk interface
IVdsDisk interface [VDS]
ConvertStyle method
IVdsDisk.ConvertStyle
IVdsDisk::ConvertStyle
base.ivdsdisk_convertstyle
vds/IVdsDisk::ConvertStyle
base\ivdsdisk_convertstyle.htm
base
38c129cd-8e60-4e4a-b22b-26c69c68fe89
12/05/2018
ConvertStyle, ConvertStyle method [VDS], ConvertStyle method [VDS],IVdsDisk interface, IVdsDisk interface [VDS],ConvertStyle method, IVdsDisk.ConvertStyle, IVdsDisk::ConvertStyle, base.ivdsdisk_convertstyle, vds/IVdsDisk::ConvertStyle
vds.h
Windows
Windows Vista [desktop apps only]
Windows Server 2003 [desktop apps only]
Uuid.lib
Windows
19H1
IVdsDisk::ConvertStyle
vds/IVdsDisk::ConvertStyle
c++
APIRef
kbSyntax
COM
Uuid.lib
Uuid.dll
IVdsDisk.ConvertStyle

IVdsDisk::ConvertStyle

-description

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

Converts the partition style of an empty disk from one style to another.

-parameters

-param NewStyle [in]

The partition styles enumerated by VDS_PARTITION_STYLE.

-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 conversion completed successfully.
VDS_E_INVALID_OPERATION
0x80042415L
The disk style cannot be converted, as is the case for 1394 or USB disks and unallocated disks.

-remarks

An empty disk contains no user data, OEM partitions, ESP partitions, or unknown partitions. Only LDM metadata partitions and MSR partitions are valid on an empty disk.

-see-also

IVdsDisk

VDS_PARTITION_INFO_GPT

VDS_PARTITION_INFO_MBR

VDS_PARTITION_STYLE