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
803146d2
Commit
803146d2
authored
Oct 03, 2005
by
Martin Fuchs
Committed by
Alexandre Julliard
Oct 03, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify 'sei' structure initialization in ShellExecuteA/W.
parent
c23cb51d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
shlexec.c
dlls/shell32/shlexec.c
+2
-4
No files found.
dlls/shell32/shlexec.c
View file @
803146d2
...
...
@@ -1360,7 +1360,6 @@ HINSTANCE WINAPI ShellExecuteA(HWND hWnd, LPCSTR lpOperation,LPCSTR lpFile,
LPCSTR
lpParameters
,
LPCSTR
lpDirectory
,
INT
iShowCmd
)
{
SHELLEXECUTEINFOA
sei
;
HANDLE
hProcess
=
0
;
TRACE
(
"%p,%s,%s,%s,%s,%d
\n
"
,
hWnd
,
debugstr_a
(
lpOperation
),
debugstr_a
(
lpFile
),
...
...
@@ -1378,7 +1377,7 @@ HINSTANCE WINAPI ShellExecuteA(HWND hWnd, LPCSTR lpOperation,LPCSTR lpFile,
sei
.
lpClass
=
0
;
sei
.
hkeyClass
=
0
;
sei
.
dwHotKey
=
0
;
sei
.
hProcess
=
hProcess
;
sei
.
hProcess
=
0
;
ShellExecuteExA
(
&
sei
);
return
sei
.
hInstApp
;
...
...
@@ -1450,7 +1449,6 @@ HINSTANCE WINAPI ShellExecuteW(HWND hwnd, LPCWSTR lpOperation, LPCWSTR lpFile,
LPCWSTR
lpParameters
,
LPCWSTR
lpDirectory
,
INT
nShowCmd
)
{
SHELLEXECUTEINFOW
sei
;
HANDLE
hProcess
=
0
;
TRACE
(
"
\n
"
);
sei
.
cbSize
=
sizeof
(
sei
);
...
...
@@ -1465,7 +1463,7 @@ HINSTANCE WINAPI ShellExecuteW(HWND hwnd, LPCWSTR lpOperation, LPCWSTR lpFile,
sei
.
lpClass
=
0
;
sei
.
hkeyClass
=
0
;
sei
.
dwHotKey
=
0
;
sei
.
hProcess
=
hProcess
;
sei
.
hProcess
=
0
;
ShellExecuteExW32
(
&
sei
,
SHELL_ExecuteW
);
return
sei
.
hInstApp
;
...
...
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