itss: Return S_FALSE in IStream::Read if there is no more data to read.
This commit is contained in:
parent
6ea7a445ce
commit
f925e0c0d1
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue