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
a4b62b17
Commit
a4b62b17
authored
Nov 12, 2008
by
Vitaliy Margolen
Committed by
Alexandre Julliard
Nov 13, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Print line numbers of callers in check_wnd_state to help debugging.
parent
5922150e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
win.c
dlls/user32/tests/win.c
+7
-5
No files found.
dlls/user32/tests/win.c
View file @
a4b62b17
...
...
@@ -2258,13 +2258,15 @@ todo_wine
DestroyWindow
(
child
);
}
static
void
check_wnd_state
(
HWND
active
,
HWND
foreground
,
HWND
focus
,
HWND
capture
)
#define check_wnd_state(a,b,c,d) check_wnd_state_(__FILE__,__LINE__,a,b,c,d)
static
void
check_wnd_state_
(
const
char
*
file
,
int
line
,
HWND
active
,
HWND
foreground
,
HWND
focus
,
HWND
capture
)
{
ok
(
active
==
GetActiveWindow
(),
"GetActiveWindow() = %p
\n
"
,
GetActiveWindow
());
ok
_
(
file
,
line
)
(
active
==
GetActiveWindow
(),
"GetActiveWindow() = %p
\n
"
,
GetActiveWindow
());
if
(
foreground
)
ok
(
foreground
==
GetForegroundWindow
(),
"GetForegroundWindow() = %p
\n
"
,
GetForegroundWindow
());
ok
(
focus
==
GetFocus
(),
"GetFocus() = %p
\n
"
,
GetFocus
());
ok
(
capture
==
GetCapture
(),
"GetCapture() = %p
\n
"
,
GetCapture
());
ok_
(
file
,
line
)
(
foreground
==
GetForegroundWindow
(),
"GetForegroundWindow() = %p
\n
"
,
GetForegroundWindow
());
ok
_
(
file
,
line
)
(
focus
==
GetFocus
(),
"GetFocus() = %p
\n
"
,
GetFocus
());
ok
_
(
file
,
line
)
(
capture
==
GetCapture
(),
"GetCapture() = %p
\n
"
,
GetCapture
());
}
static
void
test_SetActiveWindow
(
HWND
hwnd
)
...
...
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