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
e3fb7ba8
Commit
e3fb7ba8
authored
Jan 03, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
Jan 04, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shdocvw: Added OnObjectAvailable implementation.
parent
6a4c9167
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
2 deletions
+30
-2
navigate.c
dlls/shdocvw/navigate.c
+30
-2
No files found.
dlls/shdocvw/navigate.c
View file @
e3fb7ba8
...
...
@@ -232,8 +232,36 @@ static HRESULT WINAPI BindStatusCallback_OnObjectAvailable(IBindStatusCallback *
REFIID
riid
,
IUnknown
*
punk
)
{
BindStatusCallback
*
This
=
BINDSC_THIS
(
iface
);
FIXME
(
"(%p)->(%s %p)
\n
"
,
This
,
debugstr_guid
(
riid
),
punk
);
return
E_NOTIMPL
;
IOleObject
*
oleobj
;
HRESULT
hres
;
TRACE
(
"(%p)->(%s %p)
\n
"
,
This
,
debugstr_guid
(
riid
),
punk
);
IUnknown_AddRef
(
punk
);
This
->
doc_host
->
document
=
punk
;
hres
=
IUnknown_QueryInterface
(
punk
,
&
IID_IOleObject
,
(
void
**
)
&
oleobj
);
if
(
SUCCEEDED
(
hres
))
{
CLSID
clsid
;
hres
=
IOleObject_GetUserClassID
(
oleobj
,
&
clsid
);
if
(
SUCCEEDED
(
hres
))
TRACE
(
"Got clsid %s
\n
"
,
IsEqualGUID
(
&
clsid
,
&
CLSID_HTMLDocument
)
?
"CLSID_HTMLDocument"
:
debugstr_guid
(
&
clsid
));
hres
=
IOleObject_SetClientSite
(
oleobj
,
CLIENTSITE
(
This
->
doc_host
));
if
(
FAILED
(
hres
))
FIXME
(
"SetClientSite failed: %08x
\n
"
,
hres
);
/* FIXME: Call SetAdvise */
/* FIXME: Call Invoke(DISPID_READYSTATE) */
}
else
{
FIXME
(
"Could not get IOleObject iface: %08x
\n
"
,
hres
);
}
PostMessageW
(
This
->
doc_host
->
hwnd
,
WB_WM_NAVIGATE2
,
0
,
0
);
return
S_OK
;
}
#undef BSC_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