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
e7636c13
Commit
e7636c13
authored
Oct 30, 2007
by
Andrew Talbot
Committed by
Alexandre Julliard
Oct 31, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Constify some variables.
parent
b84a7844
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
shell.c
dlls/shell32/shell.c
+1
-1
shell32_main.h
dlls/shell32/shell32_main.h
+1
-1
shlexec.c
dlls/shell32/shlexec.c
+3
-3
No files found.
dlls/shell32/shell.c
View file @
e7636c13
...
...
@@ -584,7 +584,7 @@ DWORD WINAPI RegEnumKey16( HKEY hkey, DWORD index, LPSTR name, DWORD name_len )
* SHELL_Execute16 [Internal]
*/
static
UINT_PTR
SHELL_Execute16
(
const
WCHAR
*
lpCmd
,
WCHAR
*
env
,
BOOL
shWait
,
LPSHELLEXECUTEINFOW
psei
,
LPSHELLEXECUTEINFOW
psei_out
)
const
SHELLEXECUTEINFOW
*
psei
,
LPSHELLEXECUTEINFOW
psei_out
)
{
UINT
ret
;
char
sCmd
[
MAX_PATH
];
...
...
dlls/shell32/shell32_main.h
View file @
e7636c13
...
...
@@ -220,7 +220,7 @@ static inline WCHAR * __SHCloneStrAtoW(WCHAR ** target, const char * source)
#define HINSTANCE_16(h32) (LOWORD(h32))
typedef
UINT_PTR
(
*
SHELL_ExecuteW32
)(
const
WCHAR
*
lpCmd
,
WCHAR
*
env
,
BOOL
shWait
,
LPSHELLEXECUTEINFOW
sei
,
LPSHELLEXECUTEINFOW
sei_out
);
const
SHELLEXECUTEINFOW
*
sei
,
LPSHELLEXECUTEINFOW
sei_out
);
BOOL
SHELL_execute
(
LPSHELLEXECUTEINFOW
sei
,
SHELL_ExecuteW32
execfunc
);
...
...
dlls/shell32/shlexec.c
View file @
e7636c13
...
...
@@ -298,7 +298,7 @@ static HRESULT SHELL_GetPathFromIDListForExecuteW(LPCITEMIDLIST pidl, LPWSTR psz
*
*/
static
UINT_PTR
SHELL_ExecuteW
(
const
WCHAR
*
lpCmd
,
WCHAR
*
env
,
BOOL
shWait
,
LPSHELLEXECUTEINFOW
psei
,
LPSHELLEXECUTEINFOW
psei_out
)
const
SHELLEXECUTEINFOW
*
psei
,
LPSHELLEXECUTEINFOW
psei_out
)
{
STARTUPINFOW
startup
;
PROCESS_INFORMATION
info
;
...
...
@@ -752,7 +752,7 @@ static HDDEDATA CALLBACK dde_cb(UINT uType, UINT uFmt, HCONV hConv,
static
unsigned
dde_connect
(
WCHAR
*
key
,
const
WCHAR
*
start
,
WCHAR
*
ddeexec
,
const
WCHAR
*
lpFile
,
WCHAR
*
env
,
LPCWSTR
szCommandline
,
LPITEMIDLIST
pidl
,
SHELL_ExecuteW32
execfunc
,
LPSHELLEXECUTEINFOW
psei
,
LPSHELLEXECUTEINFOW
psei_out
)
const
SHELLEXECUTEINFOW
*
psei
,
LPSHELLEXECUTEINFOW
psei_out
)
{
static
const
WCHAR
wApplication
[]
=
{
'\\'
,
'a'
,
'p'
,
'p'
,
'l'
,
'i'
,
'c'
,
'a'
,
't'
,
'i'
,
'o'
,
'n'
,
0
};
static
const
WCHAR
wTopic
[]
=
{
'\\'
,
't'
,
'o'
,
'p'
,
'i'
,
'c'
,
0
};
...
...
@@ -1034,7 +1034,7 @@ HINSTANCE WINAPI FindExecutableW(LPCWSTR lpFile, LPCWSTR lpDirectory, LPWSTR lpR
}
/* FIXME: is this already implemented somewhere else? */
static
HKEY
ShellExecute_GetClassKey
(
LPSHELLEXECUTEINFOW
sei
)
static
HKEY
ShellExecute_GetClassKey
(
const
SHELLEXECUTEINFOW
*
sei
)
{
LPCWSTR
ext
=
NULL
,
lpClass
=
NULL
;
LPWSTR
cls
=
NULL
;
...
...
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