diff options
author | Tim Potter <tpot@samba.org> | 2005-07-06 01:53:34 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:19:16 -0500 |
commit | 372f3fae88799ce321342dd976a317a8afc375e2 (patch) | |
tree | 65ae02272f254d820894b7528e5f2d3163a410ca /source4/librpc/idl | |
parent | a7fd68286abb3aa581b2676255a24dcff3b6cae1 (diff) | |
download | samba-372f3fae88799ce321342dd976a317a8afc375e2.tar.gz samba-372f3fae88799ce321342dd976a317a8afc375e2.tar.bz2 samba-372f3fae88799ce321342dd976a317a8afc375e2.zip |
r8171: According to Samba 3 and Ethereal, the winreg_OpenUnkown stuff is
actually a uint16 * without the [string] attribute, a la the the
system_name argument to samr_Connect().
Initialising the pointer to NULL is sufficient and we still pass the
RPC-WINREG test against win2k3.
(This used to be commit 407d962dacf7c833b36cb739e48fe97226968a34)
Diffstat (limited to 'source4/librpc/idl')
-rw-r--r-- | source4/librpc/idl/winreg.idl | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/source4/librpc/idl/winreg.idl b/source4/librpc/idl/winreg.idl index dc5ccdd02d..1f31d17f8c 100644 --- a/source4/librpc/idl/winreg.idl +++ b/source4/librpc/idl/winreg.idl @@ -20,15 +20,10 @@ unistr *name; } winreg_String; - typedef struct { - uint16 unknown0; - uint16 unknown1; - } winreg_OpenUnknown; - /******************/ /* Function: 0x00 */ WERROR winreg_OpenHKCR( - [in] winreg_OpenUnknown *unknown, + [in] uint16 *system_name, [in] uint32 access_required, [out,ref] policy_handle *handle ); @@ -36,7 +31,7 @@ /******************/ /* Function: 0x01 */ WERROR winreg_OpenHKCU( - [in] winreg_OpenUnknown *unknown, + [in] uint16 *system_name, [in] uint32 access_required, [out,ref] policy_handle *handle ); @@ -44,7 +39,7 @@ /******************/ /* Function: 0x02 */ WERROR winreg_OpenHKLM( - [in] winreg_OpenUnknown *unknown, + [in] uint16 *system_name, [in] uint32 access_required, [out,ref] policy_handle *handle ); @@ -52,7 +47,7 @@ /******************/ /* Function: 0x03 */ WERROR winreg_OpenHKPD( - [in] winreg_OpenUnknown *unknown, + [in] uint16 *system_name, [in] uint32 access_required, [out,ref] policy_handle *handle ); @@ -60,7 +55,7 @@ /******************/ /* Function: 0x04 */ WERROR winreg_OpenHKU( - [in] winreg_OpenUnknown *unknown, + [in] uint16 *system_name, [in] uint32 access_required, [out,ref] policy_handle *handle ); @@ -293,7 +288,7 @@ /******************/ /* Function: 0x1b */ WERROR winreg_OpenHKCC( - [in] winreg_OpenUnknown *unknown, + [in] uint16 *system_name, [in] uint32 access_required, [out,ref] policy_handle *handle ); @@ -301,7 +296,7 @@ /******************/ /* Function: 0x1c */ WERROR winreg_OpenHKDD( - [in] winreg_OpenUnknown *unknown, + [in] uint16 *system_name, [in] uint32 access_required, [out,ref] policy_handle *handle ); @@ -342,7 +337,7 @@ /******************/ /* Function: 0x20 */ WERROR winreg_OpenHKPT( - [in] winreg_OpenUnknown *unknown, + [in] uint16 *system_name, [in] uint32 access_required, [out,ref] policy_handle *handle ); @@ -350,7 +345,7 @@ /******************/ /* Function: 0x21 */ WERROR winreg_OpenHKPN( - [in] winreg_OpenUnknown *unknown, + [in] uint16 *system_name, [in] uint32 access_required, [out,ref] policy_handle *handle ); |