From 82d6f5587b6052a226f90a82314573fb348fb0ce Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Fri, 21 Nov 2003 06:14:14 +0000 Subject: Implement DeleteKey, DeleteValue, FlushKey. (This used to be commit 49f1654510f0ea7681b386296b67282791c4b319) --- source4/librpc/idl/winreg.idl | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'source4/librpc/idl/winreg.idl') diff --git a/source4/librpc/idl/winreg.idl b/source4/librpc/idl/winreg.idl index c41f75a3b2..68b13f8245 100644 --- a/source4/librpc/idl/winreg.idl +++ b/source4/librpc/idl/winreg.idl @@ -7,6 +7,12 @@ pointer_default(unique) ] interface winreg { + typedef struct { + [value(2*strlen_m(r->name))] uint16 name_len; + [value(r->name_len)] uint16 name_size; + unistr_noterm *name; + } winreg_String; + /******************/ /* Function: 0x00 */ NTSTATUS winreg_OpenHKCR( @@ -54,11 +60,15 @@ /******************/ /* Function: 0x07 */ NTSTATUS winreg_DeleteKey( + [in,ref] policy_handle *handle, + [in] winreg_String key ); /******************/ /* Function: 0x08 */ NTSTATUS winreg_DeleteValue( + [in,ref] policy_handle *handle, + [in] winreg_String value ); typedef struct { @@ -66,12 +76,6 @@ uint32 high; } winreg_Time; - typedef struct { - [value(2*strlen_m(r->name))] uint16 name_len; - [value(r->name_len)] uint16 name_size; - unistr_noterm *name; - } winreg_String; - /******************/ /* Function: 0x09 */ NTSTATUS winreg_EnumKey( @@ -85,6 +89,7 @@ /******************/ /* Function: 0x0b */ NTSTATUS winreg_FlushKey( + [in,ref] policy_handle *handle ); /******************/ -- cgit