summaryrefslogtreecommitdiff
path: root/source4/librpc/idl
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-04-08 22:39:47 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:51:09 -0500
commitaebfb3b9f415d3c1f6b2a39aee27b072d48893cb (patch)
tree4eebbcafdd559216ef8ad952f11ebe05f947b5f0 /source4/librpc/idl
parentd907dcf383fcdf82add4fd7c397885eab5bb57af (diff)
downloadsamba-aebfb3b9f415d3c1f6b2a39aee27b072d48893cb.tar.gz
samba-aebfb3b9f415d3c1f6b2a39aee27b072d48893cb.tar.bz2
samba-aebfb3b9f415d3c1f6b2a39aee27b072d48893cb.zip
r128: Another registry update. Changes:
- Start with the LDB backend - The API is now more windows-like, which should make it easier to use in rpc_server - Added a GTK+ front-end - Added some more IDL More updates will follow, especially in the RPC field.. (This used to be commit 3adffa021779b26047a20f16a3c0b53d74751560)
Diffstat (limited to 'source4/librpc/idl')
-rw-r--r--source4/librpc/idl/winreg.idl35
1 files changed, 30 insertions, 5 deletions
diff --git a/source4/librpc/idl/winreg.idl b/source4/librpc/idl/winreg.idl
index 56c7ba6dde..39e46c0761 100644
--- a/source4/librpc/idl/winreg.idl
+++ b/source4/librpc/idl/winreg.idl
@@ -72,11 +72,11 @@
[in,out,ref] policy_handle *handle,
[in] winreg_String key,
[in] winreg_String class,
- [in,out] uint32 reserved,
+ [in] uint32 reserved,
+ [out] uint32 *unknown,
[in] uint32 access_mask,
- [in] uint32 sec_info,
- [in] sec_desc_buf *sec_desc,
- [in] uint32 reserved2
+ [in,ref] uint32 *sec_info,
+ [in] sec_desc_buf *sec_desc
);
/******************/
@@ -150,6 +150,14 @@
/******************/
/* Function: 0x0c */
WERROR winreg_GetKeySecurity(
+ [in,ref] policy_handle *handle,
+ [in] uint32 sec_info,
+ [in] uint32 *len1,
+ [in] uint32 empty,
+ [in] uint32 len2,
+ [in] uint32 unknown1,
+ [in] uint32 unknown2,
+ [out] sec_desc_buf *data
);
/******************/
@@ -211,11 +219,24 @@
/******************/
/* Function: 0x15 */
WERROR winreg_SetKeySecurity(
+ [in,ref] policy_handle *handle,
+ [in] uint32 sec_info,
+ [in] sec_desc_buf *sec_desc
);
+ typedef struct {
+ uint32 max_len;
+ [length_is(buf_max_len)] uint8 *buffer;
+ uint32 len;
+ } winreg_Value;
+
/******************/
/* Function: 0x16 */
WERROR winreg_SetValue(
+ [in,ref] policy_handle *handle,
+ [in] winreg_String name,
+ [in] uint32 type,
+ [in] winreg_Value value
);
/******************/
@@ -226,11 +247,15 @@
/******************/
/* Function: 0x18 */
WERROR winreg_InitiateSystemShutdown(
+ [in] winreg_String message,
+ [in] uint32 timeout,
+ [in] uint16 flags
);
/******************/
/* Function: 0x19 */
WERROR winreg_AbortSystemShutdown(
+ [in,ref] uint16 *server
);
/******************/
@@ -264,7 +289,7 @@
/******************/
/* Function: 0x1e */
WERROR winreg_InitiateSystemShutdownEx(
- );
+ );
/******************/
/* Function: 0x1f */