Jacek Caban : itss: Return S_FALSE in IStream::
Read if there is no more data to read.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Jan 15 07:43:02 CST 2007
Module: wine
Branch: master
Commit: f925e0c0d1c5fe4be0511e1f9e7a8b9137d2cbf8
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f925e0c0d1c5fe4be0511e1f9e7a8b9137d2cbf8
Author: Jacek Caban <jacek at 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(
More information about the wine-cvs
mailing list