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
aad81e5c
Commit
aad81e5c
authored
May 15, 2009
by
Francois Gouget
Committed by
Alexandre Julliard
May 15, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Make AboutDlgProc() and SHELL_execute() static.
parent
bce5f731
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
8 deletions
+6
-8
shell32_main.c
dlls/shell32/shell32_main.c
+2
-2
shell32_main.h
dlls/shell32/shell32_main.h
+0
-5
shlexec.c
dlls/shell32/shlexec.c
+4
-1
No files found.
dlls/shell32/shell32_main.c
View file @
aad81e5c
...
@@ -911,8 +911,8 @@ HRESULT WINAPI SHLoadInProc (REFCLSID rclsid)
...
@@ -911,8 +911,8 @@ HRESULT WINAPI SHLoadInProc (REFCLSID rclsid)
/*************************************************************************
/*************************************************************************
* AboutDlgProc (internal)
* AboutDlgProc (internal)
*/
*/
INT_PTR
CALLBACK
AboutDlgProc
(
HWND
hWnd
,
UINT
msg
,
WPARAM
wParam
,
static
INT_PTR
CALLBACK
AboutDlgProc
(
HWND
hWnd
,
UINT
msg
,
WPARAM
wParam
,
LPARAM
lParam
)
LPARAM
lParam
)
{
{
HWND
hWndCtl
;
HWND
hWndCtl
;
...
...
dlls/shell32/shell32_main.h
View file @
aad81e5c
...
@@ -68,7 +68,6 @@ BOOL HCR_GetClassNameA(REFIID riid, LPSTR szDest, DWORD len);
...
@@ -68,7 +68,6 @@ BOOL HCR_GetClassNameA(REFIID riid, LPSTR szDest, DWORD len);
BOOL
HCR_GetFolderAttributes
(
LPCITEMIDLIST
pidlFolder
,
LPDWORD
dwAttributes
);
BOOL
HCR_GetFolderAttributes
(
LPCITEMIDLIST
pidlFolder
,
LPDWORD
dwAttributes
);
INT_PTR
CALLBACK
AboutDlgProc
(
HWND
,
UINT
,
WPARAM
,
LPARAM
);
DWORD
WINAPI
ParseFieldA
(
LPCSTR
src
,
DWORD
nField
,
LPSTR
dst
,
DWORD
len
);
DWORD
WINAPI
ParseFieldA
(
LPCSTR
src
,
DWORD
nField
,
LPSTR
dst
,
DWORD
len
);
DWORD
WINAPI
ParseFieldW
(
LPCWSTR
src
,
DWORD
nField
,
LPWSTR
dst
,
DWORD
len
);
DWORD
WINAPI
ParseFieldW
(
LPCWSTR
src
,
DWORD
nField
,
LPWSTR
dst
,
DWORD
len
);
...
@@ -190,10 +189,6 @@ static inline WCHAR * __SHCloneStrAtoW(WCHAR ** target, const char * source)
...
@@ -190,10 +189,6 @@ static inline WCHAR * __SHCloneStrAtoW(WCHAR ** target, const char * source)
return
*
target
;
return
*
target
;
}
}
typedef
UINT_PTR
(
*
SHELL_ExecuteW32
)(
const
WCHAR
*
lpCmd
,
WCHAR
*
env
,
BOOL
shWait
,
const
SHELLEXECUTEINFOW
*
sei
,
LPSHELLEXECUTEINFOW
sei_out
);
BOOL
SHELL_execute
(
LPSHELLEXECUTEINFOW
sei
,
SHELL_ExecuteW32
execfunc
);
extern
WCHAR
swShell32Name
[
MAX_PATH
];
extern
WCHAR
swShell32Name
[
MAX_PATH
];
...
...
dlls/shell32/shlexec.c
View file @
aad81e5c
...
@@ -59,6 +59,9 @@ static const WCHAR wszEmpty[] = {0};
...
@@ -59,6 +59,9 @@ static const WCHAR wszEmpty[] = {0};
#define SEE_MASK_CLASSALL (SEE_MASK_CLASSNAME | SEE_MASK_CLASSKEY)
#define SEE_MASK_CLASSALL (SEE_MASK_CLASSNAME | SEE_MASK_CLASSKEY)
typedef
UINT_PTR
(
*
SHELL_ExecuteW32
)(
const
WCHAR
*
lpCmd
,
WCHAR
*
env
,
BOOL
shWait
,
const
SHELLEXECUTEINFOW
*
sei
,
LPSHELLEXECUTEINFOW
sei_out
);
/***********************************************************************
/***********************************************************************
* SHELL_ArgifyW [Internal]
* SHELL_ArgifyW [Internal]
...
@@ -1465,7 +1468,7 @@ static void do_error_dialog( UINT_PTR retval, HWND hwnd )
...
@@ -1465,7 +1468,7 @@ static void do_error_dialog( UINT_PTR retval, HWND hwnd )
/*************************************************************************
/*************************************************************************
* SHELL_execute [Internal]
* SHELL_execute [Internal]
*/
*/
BOOL
SHELL_execute
(
LPSHELLEXECUTEINFOW
sei
,
SHELL_ExecuteW32
execfunc
)
static
BOOL
SHELL_execute
(
LPSHELLEXECUTEINFOW
sei
,
SHELL_ExecuteW32
execfunc
)
{
{
static
const
WCHAR
wSpace
[]
=
{
' '
,
0
};
static
const
WCHAR
wSpace
[]
=
{
' '
,
0
};
static
const
WCHAR
wWww
[]
=
{
'w'
,
'w'
,
'w'
,
0
};
static
const
WCHAR
wWww
[]
=
{
'w'
,
'w'
,
'w'
,
0
};
...
...
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