[PATCH 2/4] ole32: In the data cache,
fmtetc->cfFormat and fmtetc->tymed
can be 0 which means to match any clipformat/tymed.
Robert Shearman
rob at codeweavers.com
Sat Dec 2 12:16:53 CST 2006
Therefore, keep the clipformat of the data in the data_cf field.
Return an error from SetData if a non-zero clipformat hasn't been specified.
Write out stgmedium.tymed instead of fmtetc.tymed, which is guaranteed
to be non-zero if data has been set.
---
dlls/ole32/datacache.c | 36 ++++++++++++++++++++++++++----------
1 files changed, 26 insertions(+), 10 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 6c40659b714f0ddbd6b2f72dceb58acf45b84180.diff
Type: text/x-patch
Size: 4061 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20061202/1b6357c6/6c40659b714f0ddbd6b2f72dceb58acf45b84180.bin
More information about the wine-patches
mailing list