Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
e7c3d015
Commit
e7c3d015
authored
Nov 05, 2006
by
Jacek Caban
Committed by
Alexandre Julliard
Nov 06, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shdocvw: Added OnAmbientPropertyChange(DISPID_AMBIENT_OFFLINECONNECTED) implementation.
parent
f76253bf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
oleobject.c
dlls/shdocvw/oleobject.c
+16
-0
No files found.
dlls/shdocvw/oleobject.c
View file @
e7c3d015
...
...
@@ -212,6 +212,20 @@ static HRESULT get_client_disp_property(IOleClientSite *client, DISPID dispid, V
return
hres
;
}
static
HRESULT
on_offlineconnected_change
(
WebBrowser
*
This
)
{
VARIANT
offline
;
get_client_disp_property
(
This
->
client
,
DISPID_AMBIENT_OFFLINEIFNOTCONNECTED
,
&
offline
);
if
(
V_VT
(
&
offline
)
==
VT_BOOL
)
IWebBrowser2_put_Offline
(
WEBBROWSER2
(
This
),
V_BOOL
(
&
offline
));
else
if
(
V_VT
(
&
offline
)
!=
VT_EMPTY
)
WARN
(
"wrong V_VT(silent) %d
\n
"
,
V_VT
(
&
offline
));
return
S_OK
;
}
static
HRESULT
on_silent_change
(
WebBrowser
*
This
)
{
VARIANT
silent
;
...
...
@@ -683,6 +697,8 @@ static HRESULT WINAPI OleControl_OnAmbientPropertyChange(IOleControl *iface, DIS
TRACE
(
"(%p)->(%d)
\n
"
,
This
,
dispID
);
switch
(
dispID
)
{
case
DISPID_AMBIENT_OFFLINEIFNOTCONNECTED
:
return
on_offlineconnected_change
(
This
);
case
DISPID_AMBIENT_SILENT
:
return
on_silent_change
(
This
);
}
...
...
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