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
2eb10c2e
Commit
2eb10c2e
authored
Nov 01, 2007
by
Rob Shearman
Committed by
Alexandre Julliard
Nov 02, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Improve the error reporting in the marshal test when CreateProcess fails.
parent
8b42238b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
marshal.c
dlls/ole32/tests/marshal.c
+4
-2
No files found.
dlls/ole32/tests/marshal.c
View file @
2eb10c2e
...
...
@@ -2469,11 +2469,13 @@ static HANDLE create_target_process(const char *arg)
STARTUPINFO
si
=
{
0
};
si
.
cb
=
sizeof
(
si
);
pi
.
hThread
=
NULL
;
pi
.
hProcess
=
NULL
;
winetest_get_mainargs
(
&
argv
);
sprintf
(
cmdline
,
"%s %s %s"
,
argv
[
0
],
argv
[
1
],
arg
);
ok
(
CreateProcess
(
argv
[
0
],
cmdline
,
NULL
,
NULL
,
FALSE
,
0
,
NULL
,
NULL
,
&
si
,
&
pi
)
!=
0
,
"error: %u
\n
"
,
GetLastError
());
ok
(
CloseHandle
(
pi
.
hThread
)
!=
0
,
"error %u
\n
"
,
GetLastError
()
);
&
si
,
&
pi
)
!=
0
,
"
CreateProcess failed with
error: %u
\n
"
,
GetLastError
());
if
(
pi
.
hThread
)
CloseHandle
(
pi
.
hThread
);
return
pi
.
hProcess
;
}
...
...
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