summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-20 03:24:13 +0100
committerMichael Adam <obnox@samba.org>2008-01-20 03:47:36 +0100
commit2925d8357319c9872d570fe045c883a25891b59e (patch)
tree31ce65e088e768a22f28d13ad7361c1ea35ab89d /source3/include
parenta1af15d29f1e009a80bf205397a6a0b122d67e26 (diff)
downloadsamba-2925d8357319c9872d570fe045c883a25891b59e.tar.gz
samba-2925d8357319c9872d570fe045c883a25891b59e.tar.bz2
samba-2925d8357319c9872d570fe045c883a25891b59e.zip
Add a registry backend current_version that replaces the former dynamic overlay.
Make sure to only respond to the exact current version key since subkeys are registered by other backends (printing and - soon - perflib). Michael (This used to be commit 2c650bf63ccd9dc5dddbf4700831489544ded055)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/reg_objects.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/include/reg_objects.h b/source3/include/reg_objects.h
index e6fbcbdd6d..24db16261d 100644
--- a/source3/include/reg_objects.h
+++ b/source3/include/reg_objects.h
@@ -102,6 +102,7 @@ typedef struct {
#define KEY_PRINTING "HKLM\\SYSTEM\\CurrentControlSet\\Control\\Print"
#define KEY_PRINTING_2K "HKLM\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Print\\Printers"
#define KEY_PRINTING_PORTS "HKLM\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Ports"
+#define KEY_CURRENT_VERSION "HKLM\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion"
#define KEY_SMBCONF "HKLM\\SOFTWARE\\Samba\\smbconf"
#define KEY_TREE_ROOT ""