3.1.12.4 IVdsAdvancedDisk Interface

The IVdsAdvancedDisk interface is implemented by disk objects in order to support advanced disk management.

The UUID for this interface is {6E6F6B40-977C-4069-BDDD-AC710059F8C0}.

The IVdsAdvancedDisk methods are specified in section 3.4.5.2.24.

Methods in RPC Opnum Order

Method

Description

GetPartitionProperties

Retrieves the properties of a partition on the disk at a specified byte offset.

Opnum: 3

QueryPartitions

Enumerates a disk's partitions.

Opnum: 4

CreatePartition

Creates a partition on a disk at a specified byte offset.

Opnum: 5

DeletePartition

Deletes a partition from the disk at a specified byte offset. This method is not implemented for removable disks.

Opnum: 6

ChangeAttributes

Changes the attributes of the partition at byte offset ullOffset on the disk.

Opnum: 7

AssignDriveLetter

Assigns a drive letter to an existing OEM, ESP, or unknown partition. This method is not implemented for removable disks.

Opnum: 8

DeleteDriveLetter

Deletes a drive letter that is assigned to an OEM, ESP, or unknown partition.

Opnum: 9

GetDriveLetter

Retrieves the drive letter of a partition on the disk at a specified byte offset. This method is not implemented for removable disks.

Opnum: 10

FormatPartition

Formats an existing OEM, ESP, or unknown partition. This method is not implemented for removable disks.

Opnum: 11

Clean

Cleans a disk.<63>

Opnum: 12

All methods MUST NOT throw exceptions.