summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
);