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
ebb2fa1a
Commit
ebb2fa1a
authored
Nov 03, 2007
by
Andrew Talbot
Committed by
Alexandre Julliard
Nov 05, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Constify some variables.
parent
1a0b23cd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
shell32_main.h
dlls/shell32/shell32_main.h
+1
-1
shlview.c
dlls/shell32/shlview.c
+2
-2
shv_item_cmenu.c
dlls/shell32/shv_item_cmenu.c
+1
-1
No files found.
dlls/shell32/shell32_main.h
View file @
ebb2fa1a
...
...
@@ -81,7 +81,7 @@ LPDATAOBJECT IDataObject_Constructor(HWND hwndOwner, LPCITEMIDLIST myPidl, LPCIT
LPENUMFORMATETC
IEnumFORMATETC_Constructor
(
UINT
,
const
FORMATETC
[]);
LPCLASSFACTORY
IClassFactory_Constructor
(
REFCLSID
);
IContextMenu2
*
ISvItemCm_Constructor
(
LPSHELLFOLDER
pSFParent
,
LPCITEMIDLIST
pidl
,
LPCITEMIDLIST
*
aPidls
,
UINT
uItemCount
);
IContextMenu2
*
ISvItemCm_Constructor
(
LPSHELLFOLDER
pSFParent
,
LPCITEMIDLIST
pidl
,
const
LPCITEMIDLIST
*
aPidls
,
UINT
uItemCount
);
IContextMenu2
*
ISvBgCm_Constructor
(
LPSHELLFOLDER
pSFParent
,
BOOL
bDesktop
);
LPSHELLVIEW
IShellView_Constructor
(
LPSHELLFOLDER
);
...
...
dlls/shell32/shlview.c
View file @
ebb2fa1a
...
...
@@ -1557,7 +1557,7 @@ static LRESULT ShellView_OnNotify(IShellViewImpl * This, UINT CtlID, LPNMHDR lpn
* ShellView_OnChange()
*/
static
LRESULT
ShellView_OnChange
(
IShellViewImpl
*
This
,
LP
ITEMIDLIST
*
Pidls
,
LONG
wEventId
)
static
LRESULT
ShellView_OnChange
(
IShellViewImpl
*
This
,
const
LPC
ITEMIDLIST
*
Pidls
,
LONG
wEventId
)
{
TRACE
(
"(%p)(%p,%p,0x%08x)
\n
"
,
This
,
Pidls
[
0
],
Pidls
[
1
],
wEventId
);
...
...
@@ -1610,7 +1610,7 @@ static LRESULT CALLBACK ShellView_WndProc(HWND hWnd, UINT uMessage, WPARAM wPara
GET_WM_COMMAND_ID
(
wParam
,
lParam
),
GET_WM_COMMAND_CMD
(
wParam
,
lParam
),
GET_WM_COMMAND_HWND
(
wParam
,
lParam
));
case
SHV_CHANGE_NOTIFY
:
return
ShellView_OnChange
(
pThis
,
(
LP
ITEMIDLIST
*
)
wParam
,
(
LONG
)
lParam
);
case
SHV_CHANGE_NOTIFY
:
return
ShellView_OnChange
(
pThis
,
(
const
LPC
ITEMIDLIST
*
)
wParam
,
(
LONG
)
lParam
);
case
WM_CONTEXTMENU
:
ShellView_DoContextMenu
(
pThis
,
LOWORD
(
lParam
),
HIWORD
(
lParam
),
FALSE
);
return
0
;
...
...
dlls/shell32/shv_item_cmenu.c
View file @
ebb2fa1a
...
...
@@ -77,7 +77,7 @@ static BOOL ISvItemCm_CanRenameItems(ItemCmImpl *This)
/**************************************************************************
* ISvItemCm_Constructor()
*/
IContextMenu2
*
ISvItemCm_Constructor
(
LPSHELLFOLDER
pSFParent
,
LPCITEMIDLIST
pidl
,
LPCITEMIDLIST
*
apidl
,
UINT
cidl
)
IContextMenu2
*
ISvItemCm_Constructor
(
LPSHELLFOLDER
pSFParent
,
LPCITEMIDLIST
pidl
,
const
LPCITEMIDLIST
*
apidl
,
UINT
cidl
)
{
ItemCmImpl
*
cm
;
UINT
u
;
...
...
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