Win32 API 日本語リファレンス
ホームSystem.Ioctl › STORAGE_QUERY_TYPE

STORAGE_QUERY_TYPE

列挙型
基底型i4

メンバー 4

名前10進16進説明
PropertyStandardQuery00x0適切な記述子を返すようにドライバーに指示します。
PropertyExistsQuery10x1その記述子がサポートされているかどうかを報告するようにドライバーに指示します。
PropertyMaskQuery20x2現在はサポートされていません。使用しないでください。
PropertyQueryMaxDefined30x3クエリの種類の一覧の上限を指定します。これはクエリの種類を検証するために使用されます。

公式ドキュメント

IOCTL_STORAGE_QUERY_PROPERTY 制御コードに渡される STORAGE_PROPERTY_QUERY 構造体で使用され、ストレージデバイスまたはアダプターのプロパティについてどのような情報を返すかを示します。

出典・ライセンス: 上記「公式ドキュメント」の内容は Microsoft の Win32 API ドキュメント(MicrosoftDocs/sdk-api)を日本語に翻訳・改変したものです。© Microsoft Corporation. CC BY 4.0 で提供。
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)

各言語での定義

列挙メンバーの定義。HSP タブは #define global(値は16進)。

typedef enum STORAGE_QUERY_TYPE : int {
    PropertyStandardQuery = 0,
    PropertyExistsQuery = 1,
    PropertyMaskQuery = 2,
    PropertyQueryMaxDefined = 3
} STORAGE_QUERY_TYPE;
public enum STORAGE_QUERY_TYPE : int
{
    PropertyStandardQuery = 0,
    PropertyExistsQuery = 1,
    PropertyMaskQuery = 2,
    PropertyQueryMaxDefined = 3,
}
Public Enum STORAGE_QUERY_TYPE As Integer
    PropertyStandardQuery = 0
    PropertyExistsQuery = 1
    PropertyMaskQuery = 2
    PropertyQueryMaxDefined = 3
End Enum
import enum

class STORAGE_QUERY_TYPE(enum.IntEnum):
    PropertyStandardQuery = 0
    PropertyExistsQuery = 1
    PropertyMaskQuery = 2
    PropertyQueryMaxDefined = 3
// STORAGE_QUERY_TYPE
pub const PropertyStandardQuery: i32 = 0;
pub const PropertyExistsQuery: i32 = 1;
pub const PropertyMaskQuery: i32 = 2;
pub const PropertyQueryMaxDefined: i32 = 3;
// STORAGE_QUERY_TYPE
const (
	PropertyStandardQuery int32 = 0
	PropertyExistsQuery int32 = 1
	PropertyMaskQuery int32 = 2
	PropertyQueryMaxDefined int32 = 3
)
const
  PropertyStandardQuery = 0;
  PropertyExistsQuery = 1;
  PropertyMaskQuery = 2;
  PropertyQueryMaxDefined = 3;
// STORAGE_QUERY_TYPE
pub const PropertyStandardQuery: i32 = 0;
pub const PropertyExistsQuery: i32 = 1;
pub const PropertyMaskQuery: i32 = 2;
pub const PropertyQueryMaxDefined: i32 = 3;
const
  PropertyStandardQuery* = 0
  PropertyExistsQuery* = 1
  PropertyMaskQuery* = 2
  PropertyQueryMaxDefined* = 3
enum STORAGE_QUERY_TYPE : int {
    PropertyStandardQuery = 0,
    PropertyExistsQuery = 1,
    PropertyMaskQuery = 2,
    PropertyQueryMaxDefined = 3,
}
#define global PropertyStandardQuery   0x0
#define global PropertyExistsQuery     0x1
#define global PropertyMaskQuery       0x2
#define global PropertyQueryMaxDefined 0x3