From 48f34499695c379d483da473b888aaa02bb5646d Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 15 Sep 2006 20:55:43 +0000 Subject: r18567: fixed the winreg js code for the new names of the fields in winreg.idl When changing a field name in idl, please remember to check for use of those functions in any js code as well. (This used to be commit 7005806aa6842ffc3d5ed98682f2aefc59759580) --- source4/scripting/libjs/winreg.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'source4/scripting') diff --git a/source4/scripting/libjs/winreg.js b/source4/scripting/libjs/winreg.js index 3b05f89c93..29338abc5a 100644 --- a/source4/scripting/libjs/winreg.js +++ b/source4/scripting/libjs/winreg.js @@ -80,7 +80,7 @@ function __winreg_open_path(path) } io = irpcObj(); - io.input.handle = handle; + io.input.parent_handle = handle; io.input.keyname = hpath; io.input.unknown = 0; io.input.access_mask = this.SEC_FLAG_MAXIMUM_ALLOWED; @@ -122,10 +122,10 @@ function __winreg_enum_path(path) io.input.name.length = 0; io.input.name.size = 32; io.input.name.name = NULL; - io.input.class = new Object(); - io.input.class.length = 0; - io.input.class.size = 1024; - io.input.class.name = NULL; + io.input.keyclass = new Object(); + io.input.keyclass.length = 0; + io.input.keyclass.size = 1024; + io.input.keyclass.name = NULL; io.input.last_changed_time = 0; var idx = 0; @@ -239,7 +239,7 @@ function __winreg_create_key(path, key) var io = irpcObj(); io.input.handle = handle; io.input.name = key; - io.input.class = NULL; + io.input.keyclass = NULL; io.input.options = 0; io.input.access_mask = this.SEC_FLAG_MAXIMUM_ALLOWED; io.input.secdesc = NULL; -- cgit