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
749243b8
Commit
749243b8
authored
May 30, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleacc/tests: Preserve the full 64 bits of the LRESULT value.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
838965a7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
main.c
dlls/oleacc/tests/main.c
+2
-2
No files found.
dlls/oleacc/tests/main.c
View file @
749243b8
...
@@ -543,7 +543,7 @@ static void test_LresultFromObject(const char *name)
...
@@ -543,7 +543,7 @@ static void test_LresultFromObject(const char *name)
ok
(
SUCCEEDED
(
lres
),
"got %lx
\n
"
,
lres
);
ok
(
SUCCEEDED
(
lres
),
"got %lx
\n
"
,
lres
);
ok
(
Object_ref
>
1
,
"Object_ref = %d
\n
"
,
Object_ref
);
ok
(
Object_ref
>
1
,
"Object_ref = %d
\n
"
,
Object_ref
);
sprintf
(
cmdline
,
"
\"
%s
\"
main ObjectFromLresult %
lx"
,
name
,
lres
);
sprintf
(
cmdline
,
"
\"
%s
\"
main ObjectFromLresult %
s"
,
name
,
wine_dbgstr_longlong
(
lres
)
);
memset
(
&
startup
,
0
,
sizeof
(
startup
));
memset
(
&
startup
,
0
,
sizeof
(
startup
));
startup
.
cb
=
sizeof
(
startup
);
startup
.
cb
=
sizeof
(
startup
);
CreateProcessA
(
NULL
,
cmdline
,
NULL
,
NULL
,
FALSE
,
0
,
NULL
,
NULL
,
&
startup
,
&
proc
);
CreateProcessA
(
NULL
,
cmdline
,
NULL
,
NULL
,
FALSE
,
0
,
NULL
,
NULL
,
&
startup
,
&
proc
);
...
@@ -992,7 +992,7 @@ START_TEST(main)
...
@@ -992,7 +992,7 @@ START_TEST(main)
HRESULT
hres
;
HRESULT
hres
;
LRESULT
lres
;
LRESULT
lres
;
sscanf
(
argv
[
3
],
"%lx"
,
&
lres
);
lres
=
strtoll
(
argv
[
3
],
NULL
,
16
);
hres
=
ObjectFromLresult
(
lres
,
&
IID_IUnknown
,
0
,
(
void
**
)
&
unk
);
hres
=
ObjectFromLresult
(
lres
,
&
IID_IUnknown
,
0
,
(
void
**
)
&
unk
);
ok
(
hres
==
S_OK
,
"hres = %x
\n
"
,
hres
);
ok
(
hres
==
S_OK
,
"hres = %x
\n
"
,
hres
);
IUnknown_Release
(
unk
);
IUnknown_Release
(
unk
);
...
...
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