Dmitry Timoshkov : user32: Dump contents of CREATESTRUCT in WM_[NC]
CREATE of the message spy.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Feb 5 07:44:51 CST 2007
Module: wine
Branch: master
Commit: 8ec3423e76bdd95e3cb743383dc6ae7418a3bc58
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8ec3423e76bdd95e3cb743383dc6ae7418a3bc58
Author: Dmitry Timoshkov <dmitry at codeweavers.com>
Date: Sat Jan 27 17:57:13 2007 +0800
user32: Dump contents of CREATESTRUCT in WM_[NC]CREATE of the message spy.
---
dlls/user32/spy.c | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/dlls/user32/spy.c b/dlls/user32/spy.c
index 164101e..290c6c3 100644
--- a/dlls/user32/spy.c
+++ b/dlls/user32/spy.c
@@ -2411,6 +2411,23 @@ static void SPY_DumpStructure(const SPY_
TRACE("itemData=0x%08lx\n", lpmis->itemData);
}
break;
+ case WM_NCCREATE:
+ case WM_CREATE:
+ {
+ BOOL unicode;
+ CREATESTRUCTA *cs;
+
+ if (!enter) break;
+
+ unicode = IsWindowUnicode(sp_e->msg_hwnd);
+ cs = (CREATESTRUCTA *)sp_e->lParam;
+ TRACE("%s %s ex=%08x style=%08x %d,%d %dx%d parent=%p menu=%p inst=%p params=%p\n",
+ unicode ? debugstr_w((LPCWSTR)cs->lpszName) : debugstr_a(cs->lpszName),
+ unicode ? debugstr_w((LPCWSTR)cs->lpszClass) : debugstr_a(cs->lpszClass),
+ cs->dwExStyle, cs->style, cs->x, cs->y, cs->cx, cs->cy,
+ cs->hwndParent, cs->hMenu, cs->hInstance, cs->lpCreateParams);
+ break;
+ }
case WM_SIZE:
if (!enter) break;
TRACE("cx=%d cy=%d\n", LOWORD(sp_e->lParam), HIWORD(sp_e->lParam));
More information about the wine-cvs
mailing list