![]() These classes have a property called Hive that identifies the hierarchy of keys to be monitored for change, such as HKEY_LOCAL_MACHINE.Ĭhanges to the HKEY_CLASSES_ROOT and HKEY_CURRENT_USER hives are not supported by RegistryEvent or classes derived from it, such as RegistryTreeChangeEvent.Ĭreate the WHERE clause for your event registration. Event classĪbstract base class for changes in the registry. The following table lists the registry event classes that you can use. ![]() Create a query string for the bstrQuery parameter of IWbemServices::ExecNotificationQueryAsync or the strQuery in script.ĭetermine which type of event you want to receive and create the query. In either script or C++, use a notification query such as SWbemServices.ExecNotificationQueryAsync or IWbemServices::ExecNotificationQueryAsync. The following procedure describes how to register for system registry events. For more information about general event registration, see Receiving a WMI Event. The registry provider supplies event classes for events in the system registry. ![]() Most of the requirements to register for the System Registry provider are the same as any other event registration, except you must also perform the following procedure. To receive notifications from the System Registry provider, a management application must register as a temporary event consumer.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |