summaryrefslogtreecommitdiff
path: root/librpc/idl
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-03-11 20:20:48 +0100
committerGünther Deschner <gd@samba.org>2010-03-11 20:23:47 +0100
commite0d85f87b7a6a3c887bc0a7f93b26380369e269c (patch)
tree5192a92cf2f0f24d8bd85d6ce05333697566057e /librpc/idl
parent96a38e387e9655b14504c0c3d181db95cc84cc3d (diff)
downloadsamba-e0d85f87b7a6a3c887bc0a7f93b26380369e269c.tar.gz
samba-e0d85f87b7a6a3c887bc0a7f93b26380369e269c.tar.bz2
samba-e0d85f87b7a6a3c887bc0a7f93b26380369e269c.zip
winreg: add winreg_KeyType enum.
Guenther
Diffstat (limited to 'librpc/idl')
-rw-r--r--librpc/idl/winreg.idl10
1 files changed, 8 insertions, 2 deletions
diff --git a/librpc/idl/winreg.idl b/librpc/idl/winreg.idl
index 70206916e0..a21bbd4a62 100644
--- a/librpc/idl/winreg.idl
+++ b/librpc/idl/winreg.idl
@@ -113,6 +113,12 @@ import "lsa.idl", "security.idl", "misc.idl";
} winreg_SecBuf;
typedef [v1_enum] enum {
+ REG_KEYTYPE_NON_VOLATILE = 0x00000000,
+ REG_KEYTYPE_VOLATILE = 0x00000001,
+ REG_KEYTYPE_SYMLINK = 0x00000002
+ } winreg_KeyType;
+
+ typedef [v1_enum] enum {
REG_ACTION_NONE = 0, /* used by caller */
REG_CREATED_NEW_KEY = 1,
REG_OPENED_EXISTING_KEY = 2
@@ -122,7 +128,7 @@ import "lsa.idl", "security.idl", "misc.idl";
[in,ref] policy_handle *handle,
[in] winreg_String name,
[in] winreg_String keyclass,
- [in] uint32 options,
+ [in] winreg_KeyType options,
[in] winreg_AccessMask access_mask,
[in,unique] winreg_SecBuf *secdesc,
[out,ref] policy_handle *new_handle,
@@ -230,7 +236,7 @@ import "lsa.idl", "security.idl", "misc.idl";
[public] WERROR winreg_OpenKey(
[in,ref] policy_handle *parent_handle,
[in] winreg_String keyname,
- [in] uint32 unknown,
+ [in] winreg_KeyType options,
[in] winreg_AccessMask access_mask,
[out,ref] policy_handle *handle
);