Win32_SystemConfigurationChangeEvent class
The Win32_SystemConfigurationChangeEvent WMI class indicates that the device list on the system has been refreshed (a device has been added or removed, or the configuration changed). An event is fired and an instance of this is class created when the "DevMgrRefreshOn<ComputerName>" message is sent. The exact change to the device list is not contained in the message, so a device refresh is required to obtain the current system settings. Examples of configuration changes affected are IRQ settings, COM ports, and BIOS versions.
The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties. Properties and methods are in alphabetic order, not MOF order.
Syntax
class Win32_SystemConfigurationChangeEvent : Win32_DeviceChangeEvent
{
uint16 EventType;
uint8 SECURITY_DESCRIPTOR[];
uint64 TIME_CREATED;
};
Members
The Win32_SystemConfigurationChangeEvent class has these types of members:
Properties
The Win32_SystemConfigurationChangeEvent class has these properties.
- EventType
-
- Data type: uint16
- Access type: Read-only
Type of event.
Value Meaning - 1
Configuration Changed
- 2
Device Arrival
- 3
Device Removal
- 4
Docking
- SECURITY_DESCRIPTOR
-
- Data type: uint8 array
- Access type: Read-only
Descriptor used by the event provider to determine which users can receive the event. This property is inherited from __ExtrinsicEvent.
- TIME_CREATED
-
- Data type: uint64
- Access type: Read-only
Unique value that indicates the time at which the event was generated. This property is inherited from __ExtrinsicEvent.
For more information about using uint64 values in scripts, see Scripting in WMI.
Remarks
The Win32_SystemConfigurationChangeEvent class is derived from Win32_DeviceChangeEvent.
Examples
For script code examples, see WMI Tasks for Scripts and Applications and the TechNet ScriptCenter Script Repository.
For C++ code examples, see WMI C++ Application Examples.
Requirements
|
Minimum supported client | Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2003 [desktop apps only] |
|
Namespace |
\root\CIMV2 |
|
MOF |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 11/19/2012