Win32_PnPDeviceProperty クラス

Win32_PnPEntity::GetDeviceProperties メソッドによって返されるプロパティを表すクラスの基本型。

次の構文はマネージド オブジェクト フォーマット (MOF) のコードを単純化したもので、すべての継承されたプロパティを含みます。

構文

[abstract, UUID("{ee0b76cd-314b-41f1-99d4-d4f3b0421430}"), AMENDMENT]
class Win32_PnPDeviceProperty
{
  string Key;
  string KeyName;
  Uint32 Type;
  string DeviceID;
};

メンバー

Win32_PnPDeviceProperty クラスには、次の種類のメンバーがあります。

プロパティ

Win32_PnPDeviceProperty クラスには、これらのプロパティがあります。

DeviceID

データ型: string

アクセスの種類: 読み取り専用

PnP デバイスを識別します。

キー

データ型: string

アクセスの種類: 読み取り専用

Data プロパティを識別する Key Name-Value ペアの値。

Keyname

データ型: string

アクセスの種類: 読み取り専用

Data プロパティを識別する Key Name-Value ペアの名前。

Type

データ型: Uint32

アクセスの種類: 読み取り専用

Data プロパティの型。

指定できる値は です。

(0)

Null (1)

SByte (2)

バイト (3)

Int16 (4)

UInt16 (5)

Int32 (6)

Uint32 (7)

Int64 (8)

UInt64 (9)

Float (10)

ダブル (11)

Decimal (12)

Guid (13)

通貨 (14)

日付 (15)

FileTime (16)

ブール値 (17)

String (18)

SecurityDescriptor (19)

SecurityDescriptorString (20)

DEVPROPKEY (21)

DEVPROPTYPE (22)

エラー (23)

NTStatus (24)

StringIndirect (25)

Reserved

26–4097

SByteArray (4098)

Binary (4099)

Int16Array (4100)

UInt16Array (4101)

Int64Array (4102)

UInt64Array (4103)

FloatArray (4104)

DoubleArray (4105)

DecimalArray (4106)

GuidArray (4107)

CurrencyArray (4108)

DateArray (4109)

FileTimeArray (4110)

BooleanArray (4111)

StringList (4112)

SecurityDescriptorList (4113)

SecurityDescriptorStringList (8210)

DEVPROPKEYArray (8211)

DEVPROPTYPEArray (8212)

ErrorArray (4117)

NTStatusArray (4118)

StringIndirectList (4119)

不明 - devpropdef.h のチェック (4120)

TBD (8217)

Reserved

8218–4294967295

要件

要件
サポートされている最小のクライアント
Windows 10 [デスクトップ アプリのみ]
サポートされている最小のサーバー
Windows Server 2016
名前空間
Root\CIMV2
MOF
Cimwin32.mof
[DLL]
CIMWin32.dll

こちらもご覧ください

コンピューター システム ハードウェア クラス

GetDeviceProperties