SystemConfig_PnP class

This class is the event type class for PnP events.

The following syntax is simplified from MOF code.

Syntax

[EventType(22), EventTypeName("PnP")]
class SystemConfig_PnP : SystemConfig
{
  uint32 IDLength;
  uint32 DescriptionLength;
  uint32 FriendlyNameLength;
  string DeviceID;
  string DeviceDescription;
  string FriendlyName;
};

Members

The SystemConfig_PnP class has these types of members:

Properties

The SystemConfig_PnP class has these properties.

DescriptionLength

Data type: uint32

Access type: Read-only

Qualifiers: WmiDataId(2)

Length, in characters, of the DeviceDescription string.

DeviceDescription

Data type: string

Access type: Read-only

Qualifiers: WmiDataId(5), StringTermination("NullTerminated"), Format("w")

Description of the PnP device.

DeviceID

Data type: string

Access type: Read-only

Qualifiers: WmiDataId(4), StringTermination("NullTerminated"), Format("w")

Identifies the PnP device.

FriendlyName

Data type: string

Access type: Read-only

Qualifiers: WmiDataId(6), StringTermination("NullTerminated"), Format("w")

Name of the PnP device to use in a user interface.

FriendlyNameLength

Data type: uint32

Access type: Read-only

Qualifiers: WmiDataId(3)

Length, in characters, of the FriendlyName string.

IDLength

Data type: uint32

Access type: Read-only

Qualifiers: WmiDataId(1)

Length, in characters, of the DeviceID string.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]

See also

SystemConfig