public class IHostDrive extends IUnknown
getDrivePath()
andgetModel()
attributes can be accessed, the rest will fail with E_ACCESSDENIED.
Interface ID: {70E2E0C3-332C-4D72-B822-2DB16E2CB31B}
Constructor and Description |
---|
IHostDrive(java.lang.String wrapped,
org.virtualbox_7_0.ObjectRefManager objMgr,
org.virtualbox_7_0.jaxws.VboxPortType port) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDrivePath()
The path of the drive.
|
java.lang.String |
getModel()
The model string of the drive if available.
|
PartitioningType |
getPartitioningType()
The scheme of the partitions the disk has.
|
java.util.List<IHostDrivePartition> |
getPartitions()
List of partitions available on the host drive.
|
java.lang.Long |
getSectorSize()
The size of the sector in bytes.
|
java.lang.Long |
getSize()
The size of the disk in bytes.
|
java.lang.String |
getUuid()
The GUID of the disk.
|
static IHostDrive |
queryInterface(IUnknown obj) |
getObjMgr, getRemoteWSPort, getWrapped, releaseRemote
public IHostDrive(java.lang.String wrapped, org.virtualbox_7_0.ObjectRefManager objMgr, org.virtualbox_7_0.jaxws.VboxPortType port)
public java.lang.String getDrivePath()
public PartitioningType getPartitioningType()
public java.lang.String getUuid()
public java.lang.Long getSectorSize()
public java.lang.Long getSize()
public java.lang.String getModel()
public java.util.List<IHostDrivePartition> getPartitions()
public static IHostDrive queryInterface(IUnknown obj)