shlwapi: Call actual Write() method for destination streams.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
62c43186fc
commit
16f83eb41f
|
@ -242,7 +242,7 @@ static HRESULT WINAPI IStream_fnCopyTo(IStream *iface, IStream* pstm, ULARGE_INT
|
|||
pcbRead->QuadPart += ulRead;
|
||||
|
||||
/* Write */
|
||||
hRet = IStream_fnWrite(pstm, copyBuff, ulRead, &ulWritten);
|
||||
hRet = IStream_Write(pstm, copyBuff, ulRead, &ulWritten);
|
||||
if (pcbWritten)
|
||||
pcbWritten->QuadPart += ulWritten;
|
||||
if (FAILED(hRet) || ulWritten != ulLeft)
|
||||
|
|
Loading…
Reference in New Issue