2025-11-27 16:46:48 +09:00

14 lines
1.7 KiB
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{\rtf1\ansi\deff0\deftab720{\fonttbl{\f0\fswiss MS Sans Serif;}{\f1\froman\fcharset2 Symbol;}{\f2\froman Times New Roman;}{\f3\froman Times New Roman;}}
{\colortbl\red0\green0\blue0;\red0\green0\blue128;}
\deflang1033\pard\plain\f2\fs36\cf1\b Registry Events Watcher classes\plain\f2\fs36\b
\par \plain\f2\fs24\b
\par \plain\f2\fs24 The COXRegistryWatcher enables you to organize registry change notifications. It notifies the caller about changes to the attributes or contents of a specified registry key or its subkeys.
\par \plain\f2\fs24\b Features:
\par \pard\li720\fi-360{\*\pn\pnlvlblt\pnf1\pnindent360{\pntxtb\'b7}}\plain\f2\fs24 {\pntext\f1\'b7\tab}You can set a registry key to be watched. This key is specified by its handle. In addition you can specify watching for sub-trees and type of watched changes (in the value, name, attributes or security). For each of watched keys COXRegistryWatcher creates a notifier - object of the COXRegistryWatchNotifier class that stores all notification parameters.
\par {\pntext\f1\'b7\tab}You can add unlimited number of keys to be watched and redefine the watching dynamically, without re-creating the COXRegistryWatcher object.
\par {\pntext\f1\'b7\tab}All change notifications are handled by virtual functions, which can be overridden in derived classes. Override this function to specify handling of the registry changes.
\par {\pntext\f1\'b7\tab}COXRegistryWatcher can also convert notifications to a window message. This message can be sent to a specified window and processed there.
\par {\pntext\f1\'b7\tab}Registry watching is carried out by the separate worker thread. It doesn't "hang" your programs.
\par \pard\plain\f3\fs20
\par }