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 | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NS:vds._VDS_DRIVE_PROP2 |
VDS_DRIVE_PROP2 (vds.h) |
The VDS_DRIVE_PROP2 structure (vds.h) defines the properties of a drive object. |
|
base\vds_drive_prop2.htm |
base |
af932865-abb3-4dee-a7dc-3aa06fd167f6 |
08/05/2022 |
*PVDS_DRIVE_PROP2, PVDS_DRIVE_PROP2, PVDS_DRIVE_PROP2 structure pointer, VDS_DRIVE_PROP2, VDS_DRIVE_PROP2 structure, VDS_H_FAILED, VDS_H_HEALTHY, VDS_H_PENDING_FAILURE, VDS_H_REPLACED, VDS_H_UNKNOWN, base.vds_drive_prop2, vds/PVDS_DRIVE_PROP2, vds/VDS_DRIVE_PROP2, vdshwprv/PVDS_DRIVE_PROP2, vdshwprv/VDS_DRIVE_PROP2 |
vds.h |
Windows |
Windows 7 [desktop apps only] |
Windows Server 2008 R2 [desktop apps only] |
Windows |
VDS_DRIVE_PROP2, *PVDS_DRIVE_PROP2 |
19H1 |
|
|
|
|
|
|
[Beginning with Windows 8 and Windows Server 2012, the Virtual Disk Service COM interface is superseded by the Windows Storage Management API.]
Defines the properties of a drive object. This structure is identical to the VDS_DRIVE_PROP structure, except that it includes the enclosure number, bus type, and spindle speed as members.
The GUID of the drive object.
The size of the drive, in bytes.
A NULL-terminated wide-character string that contains the name of the drive.
A NULL-terminated wide-character string that contains the drive identifier.
A bitmask of
VDS_DRIVE_FLAG enumeration values.
A
VDS_DRIVE_STATUS enumeration value that specifies the status of the drive.
A VDS_HEALTH enumeration value that specifies the health status of the drive. The following are the valid values for this member.
Windows Server 2008, Windows Vista and Windows Server 2003: VDS_H_REPLACED and VDS_H_PENDING_FAILURE are not supported.
The number of the bus to which the drive is connected. This number is an implementer-assigned value that uniquely identifies the bus within the subsystem. It is not constrained by the number of buses that the subsystem contains, and it is not related to the value of the sNumberOfInternalBuses member of the VDS_SUB_SYSTEM_PROP structure.
The number of the slot that the drive occupies. This number is an implementer-assigned value that uniquely identifies the slot within the bus. It is not constrained by the number of slots that the bus contains, and it is not related to the value of the sMaxNumberOfSlotsEachBus member of the VDS_SUB_SYSTEM_PROP structure.
The number of the enclosure that contains the drive. A value of ULONG_MAX indicates that this number is not defined for the drive. Because some enclosure numbering schemes are zero-based, zero is a valid value for this member. This member corresponds to the ulEnclosureNumber parameter of the IVdsSubSystem2::GetDrive2 method.
A VDS_STORAGE_BUS_TYPE value that specifies the bus type of the drive. A value of zero means that the bus type is unknown.
The spindle speed of the drive, in RPM. The default value for this member is zero. A value of zero means that the spindle speed is unknown. A value of 1 means that the drive does not have rotating media. (For example, it might be a solid-state drive.)
This structure is used by the IVdsDrive2::GetProperties2 method to return the properties for a drive object.