summaryrefslogtreecommitdiff
path: root/source4/include
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-12-11 17:12:16 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:07:19 -0500
commit6cf13f4d72beee3df0432d0898c5981ce8bced43 (patch)
treed30d85a303fcd29904b125bdc09df62fdffe631b /source4/include
parentadbdb055ee08b0aede06ecec34157ecf4f22c9de (diff)
downloadsamba-6cf13f4d72beee3df0432d0898c5981ce8bced43.tar.gz
samba-6cf13f4d72beee3df0432d0898c5981ce8bced43.tar.bz2
samba-6cf13f4d72beee3df0432d0898c5981ce8bced43.zip
r4154: Add definitions for HKEY_PERFORMANCE_TEXT and HKEY_PERFORMANCE_NLSTEXT
Hives and predefined keys (HKEY_*) are not necessarily the same thing. (This used to be commit 217e4e5841cfedb2b18dce3f89dd88ea4a36fe8f)
Diffstat (limited to 'source4/include')
-rw-r--r--source4/include/registry.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/include/registry.h b/source4/include/registry.h
index b399869091..e3b7eeb902 100644
--- a/source4/include/registry.h
+++ b/source4/include/registry.h
@@ -22,8 +22,8 @@
#ifndef _REGISTRY_H /* _REGISTRY_H */
#define _REGISTRY_H
-
-enum hkeys {
+/* Handles for the predefined keys */
+enum reg_predefined_key {
HKEY_CLASSES_ROOT = 0x80000000,
HKEY_CURRENT_USER = 0x80000001,
HKEY_LOCAL_MACHINE = 0x80000002,
@@ -31,8 +31,8 @@ enum hkeys {
HKEY_PERFORMANCE_DATA = 0x80000004,
HKEY_CURRENT_CONFIG = 0x80000005,
HKEY_DYN_DATA = 0x80000006,
- HKEY_PT = 0x80000007, /* Don't know if this is correct! */
- HKEY_PN = 0x80000008 /* Don't know if this is correct! */
+ HKEY_PERFORMANCE_TEXT = 0x80000050,
+ HKEY_PERFORMANCE_NLSTEXT= 0x80000060
};
/* Registry data types */