Commit 16eece44 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

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

parent 588b734e
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment