rpcrt4: Improve ReadVariance

Robert Shearman rob at codeweavers.com
Sat Jan 7 10:29:33 CST 2006


ChangeLog:
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 |   35 ++++++++++++++++-------------------
  1 files changed, 16 insertions(+), 19 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 55c36413a6d875183144c27a5e72e79bf825e403.diff
Type: text/x-patch
Size: 2964 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060107/54033cc2/55c36413a6d875183144c27a5e72e79bf825e403.diff


More information about the wine-patches mailing list