STORAGE_PROPERTY_ID
列挙型メンバー 40
| 名前 | 10進 | 16進 | 説明 |
|---|---|---|---|
| StorageDeviceProperty | 0 | 0x0 | 呼び出し元がデバイス記述子 STORAGE_DEVICE_DESCRIPTOR を照会していることを示します。 |
| StorageAdapterProperty | 1 | 0x1 | 呼び出し元がアダプター記述子 STORAGE_ADAPTER_DESCRIPTOR を照会していることを示します。 |
| StorageDeviceIdProperty | 2 | 0x2 | 呼び出し元が SCSI バイタルプロダクトデータページで提供されるデバイス識別子を照会していることを示します。データは STORAGE_DEVICE_ID_DESCRIPTOR 構造体を使用して返されます。 |
| StorageDeviceUniqueIdProperty | 3 | 0x3 | ドライバーでの使用を想定しています。 呼び出し元が一意のデバイス識別子を照会していることを示します。データは STORAGE_DEVICE_UNIQUE_IDENTIFIER 構造体を使用して返されます (DDK の storduid.h ヘッダーを参照してください)。 Windows Server 2003 および Windows XP: この値は Windows Vista および Windows Server 2008 より前ではサポートされません。 |
| StorageDeviceWriteCacheProperty | 4 | 0x4 | 呼び出し元がライトキャッシュのプロパティを照会していることを示します。データは STORAGE_WRITE_CACHE_PROPERTY 構造体を使用して返されます。 Windows Server 2003 および Windows XP: この値は Windows Vista および Windows Server 2008 より前ではサポートされません。 |
| StorageMiniportProperty | 5 | 0x5 | システム用に予約済みです。 |
| StorageAccessAlignmentProperty | 6 | 0x6 | 呼び出し元がアクセスアライメント記述子 STORAGE_ACCESS_ALIGNMENT_DESCRIPTOR を照会していることを示します。 Windows Server 2003 および Windows XP: この値は Windows Vista および Windows Server 2008 より前ではサポートされません。 |
| StorageDeviceSeekPenaltyProperty | 7 | 0x7 | 呼び出し元がシークペナルティ記述子 DEVICE_SEEK_PENALTY_DESCRIPTOR を照会していることを示します。 Windows Server 2008、Windows Vista、Windows Server 2003 および Windows XP: この値は Windows 7 および Windows Server 2008 R2 より前ではサポートされません。 |
| StorageDeviceTrimProperty | 8 | 0x8 | 呼び出し元が Trim 記述子 DEVICE_TRIM_DESCRIPTOR を照会していることを示します。 Windows Server 2008、Windows Vista、Windows Server 2003 および Windows XP: この値は Windows 7 および Windows Server 2008 R2 より前ではサポートされません。 |
| StorageDeviceWriteAggregationProperty | 9 | 0x9 | システム用に予約済みです。 |
| StorageDeviceDeviceTelemetryProperty | 10 | 0xA | システム用に予約済みです。 |
| StorageDeviceLBProvisioningProperty | 11 | 0xB | 呼び出し元が論理ブロックプロビジョニングのプロパティを照会していることを示します。データは DEVICE_LB_PROVISIONING_DESCRIPTOR 構造体を使用して返されます。 Windows 7、Windows Server 2008 R2、Windows Server 2008、Windows Vista、Windows Server 2003 および Windows XP: この値は Windows 8 および Windows Server 2012 より前ではサポートされません。 |
| StorageDevicePowerProperty | 12 | 0xC | 呼び出し元がデバイスの電源記述子を照会していることを示します。データは DEVICE_POWER_DESCRIPTOR 構造体を使用して返されます。 Windows 7、Windows Server 2008 R2、Windows Server 2008、Windows Vista、Windows Server 2003 および Windows XP: この値は Windows 8 および Windows Server 2012 より前ではサポートされません。 |
| StorageDeviceCopyOffloadProperty | 13 | 0xD | 呼び出し元がコピーオフロードパラメーターのプロパティを照会していることを示します。データは DEVICE_COPY_OFFLOAD_DESCRIPTOR 構造体を使用して返されます。 Windows 7、Windows Server 2008 R2、Windows Server 2008、Windows Vista、Windows Server 2003 および Windows XP: この値は Windows 8 および Windows Server 2012 より前ではサポートされません。 |
| StorageDeviceResiliencyProperty | 14 | 0xE | システム用に予約済みです。 |
| StorageDeviceMediumProductType | 15 | 0xF | 呼び出し元がメディアの製品タイプを照会していることを示します。データは STORAGE_MEDIUM_PRODUCT_TYPE_DESCRIPTOR 構造体を使用して返されます。 |
| StorageAdapterRpmbProperty | 16 | 0x10 | 呼び出し元が RPMB のサポート状況とプロパティを照会していることを示します。データは STORAGE_RPMB_DESCRIPTOR 構造体を使用して返されます。 |
| StorageAdapterCryptoProperty | 17 | 0x11 | ストレージアダプターの暗号化機能に関する情報を提供します。これは現在、UFS (Universal Flash Storage) アダプターでサポートされています。 |
| StorageDeviceIoCapabilityProperty | 48 | 0x30 | 呼び出し元がデバイスの I/O 機能プロパティを照会していることを示します。データは DEVICE_IO_CAPABILITY_DESCRIPTOR 構造体を使用して返されます。 |
| StorageAdapterProtocolSpecificProperty | 49 | 0x31 | 呼び出し元がアダプターからプロトコル固有のデータを照会していることを示します。データは STORAGE_PROTOCOL_DATA_DESCRIPTOR 構造体を使用して返されます。詳細については解説を参照してください。 |
| StorageDeviceProtocolSpecificProperty | 50 | 0x32 | 呼び出し元がデバイスからプロトコル固有のデータを照会していることを示します。データは STORAGE_PROTOCOL_DATA_DESCRIPTOR 構造体を使用して返されます。詳細については解説を参照してください。 |
| StorageAdapterTemperatureProperty | 51 | 0x33 | 呼び出し元がアダプターから温度データを照会していることを示します。データは STORAGE_TEMPERATURE_DATA_DESCRIPTOR 構造体を使用して返されます。 |
| StorageDeviceTemperatureProperty | 52 | 0x34 | 呼び出し元がデバイスから温度データを照会していることを示します。データは STORAGE_TEMPERATURE_DATA_DESCRIPTOR 構造体を使用して返されます。 |
| StorageAdapterPhysicalTopologyProperty | 53 | 0x35 | 呼び出し元がアダプターからトポロジ情報を照会していることを示します。データは STORAGE_PHYSICAL_TOPOLOGY_DESCRIPTOR 構造体を使用して返されます。 |
| StorageDevicePhysicalTopologyProperty | 54 | 0x36 | 呼び出し元がデバイスからトポロジ情報を照会していることを示します。データは STORAGE_PHYSICAL_TOPOLOGY_DESCRIPTOR 構造体を使用して返されます。 |
| StorageDeviceAttributesProperty | 55 | 0x37 | 将来の使用のために予約済みです。 |
| StorageDeviceManagementStatus | 56 | 0x38 | ストレージデバイスの正常性情報を提供します (特に永続メモリスタック向けです)。 |
| StorageAdapterSerialNumberProperty | 57 | 0x39 | 呼び出し元がアダプターのシリアル番号を照会していることを示します。データは STORAGE_ADAPTER_SERIAL_NUMBER 構造体を使用して返されます。 |
| StorageDeviceLocationProperty | 58 | 0x3A | システム用に予約済みです。 |
| StorageDeviceNumaProperty | 59 | 0x3B | ストレージデバイスの NUMA (非均一メモリアクセス) ノードを提供します。 |
| StorageDeviceZonedDeviceProperty | 60 | 0x3C | システム用に予約済みです。 |
| StorageDeviceUnsafeShutdownCount | 61 | 0x3D | 電源喪失イベント中にデバイスのデータが失われた可能性があるかどうかを判断するために使用される、安全でないシャットダウンの回数を提供します (特に永続メモリスタック向けです)。 |
| StorageDeviceEnduranceProperty | 62 | 0x3E | ソリッドステートドライブ (SSD) に対して読み取り/書き込みが行われたバイト数に関する情報を提供します。このプロパティは、特定の NVMe 機能を実装している Non-Volatile Memory Express (NVMe) デバイスでのみサポートされます。 |
| StorageDeviceLedStateProperty | 63 | 0x3F | ストレージデバイスに関連付けられた LED の状態に関する情報を提供します。これはサーバー向けの機能です。 |
| StorageDeviceSelfEncryptionProperty | 64 | 0x40 | システム用に予約済みです。 |
| StorageFruIdProperty | 65 | 0x41 | Field Replacement Unit (FRU) として物理的に交換可能なストレージデバイスの識別情報を提供します。 |
| StorageStackProperty | 66 | 0x42 | |
| StorageAdapterProtocolSpecificPropertyEx | 67 | 0x43 | |
| StorageDeviceProtocolSpecificPropertyEx | 68 | 0x44 | |
| StorageHwCryptoProperty | 69 | 0x45 |
公式ドキュメント
ストレージデバイスまたはアダプターのプロパティを取得する IOCTL_STORAGE_QUERY_PROPERTY 要求への入力として渡される STORAGE_PROPERTY_QUERY 構造体の PropertyId メンバーに指定できる値を列挙します。
解説(Remarks)
IOCTL_STORAGE_QUERY_PROPERTY 制御コード要求の lpOutBuffer パラメーターを通じて返される省略可能な出力バッファーは、lpInBuffer パラメーターが指す STORAGE_PROPERTY_QUERY 構造体の PropertyId メンバーの値に応じて、複数の構造体のいずれかになります。STORAGE_PROPERTY_QUERY の QueryType メンバーが PropertyExistsQuery に設定されている場合、構造体は返されません。
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)
各言語での定義
列挙メンバーの定義。HSP タブは #define global(値は16進)。
typedef enum STORAGE_PROPERTY_ID : int {
StorageDeviceProperty = 0,
StorageAdapterProperty = 1,
StorageDeviceIdProperty = 2,
StorageDeviceUniqueIdProperty = 3,
StorageDeviceWriteCacheProperty = 4,
StorageMiniportProperty = 5,
StorageAccessAlignmentProperty = 6,
StorageDeviceSeekPenaltyProperty = 7,
StorageDeviceTrimProperty = 8,
StorageDeviceWriteAggregationProperty = 9,
StorageDeviceDeviceTelemetryProperty = 10,
StorageDeviceLBProvisioningProperty = 11,
StorageDevicePowerProperty = 12,
StorageDeviceCopyOffloadProperty = 13,
StorageDeviceResiliencyProperty = 14,
StorageDeviceMediumProductType = 15,
StorageAdapterRpmbProperty = 16,
StorageAdapterCryptoProperty = 17,
StorageDeviceIoCapabilityProperty = 48,
StorageAdapterProtocolSpecificProperty = 49,
StorageDeviceProtocolSpecificProperty = 50,
StorageAdapterTemperatureProperty = 51,
StorageDeviceTemperatureProperty = 52,
StorageAdapterPhysicalTopologyProperty = 53,
StorageDevicePhysicalTopologyProperty = 54,
StorageDeviceAttributesProperty = 55,
StorageDeviceManagementStatus = 56,
StorageAdapterSerialNumberProperty = 57,
StorageDeviceLocationProperty = 58,
StorageDeviceNumaProperty = 59,
StorageDeviceZonedDeviceProperty = 60,
StorageDeviceUnsafeShutdownCount = 61,
StorageDeviceEnduranceProperty = 62,
StorageDeviceLedStateProperty = 63,
StorageDeviceSelfEncryptionProperty = 64,
StorageFruIdProperty = 65,
StorageStackProperty = 66,
StorageAdapterProtocolSpecificPropertyEx = 67,
StorageDeviceProtocolSpecificPropertyEx = 68,
StorageHwCryptoProperty = 69
} STORAGE_PROPERTY_ID;public enum STORAGE_PROPERTY_ID : int
{
StorageDeviceProperty = 0,
StorageAdapterProperty = 1,
StorageDeviceIdProperty = 2,
StorageDeviceUniqueIdProperty = 3,
StorageDeviceWriteCacheProperty = 4,
StorageMiniportProperty = 5,
StorageAccessAlignmentProperty = 6,
StorageDeviceSeekPenaltyProperty = 7,
StorageDeviceTrimProperty = 8,
StorageDeviceWriteAggregationProperty = 9,
StorageDeviceDeviceTelemetryProperty = 10,
StorageDeviceLBProvisioningProperty = 11,
StorageDevicePowerProperty = 12,
StorageDeviceCopyOffloadProperty = 13,
StorageDeviceResiliencyProperty = 14,
StorageDeviceMediumProductType = 15,
StorageAdapterRpmbProperty = 16,
StorageAdapterCryptoProperty = 17,
StorageDeviceIoCapabilityProperty = 48,
StorageAdapterProtocolSpecificProperty = 49,
StorageDeviceProtocolSpecificProperty = 50,
StorageAdapterTemperatureProperty = 51,
StorageDeviceTemperatureProperty = 52,
StorageAdapterPhysicalTopologyProperty = 53,
StorageDevicePhysicalTopologyProperty = 54,
StorageDeviceAttributesProperty = 55,
StorageDeviceManagementStatus = 56,
StorageAdapterSerialNumberProperty = 57,
StorageDeviceLocationProperty = 58,
StorageDeviceNumaProperty = 59,
StorageDeviceZonedDeviceProperty = 60,
StorageDeviceUnsafeShutdownCount = 61,
StorageDeviceEnduranceProperty = 62,
StorageDeviceLedStateProperty = 63,
StorageDeviceSelfEncryptionProperty = 64,
StorageFruIdProperty = 65,
StorageStackProperty = 66,
StorageAdapterProtocolSpecificPropertyEx = 67,
StorageDeviceProtocolSpecificPropertyEx = 68,
StorageHwCryptoProperty = 69,
}Public Enum STORAGE_PROPERTY_ID As Integer
StorageDeviceProperty = 0
StorageAdapterProperty = 1
StorageDeviceIdProperty = 2
StorageDeviceUniqueIdProperty = 3
StorageDeviceWriteCacheProperty = 4
StorageMiniportProperty = 5
StorageAccessAlignmentProperty = 6
StorageDeviceSeekPenaltyProperty = 7
StorageDeviceTrimProperty = 8
StorageDeviceWriteAggregationProperty = 9
StorageDeviceDeviceTelemetryProperty = 10
StorageDeviceLBProvisioningProperty = 11
StorageDevicePowerProperty = 12
StorageDeviceCopyOffloadProperty = 13
StorageDeviceResiliencyProperty = 14
StorageDeviceMediumProductType = 15
StorageAdapterRpmbProperty = 16
StorageAdapterCryptoProperty = 17
StorageDeviceIoCapabilityProperty = 48
StorageAdapterProtocolSpecificProperty = 49
StorageDeviceProtocolSpecificProperty = 50
StorageAdapterTemperatureProperty = 51
StorageDeviceTemperatureProperty = 52
StorageAdapterPhysicalTopologyProperty = 53
StorageDevicePhysicalTopologyProperty = 54
StorageDeviceAttributesProperty = 55
StorageDeviceManagementStatus = 56
StorageAdapterSerialNumberProperty = 57
StorageDeviceLocationProperty = 58
StorageDeviceNumaProperty = 59
StorageDeviceZonedDeviceProperty = 60
StorageDeviceUnsafeShutdownCount = 61
StorageDeviceEnduranceProperty = 62
StorageDeviceLedStateProperty = 63
StorageDeviceSelfEncryptionProperty = 64
StorageFruIdProperty = 65
StorageStackProperty = 66
StorageAdapterProtocolSpecificPropertyEx = 67
StorageDeviceProtocolSpecificPropertyEx = 68
StorageHwCryptoProperty = 69
End Enumimport enum
class STORAGE_PROPERTY_ID(enum.IntEnum):
StorageDeviceProperty = 0
StorageAdapterProperty = 1
StorageDeviceIdProperty = 2
StorageDeviceUniqueIdProperty = 3
StorageDeviceWriteCacheProperty = 4
StorageMiniportProperty = 5
StorageAccessAlignmentProperty = 6
StorageDeviceSeekPenaltyProperty = 7
StorageDeviceTrimProperty = 8
StorageDeviceWriteAggregationProperty = 9
StorageDeviceDeviceTelemetryProperty = 10
StorageDeviceLBProvisioningProperty = 11
StorageDevicePowerProperty = 12
StorageDeviceCopyOffloadProperty = 13
StorageDeviceResiliencyProperty = 14
StorageDeviceMediumProductType = 15
StorageAdapterRpmbProperty = 16
StorageAdapterCryptoProperty = 17
StorageDeviceIoCapabilityProperty = 48
StorageAdapterProtocolSpecificProperty = 49
StorageDeviceProtocolSpecificProperty = 50
StorageAdapterTemperatureProperty = 51
StorageDeviceTemperatureProperty = 52
StorageAdapterPhysicalTopologyProperty = 53
StorageDevicePhysicalTopologyProperty = 54
StorageDeviceAttributesProperty = 55
StorageDeviceManagementStatus = 56
StorageAdapterSerialNumberProperty = 57
StorageDeviceLocationProperty = 58
StorageDeviceNumaProperty = 59
StorageDeviceZonedDeviceProperty = 60
StorageDeviceUnsafeShutdownCount = 61
StorageDeviceEnduranceProperty = 62
StorageDeviceLedStateProperty = 63
StorageDeviceSelfEncryptionProperty = 64
StorageFruIdProperty = 65
StorageStackProperty = 66
StorageAdapterProtocolSpecificPropertyEx = 67
StorageDeviceProtocolSpecificPropertyEx = 68
StorageHwCryptoProperty = 69// STORAGE_PROPERTY_ID
pub const StorageDeviceProperty: i32 = 0;
pub const StorageAdapterProperty: i32 = 1;
pub const StorageDeviceIdProperty: i32 = 2;
pub const StorageDeviceUniqueIdProperty: i32 = 3;
pub const StorageDeviceWriteCacheProperty: i32 = 4;
pub const StorageMiniportProperty: i32 = 5;
pub const StorageAccessAlignmentProperty: i32 = 6;
pub const StorageDeviceSeekPenaltyProperty: i32 = 7;
pub const StorageDeviceTrimProperty: i32 = 8;
pub const StorageDeviceWriteAggregationProperty: i32 = 9;
pub const StorageDeviceDeviceTelemetryProperty: i32 = 10;
pub const StorageDeviceLBProvisioningProperty: i32 = 11;
pub const StorageDevicePowerProperty: i32 = 12;
pub const StorageDeviceCopyOffloadProperty: i32 = 13;
pub const StorageDeviceResiliencyProperty: i32 = 14;
pub const StorageDeviceMediumProductType: i32 = 15;
pub const StorageAdapterRpmbProperty: i32 = 16;
pub const StorageAdapterCryptoProperty: i32 = 17;
pub const StorageDeviceIoCapabilityProperty: i32 = 48;
pub const StorageAdapterProtocolSpecificProperty: i32 = 49;
pub const StorageDeviceProtocolSpecificProperty: i32 = 50;
pub const StorageAdapterTemperatureProperty: i32 = 51;
pub const StorageDeviceTemperatureProperty: i32 = 52;
pub const StorageAdapterPhysicalTopologyProperty: i32 = 53;
pub const StorageDevicePhysicalTopologyProperty: i32 = 54;
pub const StorageDeviceAttributesProperty: i32 = 55;
pub const StorageDeviceManagementStatus: i32 = 56;
pub const StorageAdapterSerialNumberProperty: i32 = 57;
pub const StorageDeviceLocationProperty: i32 = 58;
pub const StorageDeviceNumaProperty: i32 = 59;
pub const StorageDeviceZonedDeviceProperty: i32 = 60;
pub const StorageDeviceUnsafeShutdownCount: i32 = 61;
pub const StorageDeviceEnduranceProperty: i32 = 62;
pub const StorageDeviceLedStateProperty: i32 = 63;
pub const StorageDeviceSelfEncryptionProperty: i32 = 64;
pub const StorageFruIdProperty: i32 = 65;
pub const StorageStackProperty: i32 = 66;
pub const StorageAdapterProtocolSpecificPropertyEx: i32 = 67;
pub const StorageDeviceProtocolSpecificPropertyEx: i32 = 68;
pub const StorageHwCryptoProperty: i32 = 69;// STORAGE_PROPERTY_ID
const (
StorageDeviceProperty int32 = 0
StorageAdapterProperty int32 = 1
StorageDeviceIdProperty int32 = 2
StorageDeviceUniqueIdProperty int32 = 3
StorageDeviceWriteCacheProperty int32 = 4
StorageMiniportProperty int32 = 5
StorageAccessAlignmentProperty int32 = 6
StorageDeviceSeekPenaltyProperty int32 = 7
StorageDeviceTrimProperty int32 = 8
StorageDeviceWriteAggregationProperty int32 = 9
StorageDeviceDeviceTelemetryProperty int32 = 10
StorageDeviceLBProvisioningProperty int32 = 11
StorageDevicePowerProperty int32 = 12
StorageDeviceCopyOffloadProperty int32 = 13
StorageDeviceResiliencyProperty int32 = 14
StorageDeviceMediumProductType int32 = 15
StorageAdapterRpmbProperty int32 = 16
StorageAdapterCryptoProperty int32 = 17
StorageDeviceIoCapabilityProperty int32 = 48
StorageAdapterProtocolSpecificProperty int32 = 49
StorageDeviceProtocolSpecificProperty int32 = 50
StorageAdapterTemperatureProperty int32 = 51
StorageDeviceTemperatureProperty int32 = 52
StorageAdapterPhysicalTopologyProperty int32 = 53
StorageDevicePhysicalTopologyProperty int32 = 54
StorageDeviceAttributesProperty int32 = 55
StorageDeviceManagementStatus int32 = 56
StorageAdapterSerialNumberProperty int32 = 57
StorageDeviceLocationProperty int32 = 58
StorageDeviceNumaProperty int32 = 59
StorageDeviceZonedDeviceProperty int32 = 60
StorageDeviceUnsafeShutdownCount int32 = 61
StorageDeviceEnduranceProperty int32 = 62
StorageDeviceLedStateProperty int32 = 63
StorageDeviceSelfEncryptionProperty int32 = 64
StorageFruIdProperty int32 = 65
StorageStackProperty int32 = 66
StorageAdapterProtocolSpecificPropertyEx int32 = 67
StorageDeviceProtocolSpecificPropertyEx int32 = 68
StorageHwCryptoProperty int32 = 69
)const
StorageDeviceProperty = 0;
StorageAdapterProperty = 1;
StorageDeviceIdProperty = 2;
StorageDeviceUniqueIdProperty = 3;
StorageDeviceWriteCacheProperty = 4;
StorageMiniportProperty = 5;
StorageAccessAlignmentProperty = 6;
StorageDeviceSeekPenaltyProperty = 7;
StorageDeviceTrimProperty = 8;
StorageDeviceWriteAggregationProperty = 9;
StorageDeviceDeviceTelemetryProperty = 10;
StorageDeviceLBProvisioningProperty = 11;
StorageDevicePowerProperty = 12;
StorageDeviceCopyOffloadProperty = 13;
StorageDeviceResiliencyProperty = 14;
StorageDeviceMediumProductType = 15;
StorageAdapterRpmbProperty = 16;
StorageAdapterCryptoProperty = 17;
StorageDeviceIoCapabilityProperty = 48;
StorageAdapterProtocolSpecificProperty = 49;
StorageDeviceProtocolSpecificProperty = 50;
StorageAdapterTemperatureProperty = 51;
StorageDeviceTemperatureProperty = 52;
StorageAdapterPhysicalTopologyProperty = 53;
StorageDevicePhysicalTopologyProperty = 54;
StorageDeviceAttributesProperty = 55;
StorageDeviceManagementStatus = 56;
StorageAdapterSerialNumberProperty = 57;
StorageDeviceLocationProperty = 58;
StorageDeviceNumaProperty = 59;
StorageDeviceZonedDeviceProperty = 60;
StorageDeviceUnsafeShutdownCount = 61;
StorageDeviceEnduranceProperty = 62;
StorageDeviceLedStateProperty = 63;
StorageDeviceSelfEncryptionProperty = 64;
StorageFruIdProperty = 65;
StorageStackProperty = 66;
StorageAdapterProtocolSpecificPropertyEx = 67;
StorageDeviceProtocolSpecificPropertyEx = 68;
StorageHwCryptoProperty = 69;// STORAGE_PROPERTY_ID
pub const StorageDeviceProperty: i32 = 0;
pub const StorageAdapterProperty: i32 = 1;
pub const StorageDeviceIdProperty: i32 = 2;
pub const StorageDeviceUniqueIdProperty: i32 = 3;
pub const StorageDeviceWriteCacheProperty: i32 = 4;
pub const StorageMiniportProperty: i32 = 5;
pub const StorageAccessAlignmentProperty: i32 = 6;
pub const StorageDeviceSeekPenaltyProperty: i32 = 7;
pub const StorageDeviceTrimProperty: i32 = 8;
pub const StorageDeviceWriteAggregationProperty: i32 = 9;
pub const StorageDeviceDeviceTelemetryProperty: i32 = 10;
pub const StorageDeviceLBProvisioningProperty: i32 = 11;
pub const StorageDevicePowerProperty: i32 = 12;
pub const StorageDeviceCopyOffloadProperty: i32 = 13;
pub const StorageDeviceResiliencyProperty: i32 = 14;
pub const StorageDeviceMediumProductType: i32 = 15;
pub const StorageAdapterRpmbProperty: i32 = 16;
pub const StorageAdapterCryptoProperty: i32 = 17;
pub const StorageDeviceIoCapabilityProperty: i32 = 48;
pub const StorageAdapterProtocolSpecificProperty: i32 = 49;
pub const StorageDeviceProtocolSpecificProperty: i32 = 50;
pub const StorageAdapterTemperatureProperty: i32 = 51;
pub const StorageDeviceTemperatureProperty: i32 = 52;
pub const StorageAdapterPhysicalTopologyProperty: i32 = 53;
pub const StorageDevicePhysicalTopologyProperty: i32 = 54;
pub const StorageDeviceAttributesProperty: i32 = 55;
pub const StorageDeviceManagementStatus: i32 = 56;
pub const StorageAdapterSerialNumberProperty: i32 = 57;
pub const StorageDeviceLocationProperty: i32 = 58;
pub const StorageDeviceNumaProperty: i32 = 59;
pub const StorageDeviceZonedDeviceProperty: i32 = 60;
pub const StorageDeviceUnsafeShutdownCount: i32 = 61;
pub const StorageDeviceEnduranceProperty: i32 = 62;
pub const StorageDeviceLedStateProperty: i32 = 63;
pub const StorageDeviceSelfEncryptionProperty: i32 = 64;
pub const StorageFruIdProperty: i32 = 65;
pub const StorageStackProperty: i32 = 66;
pub const StorageAdapterProtocolSpecificPropertyEx: i32 = 67;
pub const StorageDeviceProtocolSpecificPropertyEx: i32 = 68;
pub const StorageHwCryptoProperty: i32 = 69;const
StorageDeviceProperty* = 0
StorageAdapterProperty* = 1
StorageDeviceIdProperty* = 2
StorageDeviceUniqueIdProperty* = 3
StorageDeviceWriteCacheProperty* = 4
StorageMiniportProperty* = 5
StorageAccessAlignmentProperty* = 6
StorageDeviceSeekPenaltyProperty* = 7
StorageDeviceTrimProperty* = 8
StorageDeviceWriteAggregationProperty* = 9
StorageDeviceDeviceTelemetryProperty* = 10
StorageDeviceLBProvisioningProperty* = 11
StorageDevicePowerProperty* = 12
StorageDeviceCopyOffloadProperty* = 13
StorageDeviceResiliencyProperty* = 14
StorageDeviceMediumProductType* = 15
StorageAdapterRpmbProperty* = 16
StorageAdapterCryptoProperty* = 17
StorageDeviceIoCapabilityProperty* = 48
StorageAdapterProtocolSpecificProperty* = 49
StorageDeviceProtocolSpecificProperty* = 50
StorageAdapterTemperatureProperty* = 51
StorageDeviceTemperatureProperty* = 52
StorageAdapterPhysicalTopologyProperty* = 53
StorageDevicePhysicalTopologyProperty* = 54
StorageDeviceAttributesProperty* = 55
StorageDeviceManagementStatus* = 56
StorageAdapterSerialNumberProperty* = 57
StorageDeviceLocationProperty* = 58
StorageDeviceNumaProperty* = 59
StorageDeviceZonedDeviceProperty* = 60
StorageDeviceUnsafeShutdownCount* = 61
StorageDeviceEnduranceProperty* = 62
StorageDeviceLedStateProperty* = 63
StorageDeviceSelfEncryptionProperty* = 64
StorageFruIdProperty* = 65
StorageStackProperty* = 66
StorageAdapterProtocolSpecificPropertyEx* = 67
StorageDeviceProtocolSpecificPropertyEx* = 68
StorageHwCryptoProperty* = 69enum STORAGE_PROPERTY_ID : int {
StorageDeviceProperty = 0,
StorageAdapterProperty = 1,
StorageDeviceIdProperty = 2,
StorageDeviceUniqueIdProperty = 3,
StorageDeviceWriteCacheProperty = 4,
StorageMiniportProperty = 5,
StorageAccessAlignmentProperty = 6,
StorageDeviceSeekPenaltyProperty = 7,
StorageDeviceTrimProperty = 8,
StorageDeviceWriteAggregationProperty = 9,
StorageDeviceDeviceTelemetryProperty = 10,
StorageDeviceLBProvisioningProperty = 11,
StorageDevicePowerProperty = 12,
StorageDeviceCopyOffloadProperty = 13,
StorageDeviceResiliencyProperty = 14,
StorageDeviceMediumProductType = 15,
StorageAdapterRpmbProperty = 16,
StorageAdapterCryptoProperty = 17,
StorageDeviceIoCapabilityProperty = 48,
StorageAdapterProtocolSpecificProperty = 49,
StorageDeviceProtocolSpecificProperty = 50,
StorageAdapterTemperatureProperty = 51,
StorageDeviceTemperatureProperty = 52,
StorageAdapterPhysicalTopologyProperty = 53,
StorageDevicePhysicalTopologyProperty = 54,
StorageDeviceAttributesProperty = 55,
StorageDeviceManagementStatus = 56,
StorageAdapterSerialNumberProperty = 57,
StorageDeviceLocationProperty = 58,
StorageDeviceNumaProperty = 59,
StorageDeviceZonedDeviceProperty = 60,
StorageDeviceUnsafeShutdownCount = 61,
StorageDeviceEnduranceProperty = 62,
StorageDeviceLedStateProperty = 63,
StorageDeviceSelfEncryptionProperty = 64,
StorageFruIdProperty = 65,
StorageStackProperty = 66,
StorageAdapterProtocolSpecificPropertyEx = 67,
StorageDeviceProtocolSpecificPropertyEx = 68,
StorageHwCryptoProperty = 69,
}#define global StorageDeviceProperty 0x0
#define global StorageAdapterProperty 0x1
#define global StorageDeviceIdProperty 0x2
#define global StorageDeviceUniqueIdProperty 0x3
#define global StorageDeviceWriteCacheProperty 0x4
#define global StorageMiniportProperty 0x5
#define global StorageAccessAlignmentProperty 0x6
#define global StorageDeviceSeekPenaltyProperty 0x7
#define global StorageDeviceTrimProperty 0x8
#define global StorageDeviceWriteAggregationProperty 0x9
#define global StorageDeviceDeviceTelemetryProperty 0xA
#define global StorageDeviceLBProvisioningProperty 0xB
#define global StorageDevicePowerProperty 0xC
#define global StorageDeviceCopyOffloadProperty 0xD
#define global StorageDeviceResiliencyProperty 0xE
#define global StorageDeviceMediumProductType 0xF
#define global StorageAdapterRpmbProperty 0x10
#define global StorageAdapterCryptoProperty 0x11
#define global StorageDeviceIoCapabilityProperty 0x30
#define global StorageAdapterProtocolSpecificProperty 0x31
#define global StorageDeviceProtocolSpecificProperty 0x32
#define global StorageAdapterTemperatureProperty 0x33
#define global StorageDeviceTemperatureProperty 0x34
#define global StorageAdapterPhysicalTopologyProperty 0x35
#define global StorageDevicePhysicalTopologyProperty 0x36
#define global StorageDeviceAttributesProperty 0x37
#define global StorageDeviceManagementStatus 0x38
#define global StorageAdapterSerialNumberProperty 0x39
#define global StorageDeviceLocationProperty 0x3A
#define global StorageDeviceNumaProperty 0x3B
#define global StorageDeviceZonedDeviceProperty 0x3C
#define global StorageDeviceUnsafeShutdownCount 0x3D
#define global StorageDeviceEnduranceProperty 0x3E
#define global StorageDeviceLedStateProperty 0x3F
#define global StorageDeviceSelfEncryptionProperty 0x40
#define global StorageFruIdProperty 0x41
#define global StorageStackProperty 0x42
#define global StorageAdapterProtocolSpecificPropertyEx 0x43
#define global StorageDeviceProtocolSpecificPropertyEx 0x44
#define global StorageHwCryptoProperty 0x45