Fix debug log incosistencies and function naming

Michael Karcher wine at mkarcher.dialup.fu-berlin.de
Sat May 31 14:59:09 CDT 2008


Debugging DirectDraw reference counting is confusing,
as the IDirectDraw{,2,3,4}_AddRef methods dump to ddraw_thunk,
whereas the matching Release methods dump to ddraw. This
patch changes to consistently use the ddraw channel.

Furthermore, as the methods from IDirectDraw7 are named
like "IDirectDrawImpl_Foo", the functions from IDirectDraw
(Direct Draw 1) get renamed to "IDirectDraw1Impl_Foo" to
avoid non-unique function names in trace logs.
---
 dlls/ddraw/ddraw_thunks.c |  103 ++++++++++++++++++++++-----------------------
 1 files changed, 51 insertions(+), 52 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 274ae2568611fe06ff40050282def71217f35275.diff
Type: text/x-patch
Size: 11462 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080531/7a1bc882/attachment.bin 


More information about the wine-patches mailing list