14 Sep
2004
14 Sep
'04
3:38 p.m.
On Tue, 14 Sep 2004 18:56:40 +0900, Mike McCormack <mike(a)codeweavers.com> wrote:
ChangeLog: * use Interlocked* functions in AddRef and Release
<snip>
static ULONG WINAPI fnIEnumCodePage_Release( IEnumCodePage* iface) { ICOM_THIS_MULTI(EnumCodePage_impl, vtbl_IEnumCodePage, iface); - ULONG ref = --This->ref; + ULONG ref = InterlockedIncrement(&This->ref);
operator-- changed to InterlockedIncrement instead of InterlockedDecrement. Is that intentional? --Daniel