ole32: Keep track of the number of weak references to an object.
commit8580198dc8eb9b6030c2db66f84a6d22aca2277f
authorRob Shearman <rob@codeweavers.com>
Mon, 28 Apr 2008 18:42:51 +0000 (28 19:42 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 29 Apr 2008 10:35:26 +0000 (29 12:35 +0200)
tree033692cadf9bf304e362606195d676f5f107cc0f
parent4cb5c3b7d65451d2e3a27cccce4f02b999289bd0
ole32: Keep track of the number of weak references to an object.

This is so that an object will only be released when a weak-reference is
used after the last weak reference has been released (either by
CoReleaseMarshalData or CoUnmarshalInterface + Release).
dlls/ole32/compobj.c
dlls/ole32/compobj_private.h
dlls/ole32/marshal.c
dlls/ole32/stubmanager.c
dlls/ole32/tests/moniker.c