From b7a46675fb1157ab235008edf841ae7eed628049 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Fri, 16 Feb 2007 15:13:51 +0000 Subject: r21386: Run all NDR tests in the buildfarm, import some functions from Samba3's IDL. (This used to be commit 15a4b81ba0b5eeb25126a0b1a7bea7d3bf921ab2) --- source4/librpc/idl/winreg.idl | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'source4/librpc') diff --git a/source4/librpc/idl/winreg.idl b/source4/librpc/idl/winreg.idl index 30827c73f1..af7e7593d0 100644 --- a/source4/librpc/idl/winreg.idl +++ b/source4/librpc/idl/winreg.idl @@ -148,6 +148,8 @@ import "lsa.idl", "initshutdown.idl", "security.idl"; [size_is(size/2),length_is(length/2),charset(UTF16)] uint16 *name; } winreg_StringBuf; + /******************/ + /* Function: 0x09 */ [public] WERROR winreg_EnumKey( [in,ref] policy_handle *handle, [in] uint32 enum_index, @@ -217,7 +219,7 @@ import "lsa.idl", "initshutdown.idl", "security.idl"; /* Function: 0x10 */ [public] WERROR winreg_QueryInfoKey( [in,ref] policy_handle *handle, - [in,out,ref] winreg_String *class_in, + [in,out,ref] winreg_String *classname, [out,ref] uint32 *num_subkeys, [out,ref] uint32 *max_subkeylen, [out,ref] uint32 *max_subkeysize, @@ -247,11 +249,24 @@ import "lsa.idl", "initshutdown.idl", "security.idl"; /******************/ /* Function: 0x13 */ WERROR winreg_RestoreKey( + [in,ref] policy_handle *handle, + [in,ref] winreg_String *filename, + [in] uint32 flags ); /******************/ /* Function: 0x14 */ + + typedef struct { + uint32 data_size; + KeySecurityData sec_data; + uint8 inherit; + } KeySecurityAttribute; + WERROR winreg_SaveKey( + [in,ref] policy_handle *handle, + [in,ref] winreg_String *filename, + [in,unique] KeySecurityAttribute *sec_attrib ); /******************/ @@ -259,7 +274,7 @@ import "lsa.idl", "initshutdown.idl", "security.idl"; WERROR winreg_SetKeySecurity( [in,ref] policy_handle *handle, [in] winreg_AccessMask access_mask, - [in,out,ref] KeySecurityData *sd + [in,ref] KeySecurityData *sd ); /******************/ -- cgit