diff options
author | Andrew Tridgell <tridge@samba.org> | 2006-09-15 20:55:43 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:18:47 -0500 |
commit | 48f34499695c379d483da473b888aaa02bb5646d (patch) | |
tree | 618ac3cbc86f348244c03287fc5b73b64fa2e2ea /source4/scripting/libjs | |
parent | 6adb5717f5d6d4cb67b4d5baef8d99edaadd9a23 (diff) | |
download | samba-48f34499695c379d483da473b888aaa02bb5646d.tar.gz samba-48f34499695c379d483da473b888aaa02bb5646d.tar.bz2 samba-48f34499695c379d483da473b888aaa02bb5646d.zip |
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)
Diffstat (limited to 'source4/scripting/libjs')
-rw-r--r-- | source4/scripting/libjs/winreg.js | 12 |
1 files changed, 6 insertions, 6 deletions
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; |