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
cd4c58f5
Commit
cd4c58f5
authored
Feb 23, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 23, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comcat/tests: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
8c7d53a5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
Makefile.in
dlls/comcat/tests/Makefile.in
+0
-1
comcat.c
dlls/comcat/tests/comcat.c
+5
-5
No files found.
dlls/comcat/tests/Makefile.in
View file @
cd4c58f5
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
TESTDLL
=
comcat.dll
IMPORTS
=
ole32 advapi32
...
...
dlls/comcat/tests/comcat.c
View file @
cd4c58f5
...
...
@@ -29,7 +29,7 @@
#include "wine/test.h"
#define ok_ole_success(hr, func) ok(hr == S_OK, func " failed with error
0x%08
x\n", hr)
#define ok_ole_success(hr, func) ok(hr == S_OK, func " failed with error
%#08l
x\n", hr)
static
BOOL
register_testentry
(
void
)
{
...
...
@@ -88,8 +88,8 @@ static void do_enum(void)
ok_ole_success
(
hr
,
"ICatInformation_EnumClassesOfCategories"
);
hr
=
IEnumGUID_Next
(
pIEnum
,
1
,
the_guid
,
&
fetched
);
ok
(
hr
==
S_FALSE
,
"Expected S_FALSE, got 0x%08x
\n
"
,
hr
);
ok
(
fetched
==
0
,
"Fetched wrong number of guids %u
\n
"
,
fetched
);
ok
(
hr
==
S_FALSE
,
"Expected S_FALSE, got 0x%08
l
x
\n
"
,
hr
);
ok
(
fetched
==
0
,
"Fetched wrong number of guids %
l
u
\n
"
,
fetched
);
IEnumGUID_Release
(
pIEnum
);
if
(
register_testentry
())
...
...
@@ -98,8 +98,8 @@ static void do_enum(void)
ok_ole_success
(
hr
,
"ICatInformation_EnumClassesOfCategories"
);
hr
=
IEnumGUID_Next
(
pIEnum
,
1
,
the_guid
,
&
fetched
);
ok
(
hr
==
S_OK
,
"Expected S_OK, got 0x%08x
\n
"
,
hr
);
ok
(
fetched
==
1
,
"Fetched wrong number of guids %u
\n
"
,
fetched
);
ok
(
hr
==
S_OK
,
"Expected S_OK, got 0x%08
l
x
\n
"
,
hr
);
ok
(
fetched
==
1
,
"Fetched wrong number of guids %
l
u
\n
"
,
fetched
);
ok
(
IsEqualGUID
(
the_guid
,
&
wanted_guid
),
"Guids do not match
\n
"
);
IEnumGUID_Release
(
pIEnum
);
...
...
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