OLE: Fix Mis-handling of Return Value in StgStreamImpl_Read

Robert Shearman rob at codeweavers.com
Sun Jan 1 14:50:13 CST 2006


ChangeLog:
BlockChainStream_ReadAt returns a BOOL, not an HRESULT so change
StgStreamImpl_Read to handle this, by returning STG_E_READFAULT on
failure.

  dlls/ole32/stg_stream.c |   16 ++++++++++------
  1 files changed, 10 insertions(+), 6 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 16efa21f2ebfe9e10f9fd568be0dc97415ef51d8.diff
Type: text/x-patch
Size: 1072 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060101/9bfd211e/16efa21f2ebfe9e10f9fd568be0dc97415ef51d8.diff


More information about the wine-patches mailing list