winreg: fix winreg_QueryValue IDL.
commit2dd35c3f47a8cbe01495646c4fac4b1726974a5d
authorGünther Deschner <gd@samba.org>
Fri, 5 Mar 2010 20:56:50 +0000 (5 21:56 +0100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 29 Mar 2010 07:41:04 +0000 (29 09:41 +0200)
tree3e0163a337f011edd93626e455a450ce0b310cb3
parentdd8b43413dcc12f53940760e7b176997c065dabc
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)
(cherry picked from commit f9a52643a5665efd5b11733179e574e3d0282e8b)
librpc/idl/winreg.idl