IVdsDisk interface

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

Provides methods to query and configure basic and dynamic disks.

When to implement

Basic and dynamic providers implement this interface for allocated (initialized) disks. VDS implements this interface for unallocated disks.

When to use

Applications use the methods of this interface to return the property details of a disk, the identity of the containing pack, the associated disk-extent information; convert partition styles; and modify flags.

Members

The IVdsDisk interface inherits from the IUnknown interface. IVdsDisk also has these types of members:

Methods

The IVdsDisk interface has these methods.

MethodDescription
ClearFlags

Clears the flags of a disk.

ConvertStyle

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

GetIdentificationData

Returns information that uniquely identifies a disk.

GetPack

Returns the disk pack to which the current disk is a member.

GetProperties

Returns the property details of a disk.

QueryExtents

Returns all extents on a disk.

SetFlags

Sets the flags of a disk.

 

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Vds.h

Library

Uuid.lib

See also

VDS Interfaces
IVdsPack::QueryDisks
VDS_DISK_PROP
Disk Object

 

 

Show: