1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

r18212: Use bitmap for access mask. Patch by Ronnie Sahlberg.

(This used to be commit d03aaecdcd)
This commit is contained in:
Jelmer Vernooij 2006-09-07 09:59:39 +00:00 committed by Gerald (Jerry) Carter
parent 1b5c28a627
commit af7886614a

View File

@ -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
);