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
a95651a5
Commit
a95651a5
authored
Jun 13, 2014
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Remove some noisy traces.
parent
7d21dd26
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
22 deletions
+0
-22
win.c
dlls/user32/tests/win.c
+0
-22
No files found.
dlls/user32/tests/win.c
View file @
a95651a5
...
...
@@ -705,19 +705,12 @@ static LRESULT WINAPI main_window_procA(HWND hwnd, UINT msg, WPARAM wparam, LPAR
{
case
WM_GETMINMAXINFO
:
{
MINMAXINFO
*
minmax
=
(
MINMAXINFO
*
)
lparam
;
trace
(
"WM_GETMINMAXINFO: hwnd %p, %08lx, %08lx
\n
"
,
hwnd
,
wparam
,
lparam
);
dump_minmax_info
(
minmax
);
SetWindowLongPtrA
(
hwnd
,
GWLP_USERDATA
,
0x20031021
);
break
;
}
case
WM_WINDOWPOSCHANGING
:
{
WINDOWPOS
*
winpos
=
(
WINDOWPOS
*
)
lparam
;
trace
(
"main: WM_WINDOWPOSCHANGING %p after %p, x %d, y %d, cx %d, cy %d flags %08x
\n
"
,
winpos
->
hwnd
,
winpos
->
hwndInsertAfter
,
winpos
->
x
,
winpos
->
y
,
winpos
->
cx
,
winpos
->
cy
,
winpos
->
flags
);
if
(
!
(
winpos
->
flags
&
SWP_NOMOVE
))
{
ok
(
winpos
->
x
>=
-
32768
&&
winpos
->
x
<=
32767
,
"bad winpos->x %d
\n
"
,
winpos
->
x
);
...
...
@@ -739,9 +732,6 @@ static LRESULT WINAPI main_window_procA(HWND hwnd, UINT msg, WPARAM wparam, LPAR
{
RECT
rc1
,
rc2
;
WINDOWPOS
*
winpos
=
(
WINDOWPOS
*
)
lparam
;
trace
(
"main: WM_WINDOWPOSCHANGED %p after %p, x %d, y %d, cx %d, cy %d flags %08x
\n
"
,
winpos
->
hwnd
,
winpos
->
hwndInsertAfter
,
winpos
->
x
,
winpos
->
y
,
winpos
->
cx
,
winpos
->
cy
,
winpos
->
flags
);
ok
(
winpos
->
x
>=
-
32768
&&
winpos
->
x
<=
32767
,
"bad winpos->x %d
\n
"
,
winpos
->
x
);
ok
(
winpos
->
y
>=
-
32768
&&
winpos
->
y
<=
32767
,
"bad winpos->y %d
\n
"
,
winpos
->
y
);
...
...
@@ -775,10 +765,6 @@ static LRESULT WINAPI main_window_procA(HWND hwnd, UINT msg, WPARAM wparam, LPAR
BOOL
got_getminmaxinfo
=
GetWindowLongPtrA
(
hwnd
,
GWLP_USERDATA
)
==
0x20031021
;
CREATESTRUCTA
*
cs
=
(
CREATESTRUCTA
*
)
lparam
;
trace
(
"WM_NCCREATE: hwnd %p, parent %p, style %08x
\n
"
,
hwnd
,
cs
->
hwndParent
,
cs
->
style
);
if
(
got_getminmaxinfo
)
trace
(
"%p got WM_GETMINMAXINFO
\n
"
,
hwnd
);
if
((
cs
->
style
&
WS_THICKFRAME
)
||
!
(
cs
->
style
&
(
WS_POPUP
|
WS_CHILD
)))
ok
(
got_getminmaxinfo
,
"main: WM_GETMINMAXINFO should have been received before WM_NCCREATE
\n
"
);
else
...
...
@@ -803,10 +789,6 @@ static LRESULT WINAPI tool_window_procA(HWND hwnd, UINT msg, WPARAM wparam, LPAR
{
case
WM_GETMINMAXINFO
:
{
MINMAXINFO
*
minmax
=
(
MINMAXINFO
*
)
lparam
;
trace
(
"hwnd %p, WM_GETMINMAXINFO, %08lx, %08lx
\n
"
,
hwnd
,
wparam
,
lparam
);
dump_minmax_info
(
minmax
);
SetWindowLongPtrA
(
hwnd
,
GWLP_USERDATA
,
0x20031021
);
break
;
}
...
...
@@ -815,10 +797,6 @@ static LRESULT WINAPI tool_window_procA(HWND hwnd, UINT msg, WPARAM wparam, LPAR
BOOL
got_getminmaxinfo
=
GetWindowLongPtrA
(
hwnd
,
GWLP_USERDATA
)
==
0x20031021
;
CREATESTRUCTA
*
cs
=
(
CREATESTRUCTA
*
)
lparam
;
trace
(
"WM_NCCREATE: hwnd %p, parent %p, style %08x
\n
"
,
hwnd
,
cs
->
hwndParent
,
cs
->
style
);
if
(
got_getminmaxinfo
)
trace
(
"%p got WM_GETMINMAXINFO
\n
"
,
hwnd
);
if
((
cs
->
style
&
WS_THICKFRAME
)
||
!
(
cs
->
style
&
(
WS_POPUP
|
WS_CHILD
)))
ok
(
got_getminmaxinfo
,
"tool: WM_GETMINMAXINFO should have been received before WM_NCCREATE
\n
"
);
else
...
...
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