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
e6acc695
Commit
e6acc695
authored
Aug 10, 2013
by
Daniel Jelinski
Committed by
Alexandre Julliard
Aug 15, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Return command strings for a few more commands.
parent
6509499f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
56 additions
and
0 deletions
+56
-0
shlview_cmenu.c
dlls/shell32/shlview_cmenu.c
+56
-0
No files found.
dlls/shell32/shlview_cmenu.c
View file @
e6acc695
...
@@ -505,6 +505,34 @@ static HRESULT WINAPI ItemMenu_GetCommandString(
...
@@ -505,6 +505,34 @@ static HRESULT WINAPI ItemMenu_GetCommandString(
case
GCS_VERBA
:
case
GCS_VERBA
:
switch
(
idCommand
)
switch
(
idCommand
)
{
{
case
FCIDM_SHVIEW_OPEN
:
strcpy
(
lpszName
,
"open"
);
hr
=
S_OK
;
break
;
case
FCIDM_SHVIEW_EXPLORE
:
strcpy
(
lpszName
,
"explore"
);
hr
=
S_OK
;
break
;
case
FCIDM_SHVIEW_CUT
:
strcpy
(
lpszName
,
"cut"
);
hr
=
S_OK
;
break
;
case
FCIDM_SHVIEW_COPY
:
strcpy
(
lpszName
,
"copy"
);
hr
=
S_OK
;
break
;
case
FCIDM_SHVIEW_CREATELINK
:
strcpy
(
lpszName
,
"link"
);
hr
=
S_OK
;
break
;
case
FCIDM_SHVIEW_DELETE
:
strcpy
(
lpszName
,
"delete"
);
hr
=
S_OK
;
break
;
case
FCIDM_SHVIEW_PROPERTIES
:
strcpy
(
lpszName
,
"properties"
);
hr
=
S_OK
;
break
;
case
FCIDM_SHVIEW_RENAME
:
case
FCIDM_SHVIEW_RENAME
:
strcpy
(
lpszName
,
"rename"
);
strcpy
(
lpszName
,
"rename"
);
hr
=
S_OK
;
hr
=
S_OK
;
...
@@ -517,6 +545,34 @@ static HRESULT WINAPI ItemMenu_GetCommandString(
...
@@ -517,6 +545,34 @@ static HRESULT WINAPI ItemMenu_GetCommandString(
case
GCS_VERBW
:
case
GCS_VERBW
:
switch
(
idCommand
)
switch
(
idCommand
)
{
{
case
FCIDM_SHVIEW_OPEN
:
MultiByteToWideChar
(
CP_ACP
,
0
,
"open"
,
-
1
,
(
LPWSTR
)
lpszName
,
uMaxNameLen
);
hr
=
S_OK
;
break
;
case
FCIDM_SHVIEW_EXPLORE
:
MultiByteToWideChar
(
CP_ACP
,
0
,
"explore"
,
-
1
,
(
LPWSTR
)
lpszName
,
uMaxNameLen
);
hr
=
S_OK
;
break
;
case
FCIDM_SHVIEW_CUT
:
MultiByteToWideChar
(
CP_ACP
,
0
,
"cut"
,
-
1
,
(
LPWSTR
)
lpszName
,
uMaxNameLen
);
hr
=
S_OK
;
break
;
case
FCIDM_SHVIEW_COPY
:
MultiByteToWideChar
(
CP_ACP
,
0
,
"copy"
,
-
1
,
(
LPWSTR
)
lpszName
,
uMaxNameLen
);
hr
=
S_OK
;
break
;
case
FCIDM_SHVIEW_CREATELINK
:
MultiByteToWideChar
(
CP_ACP
,
0
,
"link"
,
-
1
,
(
LPWSTR
)
lpszName
,
uMaxNameLen
);
hr
=
S_OK
;
break
;
case
FCIDM_SHVIEW_DELETE
:
MultiByteToWideChar
(
CP_ACP
,
0
,
"delete"
,
-
1
,
(
LPWSTR
)
lpszName
,
uMaxNameLen
);
hr
=
S_OK
;
break
;
case
FCIDM_SHVIEW_PROPERTIES
:
MultiByteToWideChar
(
CP_ACP
,
0
,
"properties"
,
-
1
,
(
LPWSTR
)
lpszName
,
uMaxNameLen
);
hr
=
S_OK
;
break
;
case
FCIDM_SHVIEW_RENAME
:
case
FCIDM_SHVIEW_RENAME
:
MultiByteToWideChar
(
CP_ACP
,
0
,
"rename"
,
-
1
,
(
LPWSTR
)
lpszName
,
uMaxNameLen
);
MultiByteToWideChar
(
CP_ACP
,
0
,
"rename"
,
-
1
,
(
LPWSTR
)
lpszName
,
uMaxNameLen
);
hr
=
S_OK
;
hr
=
S_OK
;
...
...
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