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
137946d6
Commit
137946d6
authored
Mar 02, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Mar 02, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oledlg/tests: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
786a7e8b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
Makefile.in
dlls/oledlg/tests/Makefile.in
+0
-1
main.c
dlls/oledlg/tests/main.c
+2
-2
No files found.
dlls/oledlg/tests/Makefile.in
View file @
137946d6
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
TESTDLL
=
oledlg.dll
IMPORTS
=
oledlg ole32 user32
...
...
dlls/oledlg/tests/main.c
View file @
137946d6
...
...
@@ -51,7 +51,7 @@ static ULONG WINAPI enumverbs_Release(IEnumOLEVERB *iface)
static
int
g_enumpos
;
static
HRESULT
WINAPI
enumverbs_Next
(
IEnumOLEVERB
*
iface
,
ULONG
count
,
OLEVERB
*
verbs
,
ULONG
*
fetched
)
{
ok
(
count
==
1
,
"got %u
\n
"
,
count
);
ok
(
count
==
1
,
"got %
l
u
\n
"
,
count
);
ok
(
fetched
==
NULL
,
"got %p
\n
"
,
fetched
);
ok
(
g_enumpos
==
0
||
g_enumpos
==
1
,
"got pos %d
\n
"
,
g_enumpos
);
...
...
@@ -209,7 +209,7 @@ static HRESULT WINAPI oleobject_GetUserClassID(IOleObject *iface, CLSID *clsid)
static
HRESULT
WINAPI
oleobject_GetUserType
(
IOleObject
*
iface
,
DWORD
formoftype
,
LPOLESTR
*
usertype
)
{
ok
(
formoftype
==
USERCLASSTYPE_SHORT
,
"got %d
\n
"
,
formoftype
);
ok
(
formoftype
==
USERCLASSTYPE_SHORT
,
"got %
l
d
\n
"
,
formoftype
);
*
usertype
=
CoTaskMemAlloc
(
sizeof
(
L"test"
));
lstrcpyW
(
*
usertype
,
L"test"
);
return
S_OK
;
...
...
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