itss: Return S_FALSE in IStream::Read if there is no more data to read.

This commit is contained in:
Jacek Caban 2007-01-13 12:46:29 +01:00 committed by Alexandre Julliard
parent 6ea7a445ce
commit f925e0c0d1
1 changed files with 1 additions and 1 deletions

View File

@ -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(