Commit 8922da9e authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

Added some TRACE statements.

parent 68abbc86
...@@ -298,7 +298,11 @@ ULONG WINAPI StorageBaseImpl_AddRef( ...@@ -298,7 +298,11 @@ ULONG WINAPI StorageBaseImpl_AddRef(
IStorage* iface) IStorage* iface)
{ {
StorageBaseImpl *This = (StorageBaseImpl *)iface; StorageBaseImpl *This = (StorageBaseImpl *)iface;
return InterlockedIncrement(&This->ref); ULONG ref = InterlockedIncrement(&This->ref);
TRACE("(%p) AddRef to %ld\n", This, ref);
return ref;
} }
/************************************************************************ /************************************************************************
...@@ -318,6 +322,8 @@ ULONG WINAPI StorageBaseImpl_Release( ...@@ -318,6 +322,8 @@ ULONG WINAPI StorageBaseImpl_Release(
*/ */
ULONG ref = InterlockedDecrement(&This->ref); ULONG ref = InterlockedDecrement(&This->ref);
TRACE("(%p) ReleaseRef to %ld\n", This, ref);
/* /*
* If the reference count goes down to 0, perform suicide. * If the reference count goes down to 0, perform suicide.
*/ */
......
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