On Tue, 14 Sep 2004 18:56:40 +0900, Mike McCormack <[EMAIL PROTECTED]> 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


Reply via email to