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
72bf4a64
Commit
72bf4a64
authored
Mar 09, 2007
by
Jacek Caban
Committed by
Alexandre Julliard
Mar 09, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shdocvw: Added mode dispids implementation in DocHost::Invoke.
parent
0b48542f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
1 deletion
+19
-1
client.c
dlls/shdocvw/client.c
+8
-0
dochost.c
dlls/shdocvw/dochost.c
+5
-0
oleobject.c
dlls/shdocvw/oleobject.c
+3
-0
shdocvw.h
dlls/shdocvw/shdocvw.h
+3
-1
No files found.
dlls/shdocvw/client.c
View file @
72bf4a64
...
...
@@ -433,6 +433,14 @@ static HRESULT WINAPI ClDispatch_Invoke(IDispatch *iface, DISPID dispIdMember, R
debugstr_guid
(
riid
),
lcid
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
switch
(
dispIdMember
)
{
case
DISPID_AMBIENT_USERMODE
:
case
DISPID_AMBIENT_DLCONTROL
:
case
DISPID_AMBIENT_USERAGENT
:
case
DISPID_AMBIENT_PALETTE
:
if
(
!
This
->
client_disp
)
return
E_FAIL
;
return
IDispatch_Invoke
(
This
->
client_disp
,
dispIdMember
,
riid
,
lcid
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
case
DISPID_AMBIENT_OFFLINEIFNOTCONNECTED
:
V_VT
(
pVarResult
)
=
VT_BOOL
;
V_BOOL
(
pVarResult
)
=
This
->
offline
;
...
...
dlls/shdocvw/dochost.c
View file @
72bf4a64
...
...
@@ -486,6 +486,8 @@ void DocHost_Init(DocHost *This, IDispatch *disp)
This
->
disp
=
disp
;
This
->
client_disp
=
NULL
;
This
->
document
=
NULL
;
This
->
hostui
=
NULL
;
...
...
@@ -504,6 +506,9 @@ void DocHost_Init(DocHost *This, IDispatch *disp)
void
DocHost_Release
(
DocHost
*
This
)
{
if
(
This
->
client_disp
)
IDispatch_Release
(
This
->
client_disp
);
DocHost_ClientSite_Release
(
This
);
ConnectionPointContainer_Destroy
(
&
This
->
cps
);
...
...
dlls/shdocvw/oleobject.c
View file @
72bf4a64
...
...
@@ -307,6 +307,9 @@ static HRESULT WINAPI OleObject_SetClientSite(IOleObject *iface, LPOLECLIENTSITE
IOleClientSite_AddRef
(
pClientSite
);
IOleClientSite_QueryInterface
(
This
->
client
,
&
IID_IDispatch
,
(
void
**
)
&
This
->
doc_host
.
client_disp
);
IOleClientSite_QueryInterface
(
This
->
client
,
&
IID_IDocHostUIHandler
,
(
void
**
)
&
This
->
doc_host
.
hostui
);
...
...
dlls/shdocvw/shdocvw.h
View file @
72bf4a64
...
...
@@ -74,9 +74,11 @@ typedef struct {
IDispatch
*
disp
;
IDispatch
*
client_disp
;
IDocHostUIHandler
*
hostui
;
IUnknown
*
document
;
IOleDocumentView
*
view
;
IDocHostUIHandler
*
hostui
;
HWND
hwnd
;
HWND
frame_hwnd
;
...
...
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