rpcrt4: Improve ReadVariance.
commit1926b6da63e939fb0e21fa2183e1dc5f4e755245
authorRobert Shearman <rob@codeweavers.com>
Mon, 9 Jan 2006 16:21:01 +0000 (9 17:21 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 9 Jan 2006 16:21:01 +0000 (9 17:21 +0100)
treeae57c1694fbc95a8568c3840be550f717625d0f3
parent2e875d5d351b992ab3cab42420f2c4db69cfca00
rpcrt4: Improve ReadVariance.
Extend ReadVariance to read the offset as well as the actual count,
since these always come in pairs.
Handle the variance not being present in ReadVariance and always call
it from the unmarshalling functions to simplify the code there and
also to fix a bug where the format pointer wasn't advanced properly
for complex arrays (introduced in the previous patch when implementing
variance).
dlls/rpcrt4/ndr_marshall.c