winreg: fix winreg_QueryValue IDL.
commitf9a52643a5665efd5b11733179e574e3d0282e8b
authorGünther Deschner <gd@samba.org>
Fri, 5 Mar 2010 20:56:50 +0000 (5 21:56 +0100)
committerKarolin Seeger <kseeger@samba.org>
Thu, 18 Mar 2010 10:30:24 +0000 (18 11:30 +0100)
tree00e29275a57e4220e4bebe4f4a2ea3ac73fffb20
parente74ced9f90ade37fa7bd179a91803f775c77e25b
winreg: fix winreg_QueryValue IDL.

Note that before this change pidl generated code that just dereferenced size_is
and length_is values from unique pointers without checking whether these
pointers were actually NULL.

With this change, pidl now throws a warning like:

warning: Got pointer for `data_size', expected fully derefenced variable

which is not correct, probably because pidl does not evaluate the C expression.

Guenther
(cherry picked from commit f258e98e177f0f75bab99654b9f32b10bb7ce37f)
librpc/idl/winreg.idl