Click to Rate and Give Feedback
MSDN
MSDN Library
WMI Reference
WMI Classes
 RegistryEvent Class

  Switch on low bandwidth view
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;
};

Methods

The RegistryEvent class inherits from __ExtrinsicEvent.

Properties

The RegistryEvent class defines the following 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.

Windows 2000:  Not available.
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.

Windows 2000:  Not available.

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

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 clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
MOFRegevent.mof
DLLStdprov.exe
Namespace\root\default

Send comments about this topic to Microsoft

Build date: 6/15/2009

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker