summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-12-17 01:45:20 +0000
committerTim Potter <tpot@samba.org>2001-12-17 01:45:20 +0000
commit55e0930a29312e8c5e9575efcdb62606cd9b8a2f (patch)
tree25f60ed382835bbdf90593d6427943927e584a25
parent28df80cf68158c37fa8ddcadd0ce94dd3ef3887e (diff)
downloadsamba-55e0930a29312e8c5e9575efcdb62606cd9b8a2f.tar.gz
samba-55e0930a29312e8c5e9575efcdb62606cd9b8a2f.tar.bz2
samba-55e0930a29312e8c5e9575efcdb62606cd9b8a2f.zip
Added some constants for registry data types.
(This used to be commit 6b20d863b75b2b27d8dd8683cc3dc4486b18ceff)
-rw-r--r--source3/include/rpc_reg.h18
1 files changed, 14 insertions, 4 deletions
diff --git a/source3/include/rpc_reg.h b/source3/include/rpc_reg.h
index 8fe40be6f7..bc2c3824df 100644
--- a/source3/include/rpc_reg.h
+++ b/source3/include/rpc_reg.h
@@ -59,10 +59,20 @@
#define HKEY_LOCAL_MACHINE 0x80000002
#define HKEY_USERS 0x80000003
-#define REG_SZ 1
-#define REG_BINARY 3
-#define REG_DWORD 4
-#define REG_MULTI_SZ 7
+/* Registry data types */
+
+#define REG_NONE 0
+#define REG_SZ 1
+#define REG_EXPAND_SZ 2
+#define REG_BINARY 3
+#define REG_DWORD 4
+#define REG_DWORD_LE 4 /* DWORD, little endian */
+#define REG_DWORD_BE 5 /* DWORD, big endian */
+#define REG_LINK 6
+#define REG_MULTI_SZ 7
+#define REG_RESOURCE_LIST 8
+#define REG_FULL_RESOURCE_DESCRIPTOR 9
+#define REG_RESOURCE_REQUIREMENTS_LIST 10
/* REG_Q_OPEN_HKCR */
typedef struct q_reg_open_hkcr_info