Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
5ca9d584
Commit
5ca9d584
authored
Jan 31, 2005
by
Mike Hearn
Committed by
Alexandre Julliard
Jan 31, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Show window owner thread in winedbg.
parent
499cff6f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
info.c
programs/winedbg/info.c
+5
-4
No files found.
programs/winedbg/info.c
View file @
5ca9d584
...
...
@@ -366,10 +366,11 @@ static void info_window(HWND hWnd, int indent)
if
(
!
GetWindowText
(
hWnd
,
wndName
,
sizeof
(
wndName
)))
strcpy
(
wndName
,
"-- Empty --"
);
dbg_printf
(
"%*s%08x%*s %-17.17s %08lx %08lx %.14s
\n
"
,
dbg_printf
(
"%*s%08x%*s %-17.17s %08lx %08lx %
08lx %
.14s
\n
"
,
indent
,
""
,
(
UINT
)
hWnd
,
12
-
indent
,
""
,
clsName
,
GetWindowLong
(
hWnd
,
GWL_STYLE
),
GetWindowLong
(
hWnd
,
GWL_WNDPROC
),
wndName
);
GetWindowLong
(
hWnd
,
GWL_WNDPROC
),
GetWindowThreadProcessId
(
hWnd
,
NULL
),
wndName
);
if
((
child
=
GetWindow
(
hWnd
,
GW_CHILD
))
!=
0
)
info_window
(
child
,
indent
+
1
);
...
...
@@ -389,8 +390,8 @@ void info_win32_window(HWND hWnd, BOOL detailed)
if
(
!
detailed
)
{
dbg_printf
(
"%-20.20s %-17.17s %-8.8s %-8.8s %s
\n
"
,
"Window handle"
,
"Class Name"
,
"Style"
,
"WndProc"
,
"Text"
);
dbg_printf
(
"%-20.20s %-17.17s %-8.8s %-8.8s %
-8.8s %
s
\n
"
,
"Window handle"
,
"Class Name"
,
"Style"
,
"WndProc"
,
"T
hread"
,
"T
ext"
);
info_window
(
hWnd
,
0
);
return
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment