Commit 77e3de58 authored by Vincent Povirk's avatar Vincent Povirk Committed by Alexandre Julliard

ole32: Use a snapshot file when sharing storages for writing.

parent 704d1695
...@@ -251,8 +251,8 @@ struct StorageBaseImplVtbl { ...@@ -251,8 +251,8 @@ struct StorageBaseImplVtbl {
HRESULT (*StreamLink)(StorageBaseImpl*,DirRef,DirRef); HRESULT (*StreamLink)(StorageBaseImpl*,DirRef,DirRef);
HRESULT (*GetTransactionSig)(StorageBaseImpl*,ULONG*,BOOL); HRESULT (*GetTransactionSig)(StorageBaseImpl*,ULONG*,BOOL);
HRESULT (*SetTransactionSig)(StorageBaseImpl*,ULONG); HRESULT (*SetTransactionSig)(StorageBaseImpl*,ULONG);
HRESULT (*LockTransaction)(StorageBaseImpl*); HRESULT (*LockTransaction)(StorageBaseImpl*,BOOL);
HRESULT (*UnlockTransaction)(StorageBaseImpl*); HRESULT (*UnlockTransaction)(StorageBaseImpl*,BOOL);
}; };
static inline void StorageBaseImpl_Destroy(StorageBaseImpl *This) static inline void StorageBaseImpl_Destroy(StorageBaseImpl *This)
...@@ -342,14 +342,14 @@ static inline HRESULT StorageBaseImpl_SetTransactionSig(StorageBaseImpl *This, ...@@ -342,14 +342,14 @@ static inline HRESULT StorageBaseImpl_SetTransactionSig(StorageBaseImpl *This,
return This->baseVtbl->SetTransactionSig(This, value); return This->baseVtbl->SetTransactionSig(This, value);
} }
static inline HRESULT StorageBaseImpl_LockTransaction(StorageBaseImpl *This) static inline HRESULT StorageBaseImpl_LockTransaction(StorageBaseImpl *This, BOOL write)
{ {
return This->baseVtbl->LockTransaction(This); return This->baseVtbl->LockTransaction(This, write);
} }
static inline HRESULT StorageBaseImpl_UnlockTransaction(StorageBaseImpl *This) static inline HRESULT StorageBaseImpl_UnlockTransaction(StorageBaseImpl *This, BOOL write)
{ {
return This->baseVtbl->UnlockTransaction(This); return This->baseVtbl->UnlockTransaction(This, write);
} }
/**************************************************************************** /****************************************************************************
......
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