The base type for classes representing a property returned by the Win32_PnPEntity::GetDeviceProperties Method.
The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.
Syntax
[abstract, UUID("{ee0b76cd-314b-41f1-99d4-d4f3b0421430}"), AMENDMENT]
class Win32_PnPDeviceProperty
{
string Key;
string KeyName;
Uint32 Type;
string DeviceID;
};
Members
The Win32_PnPDeviceProperty class has these types of members:
Properties
The Win32_PnPDeviceProperty class has these properties.
DeviceID
Data type: string
Access type: Read-only
Identifies the PnP device.
Key
Data type: string
Access type: Read-only
The value of the Key Name-Value pair that identifies the Data property.
KeyName
Data type: string
Access type: Read-only
The name of the Key Name-Value pair that identifies the Data property.
Type
Data type: Uint32
Access type: Read-only
The type of the Data property.
The possible values are.
Empty (0)
Null (1)
SByte (2)
Byte (3)
Int16 (4)
UInt16 (5)
Int32 (6)
Uint32 (7)
Int64 (8)
UInt64 (9)
Float (10)
Double (11)
Decimal (12)
Guid (13)
Currency (14)
Date (15)
FileTime (16)
Boolean (17)
String (18)
SecurityDescriptor (19)
SecurityDescriptorString (20)
DEVPROPKEY (21)
DEVPROPTYPE (22)
Error (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)
Unknown - check in devpropdef.h (4120)
TBD (8217)
Reserved
8218–4294967295
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 10 [desktop apps only] |
| Minimum supported server | Windows Server 2016 |
| Namespace | Root\CIMV2 |
| MOF | Cimwin32.mof |
| DLL | CIMWin32.dll |
See also
Computer System Hardware Classes
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
