Windows Dev Center

RegistryEvent class

The RegistryEvent class is an abstract class from which the RegistryKeyChangeEvent, RegistryTreeChangeEvent, and RegistryValueChangeEvent classes are derived. For more information about using the WMI registry event classes, see the Modifying the System Registry section. For code examples, see WMI Tasks: Registry.

The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties. Properties and methods are in alphabetic order, not MOF order.

Syntax

class RegistryEvent : __ExtrinsicEvent
{
  uint8  SECURITY_DESCRIPTOR [];
  uint64 TIME_CREATED;
};

Members

The RegistryEvent class has these types of members:

Properties

The RegistryEvent class has these properties.

SECURITY_DESCRIPTOR
Data type: uint8 array
Access type: Read-only

Descriptor that the event provider uses to determine which users can receive an event. This property is inherited from __Event.

TIME_CREATED
Data type: uint64
Access type: Read-only

Unique value that indicates the time when an event is generated. This is a 64-bit FILETIME value that represents the number of 100-nanosecond intervals after January 1, 1601. The information is in the Coordinated Universal Time (UTC) format. This property is inherited from __Event. To convert this value to other time formats, use the SWbemDateTime methods SetFileTime and GetFileTime. For more information, see WMI Tasks: Dates and Times.

For more information about using uint64 values in scripts, see Scripting in WMI.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2003

Namespace

Root\default

MOF

RegEvent.mof

DLL

StdProv.dll

See also

__ExtrinsicEvent

 

 

Show:
© 2015 Microsoft