[PATCH] gdi32/driver.c: add traces when hooking function pointers
Marcel Partap
mpartap at gmx.net
Sun Dec 9 17:56:12 CST 2007
---
dlls/gdi32/driver.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/gdi32/driver.c b/dlls/gdi32/driver.c
index 8dc14fe..5a2e30e 100644
--- a/dlls/gdi32/driver.c
+++ b/dlls/gdi32/driver.c
@@ -74,7 +74,8 @@ static struct graphics_driver *create_driver( HMODULE module )
/* fill the function table */
if (module)
{
-#define GET_FUNC(name) driver->funcs.p##name = (void*)GetProcAddress( module, #name )
+#define GET_FUNC(name) driver->funcs.p##name = (void*)GetProcAddress( module, #name );\
+ TRACE("hooked %s\n", #name)
GET_FUNC(AbortDoc);
GET_FUNC(AbortPath);
GET_FUNC(AlphaBlend);
--
1.5.3.7
--------------050402070007090701080800--
More information about the wine-patches
mailing list