ole32: IStorage_Revert has no effect for non-transacted storages.
This commit is contained in:
parent
ec8f002919
commit
da250c9afe
|
@ -1796,8 +1796,8 @@ static HRESULT WINAPI StorageImpl_Commit(
|
|||
static HRESULT WINAPI StorageImpl_Revert(
|
||||
IStorage* iface)
|
||||
{
|
||||
FIXME("(%p): stub\n", iface);
|
||||
return E_NOTIMPL;
|
||||
TRACE("(%p)\n", iface);
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
/*************************************************************************
|
||||
|
|
|
@ -1384,7 +1384,7 @@ static void test_revert(void)
|
|||
ok(r==S_OK, "IStorage->CreateStream failed\n");
|
||||
|
||||
r = IStorage_Revert(stg);
|
||||
todo_wine ok(r==S_OK, "IStorage->Revert failed %08x\n", r);
|
||||
ok(r==S_OK, "IStorage->Revert failed %08x\n", r);
|
||||
|
||||
r = IStream_Write(stm, "this works\n", 11, NULL);
|
||||
ok(r==S_OK, "IStream_Write should succeed %08x\n", r);
|
||||
|
|
Loading…
Reference in New Issue