Jacek Caban : itss: Return S_FALSE in IStream:: Read if there is no more data to read.
Module: wine Branch: master Commit: f925e0c0d1c5fe4be0511e1f9e7a8b9137d2cbf8 URL: http://source.winehq.org/git/wine.git/?a=commit;h=f925e0c0d1c5fe4be0511e1f9e... Author: Jacek Caban <jacek(a)codeweavers.com> Date: Sat Jan 13 12:46:29 2007 +0100 itss: Return S_FALSE in IStream::Read if there is no more data to read. --- dlls/itss/storage.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/itss/storage.c b/dlls/itss/storage.c index d2e346c..9d1b343 100644 --- a/dlls/itss/storage.c +++ b/dlls/itss/storage.c @@ -660,7 +660,7 @@ static HRESULT WINAPI ITSS_IStream_Read( if( pcbRead ) *pcbRead = count; - return S_OK; + return count ? S_OK : S_FALSE; } static HRESULT WINAPI ITSS_IStream_Write(
participants (1)
-
Alexandre Julliard