dcerpc_winreg_QueryValue

Jelmer Vernooij jelmer at samba.org
Thu Dec 9 12:53:48 GMT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Tridge,

tridge at samba.org wrote:
| Jelmer,
|
| I've committed the fixes for QueryValue, and have also fixed up
| EnumValue like this:>
[...]

| whenever you have a structure that contains a size, offset, length
| triple like that then it is almost always really a NDR array.
|
| When someone decides to fix that function, I suspect you want this:
|
| 	typedef struct {
| 		[size_is(size), length_is(length)] uint8 *data;
| 		uint32 size;
| 		uint32 length;
| 	} KeySecurityData;
|
| 	WERROR winreg_GetKeySecurity(
| 		[in,ref] policy_handle *handle,
| 		[in]     uint32 unknown,
| 		[in,out] KeySecurityData data
| 	);
Thanks :-) I'll put this in as soon as I write a torture test for
GetKeySecurity.

Cheers,

Jelmer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBuErcPa9Uoh7vUnYRAmEDAJ9DpxxBWLBg5ucUGsLYGOAUD5RTDgCcCQb8
otWkeZS5halJT/1qaup5Zlw=
=aneV
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list