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(
|
static HRESULT WINAPI StorageImpl_Revert(
|
||||||
IStorage* iface)
|
IStorage* iface)
|
||||||
{
|
{
|
||||||
FIXME("(%p): stub\n", iface);
|
TRACE("(%p)\n", iface);
|
||||||
return E_NOTIMPL;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*************************************************************************
|
/*************************************************************************
|
||||||
|
|
|
@ -1384,7 +1384,7 @@ static void test_revert(void)
|
||||||
ok(r==S_OK, "IStorage->CreateStream failed\n");
|
ok(r==S_OK, "IStorage->CreateStream failed\n");
|
||||||
|
|
||||||
r = IStorage_Revert(stg);
|
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);
|
r = IStream_Write(stm, "this works\n", 11, NULL);
|
||||||
ok(r==S_OK, "IStream_Write should succeed %08x\n", r);
|
ok(r==S_OK, "IStream_Write should succeed %08x\n", r);
|
||||||
|
|
Loading…
Reference in New Issue