summaryrefslogtreecommitdiff
path: root/source4/librpc/idl
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-09-07 09:59:39 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:17:50 -0500
commitaf7886614a2b9e36b9e6a31f48a775b900d9183c (patch)
tree0626a4c73cf54e009b6b906e888699aed6545a37 /source4/librpc/idl
parent1b5c28a627fa7d5f185537c85a43c7629273a2d9 (diff)
downloadsamba-af7886614a2b9e36b9e6a31f48a775b900d9183c.tar.gz
samba-af7886614a2b9e36b9e6a31f48a775b900d9183c.tar.bz2
samba-af7886614a2b9e36b9e6a31f48a775b900d9183c.zip
r18212: Use bitmap for access mask. Patch by Ronnie Sahlberg.
(This used to be commit d03aaecdcd62ecf2910f0d0570184a0c42874574)
Diffstat (limited to 'source4/librpc/idl')
-rw-r--r--source4/librpc/idl/winreg.idl29
1 files changed, 16 insertions, 13 deletions
diff --git a/source4/librpc/idl/winreg.idl b/source4/librpc/idl/winreg.idl
index 93c3c12db5..ab2f94883d 100644
--- a/source4/librpc/idl/winreg.idl
+++ b/source4/librpc/idl/winreg.idl
@@ -15,6 +15,9 @@
{
declare bitmap security_secinfo;
+ typedef [bitmap32bit] bitmap {
+ } winreg_AccessMask;
+
typedef [v1_enum] enum {
REG_NONE = 0,
REG_SZ = 1,
@@ -40,7 +43,7 @@
/* Function: 0x00 */
WERROR winreg_OpenHKCR(
[in] uint16 *system_name,
- [in] uint32 access_mask,
+ [in] winreg_AccessMask access_mask,
[out,ref] policy_handle *handle
);
@@ -48,7 +51,7 @@
/* Function: 0x01 */
WERROR winreg_OpenHKCU(
[in] uint16 *system_name,
- [in] uint32 access_mask,
+ [in] winreg_AccessMask access_mask,
[out,ref] policy_handle *handle
);
@@ -56,7 +59,7 @@
/* Function: 0x02 */
WERROR winreg_OpenHKLM(
[in] uint16 *system_name,
- [in] uint32 access_mask,
+ [in] winreg_AccessMask access_mask,
[out,ref] policy_handle *handle
);
@@ -64,7 +67,7 @@
/* Function: 0x03 */
WERROR winreg_OpenHKPD(
[in] uint16 *system_name,
- [in] uint32 access_mask,
+ [in] winreg_AccessMask access_mask,
[out,ref] policy_handle *handle
);
@@ -72,7 +75,7 @@
/* Function: 0x04 */
WERROR winreg_OpenHKU(
[in] uint16 *system_name,
- [in] uint32 access_mask,
+ [in] winreg_AccessMask access_mask,
[out,ref] policy_handle *handle
);
@@ -108,7 +111,7 @@
[in] winreg_String name,
[in] winreg_String class,
[in] uint32 options,
- [in] uint32 access_mask,
+ [in] winreg_AccessMask access_mask,
[in,unique] winreg_SecBuf *secdesc,
[out,ref] policy_handle *new_handle,
[in,out,unique] winreg_CreateAction *action_taken
@@ -198,7 +201,7 @@
[in,ref] policy_handle *handle,
[in] winreg_String keyname,
[in] uint32 unknown,
- [in] uint32 access_mask,
+ [in] winreg_AccessMask access_mask,
[out,ref] policy_handle *handle
);
@@ -248,8 +251,8 @@
/* Function: 0x15 */
WERROR winreg_SetKeySecurity(
[in,ref] policy_handle *handle,
- [in] uint32 access_mask,
- [in,out,ref] KeySecurityData *data
+ [in] winreg_AccessMask access_mask,
+ [in,out,ref] KeySecurityData *sd
);
/******************/
@@ -294,7 +297,7 @@
/* Function: 0x1b */
WERROR winreg_OpenHKCC(
[in] uint16 *system_name,
- [in] uint32 access_mask,
+ [in] winreg_AccessMask access_mask,
[out,ref] policy_handle *handle
);
@@ -302,7 +305,7 @@
/* Function: 0x1c */
WERROR winreg_OpenHKDD(
[in] uint16 *system_name,
- [in] uint32 access_mask,
+ [in] winreg_AccessMask access_mask,
[out,ref] policy_handle *handle
);
@@ -343,7 +346,7 @@
/* Function: 0x20 */
WERROR winreg_OpenHKPT(
[in] uint16 *system_name,
- [in] uint32 access_mask,
+ [in] winreg_AccessMask access_mask,
[out,ref] policy_handle *handle
);
@@ -351,7 +354,7 @@
/* Function: 0x21 */
WERROR winreg_OpenHKPN(
[in] uint16 *system_name,
- [in] uint32 access_mask,
+ [in] winreg_AccessMask access_mask,
[out,ref] policy_handle *handle
);