shcore: Fix return value for file-based Commit().

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2018-11-30 13:50:09 +03:00 committed by Alexandre Julliard
parent 588b734e35
commit 16eece44e3
1 changed files with 10 additions and 1 deletions

View File

@ -966,6 +966,15 @@ static HRESULT WINAPI filestream_CopyTo(IStream *iface, IStream *dest, ULARGE_IN
return hr;
}
static HRESULT WINAPI filestream_Commit(IStream *iface, DWORD flags)
{
struct shstream *stream = impl_from_IStream(iface);
TRACE("(%p, %#x)\n", stream, flags);
return S_OK;
}
static HRESULT WINAPI filestream_Stat(IStream *iface, STATSTG *statstg, DWORD flags)
{
struct shstream *stream = impl_from_IStream(iface);
@ -1012,7 +1021,7 @@ static const IStreamVtbl filestreamvtbl =
filestream_Seek,
filestream_SetSize,
filestream_CopyTo,
shstream_Commit,
filestream_Commit,
shstream_Revert,
shstream_LockRegion,
shstream_UnlockRegion,