Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
0a867de2
Commit
0a867de2
authored
Jan 11, 2016
by
Francois Gouget
Committed by
Alexandre Julliard
Jan 12, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32/tests: Check the hProcess field when ShellExecuteEx() fails.
Signed-off-by:
Francois Gouget
<
fgouget@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
2fb84d5c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
shlexec.c
dlls/shell32/tests/shlexec.c
+4
-1
No files found.
dlls/shell32/tests/shlexec.c
View file @
0a867de2
...
...
@@ -198,7 +198,7 @@ static INT_PTR shell_execute_ex(DWORD mask, LPCSTR verb, LPCSTR file,
sei
.
hkeyClass
=
NULL
;
sei
.
dwHotKey
=
0
;
U
(
sei
).
hIcon
=
NULL
;
sei
.
hProcess
=
NULL
;
/* Out */
sei
.
hProcess
=
(
HANDLE
)
0xdeadbeef
;
/* Out */
DeleteFileA
(
child_file
);
SetLastError
(
0xcafebabe
);
...
...
@@ -221,6 +221,9 @@ static INT_PTR shell_execute_ex(DWORD mask, LPCSTR verb, LPCSTR file,
else
todo_wine
ok
(
wait_rc
==
WAIT_OBJECT_0
,
"WaitForSingleObject returned %d
\n
"
,
wait_rc
);
}
else
ok
(
sei
.
hProcess
==
NULL
,
"%s returned a process handle %p
\n
"
,
shell_call
,
sei
.
hProcess
);
/* The child process may have changed the result file, so let profile
* functions know about it
*/
...
...
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