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
2cf8335d
Commit
2cf8335d
authored
Aug 31, 2011
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Aug 31, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Pass objects instead of ifaces to helpers.
parent
9b1fc0fd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
shv_bg_cmenu.c
dlls/shell32/shv_bg_cmenu.c
+5
-7
No files found.
dlls/shell32/shv_bg_cmenu.c
View file @
2cf8335d
...
...
@@ -189,10 +189,9 @@ static HRESULT WINAPI ISVBgCm_fnQueryContextMenu(
* DoNewFolder
*/
static
void
DoNewFolder
(
IContextMenu2
*
iface
,
BgCmImpl
*
This
,
IShellView
*
psv
)
{
BgCmImpl
*
This
=
(
BgCmImpl
*
)
iface
;
ISFHelper
*
psfhlp
;
WCHAR
wszName
[
MAX_PATH
];
...
...
@@ -220,9 +219,8 @@ static void DoNewFolder(
* DoPaste
*/
static
BOOL
DoPaste
(
IContextMenu2
*
iface
)
BgCmImpl
*
This
)
{
BgCmImpl
*
This
=
(
BgCmImpl
*
)
iface
;
BOOL
bSuccess
=
FALSE
;
IDataObject
*
pda
;
...
...
@@ -343,7 +341,7 @@ static HRESULT WINAPI ISVBgCm_fnInvokeCommand(
if
(
!
strcmp
(
lpcmi
->
lpVerb
,
CMDSTR_NEWFOLDERA
))
{
DoNewFolder
(
iface
,
lpSV
);
DoNewFolder
(
This
,
lpSV
);
}
else
if
(
!
strcmp
(
lpcmi
->
lpVerb
,
CMDSTR_VIEWLISTA
))
{
...
...
@@ -367,11 +365,11 @@ static HRESULT WINAPI ISVBgCm_fnInvokeCommand(
break
;
case
FCIDM_SHVIEW_NEWFOLDER
:
DoNewFolder
(
iface
,
lpSV
);
DoNewFolder
(
This
,
lpSV
);
break
;
case
FCIDM_SHVIEW_INSERT
:
DoPaste
(
iface
);
DoPaste
(
This
);
break
;
case
FCIDM_SHVIEW_PROPERTIES
:
...
...
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