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
7c6899ba
Commit
7c6899ba
authored
Jun 18, 2014
by
Andrew Eikum
Committed by
Alexandre Julliard
Jun 19, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
packager: Implement Activate verb for OleObject::DoVerb.
parent
04b6fc9d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
2 deletions
+16
-2
packager_main.c
dlls/packager/packager_main.c
+16
-2
No files found.
dlls/packager/packager_main.c
View file @
7c6899ba
...
...
@@ -175,12 +175,26 @@ static HRESULT WINAPI OleObject_GetClipboardData(IOleObject *iface, DWORD dwRese
return
E_NOTIMPL
;
}
static
HRESULT
do_activate_object
(
struct
Package
*
This
,
HWND
parent
)
{
static
const
WCHAR
openW
[]
=
{
'o'
,
'p'
,
'e'
,
'n'
,
0
};
ShellExecuteW
(
parent
,
openW
,
This
->
filename
,
NULL
,
NULL
,
SW_SHOW
);
return
S_OK
;
}
static
HRESULT
WINAPI
OleObject_DoVerb
(
IOleObject
*
iface
,
LONG
iVerb
,
LPMSG
lpmsg
,
IOleClientSite
*
pActiveSite
,
LONG
lindex
,
HWND
hwndParent
,
LPCRECT
lprcPosRect
)
{
struct
Package
*
This
=
impl_from_IOleObject
(
iface
);
FIXME
(
"(%p)->(%d)
\n
"
,
This
,
iVerb
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%d)
\n
"
,
This
,
iVerb
);
switch
(
iVerb
){
case
0
:
return
do_activate_object
(
This
,
hwndParent
);
}
return
E_INVALIDARG
;
}
static
HRESULT
WINAPI
OleObject_EnumVerbs
(
IOleObject
*
iface
,
IEnumOLEVERB
**
ppEnumOleVerb
)
...
...
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