ole32: Use interface macros to call methods.

This commit is contained in:
Nikolay Sivov 2012-07-17 10:15:25 +04:00 committed by Alexandre Julliard
parent 007ac83fc9
commit 88e6c8175b
2 changed files with 3 additions and 7 deletions

View File

@ -657,7 +657,7 @@ static HRESULT WINAPI StgStreamImpl_Clone(
seek_pos.QuadPart = This->currentPosition.QuadPart;
hres=StgStreamImpl_Seek (*ppstm, seek_pos, STREAM_SEEK_SET, NULL);
hres = IStream_Seek(*ppstm, seek_pos, STREAM_SEEK_SET, NULL);
assert (SUCCEEDED(hres));

View File

@ -2152,7 +2152,7 @@ static HRESULT deleteStreamContents(
size.u.HighPart = 0;
size.u.LowPart = 0;
hr = StorageBaseImpl_OpenStream(&parentStorage->IStorage_iface,
hr = IStorage_OpenStream(&parentStorage->IStorage_iface,
entryDataToDelete.name, NULL, STGM_WRITE | STGM_SHARE_EXCLUSIVE, 0, &pis);
if (hr!=S_OK)
@ -4798,14 +4798,10 @@ static void TransactedSnapshotImpl_Destroy( StorageBaseImpl *iface)
{
TransactedSnapshotImpl* This = (TransactedSnapshotImpl*) iface;
TransactedSnapshotImpl_Revert(&This->base.IStorage_iface);
IStorage_Revert(&This->base.IStorage_iface);
IStorage_Release(&This->transactedParent->IStorage_iface);
IStorage_Release(&This->scratch->IStorage_iface);
HeapFree(GetProcessHeap(), 0, This->entries);
HeapFree(GetProcessHeap(), 0, This);
}