Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sebastian Mayr
wine
Commits
cc8ed9a3
Commit
cc8ed9a3
authored
17 years ago
by
Jacek Caban
Committed by
Alexandre Julliard
17 years ago
Browse files
Options
Downloads
Patches
Plain Diff
shdocvw: Added OnStopBinding implementation and use it in http_load_hack.
parent
f79771cb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dlls/shdocvw/navigate.c
+10
-13
10 additions, 13 deletions
dlls/shdocvw/navigate.c
with
10 additions
and
13 deletions
dlls/shdocvw/navigate.c
+
10
−
13
View file @
cc8ed9a3
...
...
@@ -30,6 +30,8 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
shdocvw
);
static
const
WCHAR
emptyW
[]
=
{
0
};
typedef
struct
{
const
IBindStatusCallbackVtbl
*
lpBindStatusCallbackVtbl
;
const
IHttpNegotiateVtbl
*
lpHttpNegotiateVtbl
;
...
...
@@ -214,14 +216,16 @@ static HRESULT WINAPI BindStatusCallback_OnStopBinding(IBindStatusCallback *ifac
{
BindStatusCallback
*
This
=
BINDSC_THIS
(
iface
);
FIXME
(
"(%p)->(%08x %s)
\n
"
,
This
,
hresult
,
debugstr_w
(
szError
));
TRACE
(
"(%p)->(%08x %s)
\n
"
,
This
,
hresult
,
debugstr_w
(
szError
));
set_status_text
(
This
,
emptyW
);
if
(
This
->
doc_host
)
{
IOleClientSite_Release
(
CLIENTSITE
(
This
->
doc_host
));
This
->
doc_host
=
NULL
;
}
return
E_NOTIMPL
;
return
S_OK
;
}
static
HRESULT
WINAPI
BindStatusCallback_GetBindInfo
(
IBindStatusCallback
*
iface
,
...
...
@@ -512,8 +516,10 @@ static HRESULT http_load_hack(DocHost *This, IMoniker *mon, IBindStatusCallback
}
hres
=
IUnknown_QueryInterface
(
doc
,
&
IID_IPersistMoniker
,
(
void
**
)
&
persist
);
if
(
FAILED
(
hres
))
if
(
FAILED
(
hres
))
{
IUnknown_Release
(
doc
);
return
hres
;
}
hres
=
IPersistMoniker_Load
(
persist
,
FALSE
,
mon
,
bindctx
,
0
);
IPersistMoniker_Release
(
persist
);
...
...
@@ -525,14 +531,7 @@ static HRESULT http_load_hack(DocHost *This, IMoniker *mon, IBindStatusCallback
IUnknown_Release
(
doc
);
if
(
This
->
frame
)
{
static
const
WCHAR
empty
[]
=
{
0
};
IOleInPlaceFrame_SetStatusText
(
This
->
frame
,
empty
);
/* FIXME */
}
return
hres
;
return
IBindStatusCallback_OnStopBinding
(
callback
,
hres
,
NULL
);
}
static
HRESULT
bind_to_object
(
DocHost
*
This
,
IMoniker
*
mon
,
LPCWSTR
url
,
IBindCtx
*
bindctx
,
...
...
@@ -572,8 +571,6 @@ static HRESULT navigate_mon(DocHost *This, IMoniker *mon, PBYTE post_data, ULONG
hres
=
bind_to_object
(
This
,
mon
,
This
->
url
,
bindctx
,
callback
);
IBindStatusCallback_OnStopBinding
(
callback
,
hres
,
NULL
);
IBindStatusCallback_Release
(
callback
);
IBindCtx_Release
(
bindctx
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment