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
ccc57b32
Commit
ccc57b32
authored
Feb 12, 2004
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Feb 12, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Translate the returned hInstApp from the unicode worker function.
parent
850ee4ba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
shlexec.c
dlls/shell32/shlexec.c
+6
-0
No files found.
dlls/shell32/shlexec.c
View file @
ccc57b32
...
...
@@ -160,6 +160,8 @@ static UINT SHELL_ExecuteW(WCHAR *lpCmd, void *env, LPSHELLEXECUTEINFOW sei, BOO
retval
=
ERROR_BAD_FORMAT
;
}
TRACE
(
"returning %u
\n
"
,
retval
);
sei
->
hInstApp
=
(
HINSTANCE
)
retval
;
return
retval
;
}
...
...
@@ -842,6 +844,8 @@ BOOL WINAPI ShellExecuteExW32 (LPSHELLEXECUTEINFOW sei, SHELL_ExecuteW32 execfun
retval
=
(
UINT
)
ShellExecuteW
(
sei
->
hwnd
,
lpOperation
,
lpstrTmpFile
,
NULL
,
NULL
,
0
);
}
TRACE
(
"retval %u
\n
"
,
retval
);
if
(
retval
<=
32
)
{
sei
->
hInstApp
=
(
HINSTANCE
)
retval
;
...
...
@@ -924,6 +928,8 @@ BOOL WINAPI ShellExecuteExA (LPSHELLEXECUTEINFOA sei)
ret
=
ShellExecuteExW32
(
&
seiW
,
SHELL_ExecuteW
);
sei
->
hInstApp
=
seiW
.
hInstApp
;
if
(
wVerb
)
SHFree
(
wVerb
);
if
(
wFile
)
SHFree
(
wFile
);
if
(
wParameters
)
SHFree
(
wParameters
);
...
...
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