r9338: fixed the winreg IDL to be correct for the EnumKey and EnumValue
authorAndrew Tridgell <tridge@samba.org>
Wed, 17 Aug 2005 01:25:58 +0000 (01:25 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:33:25 +0000 (13:33 -0500)
commit8354b016122cc4f3cff042b3ada1de07e1614eb7
tree5685991407bdcb6e6087ce5bd65fa09bbfd2125f
parent127ed0cfe2d210f5e927d3768d5372042d1c070c
r9338: fixed the winreg IDL to be correct for the EnumKey and EnumValue
calls. The previous IDL was just a workaround for the limitations of
our older rpc infrastructure. Now that Jelmer has added much improved
string support using the charset keyword we can correctly implemenent
the unusual winreg string buffers.

Jelmer, note the little comment I put on winreg_StringBuf() about why
I couldn't use [value()] for the length field.

This also fixes EnumKey() and EnumValue() to use NTTIME fields for the
last_changed_time. I don't know why we were using a pair of uint32's,
as it is just a NTTIME.
source/lib/registry/reg_backend_rpc.c
source/librpc/idl/winreg.idl
source/rpc_server/winreg/rpc_winreg.c
source/scripting/libjs/winreg.js
source/torture/rpc/winreg.c