summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr/winreg.h
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-09-27 16:05:25 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:14:51 -0500
commitb3ec4697ef153aec4ac2fc95ee4781b757a7a9ac (patch)
treeb9cae3270d67ecd16dc5a339d748c126b915a0d1 /source3/librpc/gen_ndr/winreg.h
parent3ae0baefa18dac1d94c7fb0a92816e195c07f2b0 (diff)
downloadsamba-b3ec4697ef153aec4ac2fc95ee4781b757a7a9ac.tar.gz
samba-b3ec4697ef153aec4ac2fc95ee4781b757a7a9ac.tar.bz2
samba-b3ec4697ef153aec4ac2fc95ee4781b757a7a9ac.zip
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)
Diffstat (limited to 'source3/librpc/gen_ndr/winreg.h')
-rw-r--r--source3/librpc/gen_ndr/winreg.h18
1 files changed, 18 insertions, 0 deletions
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;
@@ -360,6 +366,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;
@@ -368,6 +380,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;