From b3ec4697ef153aec4ac2fc95ee4781b757a7a9ac Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Wed, 27 Sep 2006 16:05:25 +0000 Subject: r18962: * Add IDL for SaveKey() and RestoreKey() and regenerated * Tested RegSaveKey() using win32 app. Apparently this code has been brokne for a really long time. (This used to be commit 5381dcbde34206462562bdfc7639f488820a5a64) --- source3/librpc/gen_ndr/winreg.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'source3/librpc/gen_ndr/winreg.h') diff --git a/source3/librpc/gen_ndr/winreg.h b/source3/librpc/gen_ndr/winreg.h index 6fc5f1cc01..cb117cb037 100644 --- a/source3/librpc/gen_ndr/winreg.h +++ b/source3/librpc/gen_ndr/winreg.h @@ -53,6 +53,12 @@ struct winreg_StringBuf { const char *name;/* [unique,length_is(length/2),charset(UTF16),size_is(size/2)] */ }; +struct KeySecurityAttribute { + uint32_t data_size; + struct KeySecurityData sec_data; + uint8_t inherit; +}; + struct QueryMultipleValue { struct winreg_String *name;/* [unique] */ enum winreg_Type type; @@ -359,6 +365,12 @@ struct winreg_ReplaceKey { struct winreg_RestoreKey { + struct { + struct policy_handle *handle;/* [ref] */ + struct winreg_String *filename;/* [ref] */ + uint32_t flags; + } in; + struct { WERROR result; } out; @@ -367,6 +379,12 @@ struct winreg_RestoreKey { struct winreg_SaveKey { + struct { + struct policy_handle *handle;/* [ref] */ + struct winreg_String *filename;/* [ref] */ + struct KeySecurityAttribute *sec_attrib;/* [unique] */ + } in; + struct { WERROR result; } out; -- cgit