ole: Fix mis-handling of return value in StgStreamImpl_Read.
commit8f604e925d016a694e8f9d4ee1bf0505f409df23
authorRobert Shearman <rob@codeweavers.com>
Tue, 3 Jan 2006 11:07:34 +0000 (3 12:07 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 3 Jan 2006 11:07:34 +0000 (3 12:07 +0100)
treed42012b5606e77b600c887d9104ea0c51ee375e5
parent03060551d6c720919656ab1aa8c80f784fc65f91
ole: Fix mis-handling of return value in StgStreamImpl_Read.
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