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
5fd727fa
Commit
5fd727fa
authored
Mar 09, 2007
by
Jacek Caban
Committed by
Alexandre Julliard
Mar 09, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Use get_client_disp_property in SetClientSite to get silent property.
parent
1790fdee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
oleobj.c
dlls/mshtml/oleobj.c
+10
-1
No files found.
dlls/mshtml/oleobj.c
View file @
5fd727fa
...
...
@@ -66,6 +66,7 @@ static HRESULT WINAPI OleObject_SetClientSite(IOleObject *iface, IOleClientSite
HTMLDocument
*
This
=
OLEOBJ_THIS
(
iface
);
IDocHostUIHandler
*
pDocHostUIHandler
=
NULL
;
IOleCommandTarget
*
cmdtrg
=
NULL
;
VARIANT
silent
;
HRESULT
hres
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
pClientSite
);
...
...
@@ -171,7 +172,15 @@ static HRESULT WINAPI OleObject_SetClientSite(IOleObject *iface, IOleClientSite
IOleControl_OnAmbientPropertyChange
(
CONTROL
(
This
),
DISPID_AMBIENT_USERMODE
);
IOleControl_OnAmbientPropertyChange
(
CONTROL
(
This
),
DISPID_AMBIENT_OFFLINEIFNOTCONNECTED
);
IOleControl_OnAmbientPropertyChange
(
CONTROL
(
This
),
DISPID_AMBIENT_SILENT
);
hres
=
get_client_disp_property
(
This
->
client
,
DISPID_AMBIENT_SILENT
,
&
silent
);
if
(
SUCCEEDED
(
hres
))
{
if
(
V_VT
(
&
silent
)
!=
VT_BOOL
)
WARN
(
"V_VT(silent) = %d
\n
"
,
V_VT
(
&
silent
));
else
if
(
V_BOOL
(
&
silent
))
FIXME
(
"silent == true
\n
"
);
}
IOleControl_OnAmbientPropertyChange
(
CONTROL
(
This
),
DISPID_AMBIENT_USERAGENT
);
IOleControl_OnAmbientPropertyChange
(
CONTROL
(
This
),
DISPID_AMBIENT_PALETTE
);
...
...
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