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
c7fac86e
Commit
c7fac86e
authored
Feb 22, 2022
by
Nikolay Sivov
Committed by
Alexandre Julliard
Feb 22, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
atlthunk/tests: Build without -DWINE_NO_LONG_TYPES.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
308b24d9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
Makefile.in
dlls/atlthunk/tests/Makefile.in
+0
-1
atlthunk.c
dlls/atlthunk/tests/atlthunk.c
+3
-3
No files found.
dlls/atlthunk/tests/Makefile.in
View file @
c7fac86e
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
TESTDLL
=
atlthunk.dll
IMPORTS
=
atlthunk
...
...
dlls/atlthunk/tests/atlthunk.c
View file @
c7fac86e
...
...
@@ -23,8 +23,8 @@
static
LRESULT
WINAPI
test_proc
(
HWND
hwnd
,
UINT
msg
,
WPARAM
wparam
,
LPARAM
lparam
)
{
ok
(
msg
==
1
,
"msg = %u
\n
"
,
msg
);
ok
(
wparam
==
2
,
"wparam = %
lu
\n
"
,
wparam
);
ok
(
lparam
==
3
,
"lparam = %
lu
\n
"
,
lparam
);
ok
(
wparam
==
2
,
"wparam = %
Id
\n
"
,
wparam
);
ok
(
lparam
==
3
,
"lparam = %
Id
\n
"
,
lparam
);
return
(
LRESULT
)
hwnd
|
0x1000
;
}
...
...
@@ -49,7 +49,7 @@ static void test_thunk_proc(void)
ok
(
thunk_proc
!=
NULL
,
"thunk_proc = NULL
\n
"
);
res
=
thunk_proc
((
HWND
)
0x1234
,
1
,
2
,
3
);
ok
(
res
==
(
i
|
0x1000
),
"res = %
l
u
\n
"
,
res
);
ok
(
res
==
(
i
|
0x1000
),
"res = %
I
u
\n
"
,
res
);
}
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
thunks
);
i
++
)
...
...
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