[D3D9] Use Interlocked* functions in AddRef and Release

Paul Vriens Paul.Vriens at xs4all.nl
Sat Jan 22 05:03:05 CST 2005


Hi,

this seems to be the last one !! 

There are some dll's I'll have to look at (f.e. dsound and mlang) and
see if it's worthwhile to change the TRACE's.

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: d3d9.diff
Type: text/x-patch
Size: 20168 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050122/1e75cc2f/d3d9.bin


More information about the wine-patches mailing list