[DMSTYLE] Use Interlocked* functions in AddRef and Release

Paul Vriens Paul.Vriens at xs4all.nl
Fri Jan 21 13:27:36 CST 2005


Hi,

Only d3d8 and d3d9 left! 4 other dll's contain TRACE's which I have to
look at.

Wherever possible, I changed the TRACE's not to contain This->*ref*
(without changing the text-part). No extra TRACE's added.

Not inlined because of size.

Changelog:
- use Interlocked* functions in AddRef and Release.
- store the result of the Interlocked functions and use only this.

Cheers,

Paul Vriens
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dmstyle.diff
Type: text/x-patch
Size: 13024 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050121/4b591396/dmstyle.bin


More information about the wine-patches mailing list