From aebfb3b9f415d3c1f6b2a39aee27b072d48893cb Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Thu, 8 Apr 2004 22:39:47 +0000 Subject: 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) --- source4/librpc/idl/winreg.idl | 35 ++++++++++++++++++++++++++++++----- 1 file changed, 30 insertions(+), 5 deletions(-) (limited to 'source4/librpc/idl') 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 */ -- cgit