diff options
author | stanton <stanton> | 1999-02-02 22:25:21 (GMT) |
---|---|---|
committer | stanton <stanton> | 1999-02-02 22:25:21 (GMT) |
commit | cd1b42525749d0b3a0a5826ff6db23502b786c91 (patch) | |
tree | d46905bf0211750835330827f7a0cfc8eb5f685f | |
parent | 287e43ac1008d0ab3b89450792c2902232084d26 (diff) | |
download | tcl-cd1b42525749d0b3a0a5826ff6db23502b786c91.zip tcl-cd1b42525749d0b3a0a5826ff6db23502b786c91.tar.gz tcl-cd1b42525749d0b3a0a5826ff6db23502b786c91.tar.bz2 |
* win/tclWinReg.c:
* doc/registry.n: Added support for HKEY_PERFORMANCE_DATA and
HKEY_DYN_DATA keys. [Bug: 1109]
-rw-r--r-- | doc/registry.n | 9 | ||||
-rw-r--r-- | win/tclWinReg.c | 5 |
2 files changed, 9 insertions, 5 deletions
diff --git a/doc/registry.n b/doc/registry.n index 9fe1c99..4b7dbf3 100644 --- a/doc/registry.n +++ b/doc/registry.n @@ -4,7 +4,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: registry.n,v 1.2 1998/09/14 18:39:54 stanton Exp $ +'\" RCS: @(#) $Id: registry.n,v 1.3 1999/02/02 22:25:21 stanton Exp $ '\" .so man.macros .TH registry n 8.0 Tcl "Tcl Built-In Commands" @@ -39,8 +39,11 @@ one of the following forms: \fIHostname\fR specifies the name of any valid Windows host that exports its registry. The \fIrootname\fR component must be one of \fBHKEY_LOCAL_MACHINE\fR, \fBHKEY_USERS\fR, -\fBHKEY_CLASSES_ROOT\fR, \fBHKEY_CURRENT_USER\fR, or -\fBHKEY_CURRENT_CONFIG\fR. The \fIkeypath\fR can be one or more +.VS +\fBHKEY_CLASSES_ROOT\fR, \fBHKEY_CURRENT_USER\fR, +\fBHKEY_CURRENT_CONFIG\fR, \fBHKEY_PERFORMANCE_DATA\fR, or +\fBHKEY_DYN_DATA\fR. The \fIkeypath\fR can be one or more +.VE registry key names separated by backslash (\fB\e\fR) characters. .PP \fIOption\fR indicates what to do with the registry key name. Any diff --git a/win/tclWinReg.c b/win/tclWinReg.c index ea947c2..58d0b61 100644 --- a/win/tclWinReg.c +++ b/win/tclWinReg.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclWinReg.c,v 1.6 1998/09/14 18:40:20 stanton Exp $ + * RCS: @(#) $Id: tclWinReg.c,v 1.7 1999/02/02 22:25:21 stanton Exp $ */ #include <tcl.h> @@ -61,7 +61,8 @@ static char *rootKeyNames[] = { "HKEY_LOCAL_MACHINE", "HKEY_USERS", "HKEY_CLASSES_ROOT", - "HKEY_CURRENT_USER", "HKEY_CURRENT_CONFIG", NULL + "HKEY_CURRENT_USER", "HKEY_CURRENT_CONFIG", + "HKEY_PERFORMANCE_DATA", "HKEY_DYN_DATA", NULL }; static HKEY rootKeys[] = { |