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
acdcb19c
Commit
acdcb19c
authored
Dec 04, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/tests: Avoid handle casts in traces.
parent
c03917c1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
header.c
dlls/comctl32/tests/header.c
+3
-3
tooltips.c
dlls/comctl32/tests/tooltips.c
+2
-2
No files found.
dlls/comctl32/tests/header.c
View file @
acdcb19c
...
...
@@ -984,13 +984,13 @@ static void test_hdm_imageMessages(HWND hParent)
flush_sequences
(
sequences
,
NUM_MSG_SEQUENCES
);
hImageListRetVal
=
(
HIMAGELIST
)
SendMessage
(
hChild
,
HDM_SETIMAGELIST
,
0
,
(
LPARAM
)
hImageList
);
ok
(
hImageListRetVal
==
NULL
,
"Expected NULL, got %
d
\n
"
,
(
int
)
hImageListRetVal
);
ok
(
hImageListRetVal
==
NULL
,
"Expected NULL, got %
p
\n
"
,
hImageListRetVal
);
hImageListRetVal
=
(
HIMAGELIST
)
SendMessage
(
hChild
,
HDM_GETIMAGELIST
,
0
,
0
);
ok
(
hImageListRetVal
!=
NULL
,
"Expected non-NULL handle, got %
d
\n
"
,
(
int
)
hImageListRetVal
);
ok
(
hImageListRetVal
!=
NULL
,
"Expected non-NULL handle, got %
p
\n
"
,
hImageListRetVal
);
hImageListRetVal
=
(
HIMAGELIST
)
SendMessage
(
hChild
,
HDM_CREATEDRAGIMAGE
,
0
,
0
);
ok
(
hImageListRetVal
!=
NULL
,
"Expected non-NULL handle, got %
d
\n
"
,
(
int
)
hImageListRetVal
);
ok
(
hImageListRetVal
!=
NULL
,
"Expected non-NULL handle, got %
p
\n
"
,
hImageListRetVal
);
ok_sequence
(
sequences
,
HEADER_SEQ_INDEX
,
imageMessages_seq
,
"imageMessages sequence testing"
,
FALSE
);
...
...
dlls/comctl32/tests/tooltips.c
View file @
acdcb19c
...
...
@@ -101,8 +101,8 @@ static LRESULT CALLBACK CustomDrawWndProc(HWND hWnd, UINT msg, WPARAM wParam, LP
case
WM_NOTIFY
:
if
(((
NMHDR
*
)
lParam
)
->
code
==
NM_CUSTOMDRAW
)
{
NMTTCUSTOMDRAW
*
ttcd
=
(
NMTTCUSTOMDRAW
*
)
lParam
;
ok
(
ttcd
->
nmcd
.
hdr
.
hwndFrom
==
g_hwnd
,
"Unexpected hwnd source %
x (%x
)
\n
"
,
(
int
)
ttcd
->
nmcd
.
hdr
.
hwndFrom
,
(
int
)
g_hwnd
);
ok
(
ttcd
->
nmcd
.
hdr
.
hwndFrom
==
g_hwnd
,
"Unexpected hwnd source %
p (%p
)
\n
"
,
ttcd
->
nmcd
.
hdr
.
hwndFrom
,
g_hwnd
);
ok
(
ttcd
->
nmcd
.
hdr
.
idFrom
==
0x1234ABCD
,
"Unexpected id %x
\n
"
,
(
int
)
ttcd
->
nmcd
.
hdr
.
idFrom
);
switch
(
ttcd
->
nmcd
.
dwDrawStage
)
{
...
...
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