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
7f107fb8
Commit
7f107fb8
authored
Sep 24, 2006
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 25, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Store IBinding interface in BSCallback.
parent
38b6665a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletion
+13
-1
mshtml_private.h
dlls/mshtml/mshtml_private.h
+1
-0
navigate.c
dlls/mshtml/navigate.c
+12
-1
No files found.
dlls/mshtml/mshtml_private.h
View file @
7f107fb8
...
@@ -174,6 +174,7 @@ struct BSCallback {
...
@@ -174,6 +174,7 @@ struct BSCallback {
nsISupports
*
nscontext
;
nsISupports
*
nscontext
;
IMoniker
*
mon
;
IMoniker
*
mon
;
IBinding
*
binding
;
nsProtocolStream
*
nsstream
;
nsProtocolStream
*
nsstream
;
};
};
...
...
dlls/mshtml/navigate.c
View file @
7f107fb8
...
@@ -248,6 +248,8 @@ static ULONG WINAPI BindStatusCallback_Release(IBindStatusCallback *iface)
...
@@ -248,6 +248,8 @@ static ULONG WINAPI BindStatusCallback_Release(IBindStatusCallback *iface)
nsIInputStream_Release
(
NSINSTREAM
(
This
->
nsstream
));
nsIInputStream_Release
(
NSINSTREAM
(
This
->
nsstream
));
if
(
This
->
mon
)
if
(
This
->
mon
)
IMoniker_Release
(
This
->
mon
);
IMoniker_Release
(
This
->
mon
);
if
(
This
->
binding
)
IBinding_Release
(
This
->
binding
);
mshtml_free
(
This
->
headers
);
mshtml_free
(
This
->
headers
);
mshtml_free
(
This
);
mshtml_free
(
This
);
}
}
...
@@ -259,7 +261,12 @@ static HRESULT WINAPI BindStatusCallback_OnStartBinding(IBindStatusCallback *ifa
...
@@ -259,7 +261,12 @@ static HRESULT WINAPI BindStatusCallback_OnStartBinding(IBindStatusCallback *ifa
DWORD
dwReserved
,
IBinding
*
pbind
)
DWORD
dwReserved
,
IBinding
*
pbind
)
{
{
BSCallback
*
This
=
STATUSCLB_THIS
(
iface
);
BSCallback
*
This
=
STATUSCLB_THIS
(
iface
);
FIXME
(
"(%p)->(%ld %p)
\n
"
,
This
,
dwReserved
,
pbind
);
TRACE
(
"(%p)->(%ld %p)
\n
"
,
This
,
dwReserved
,
pbind
);
IBinding_AddRef
(
pbind
);
This
->
binding
=
pbind
;
return
S_OK
;
return
S_OK
;
}
}
...
@@ -309,6 +316,9 @@ static HRESULT WINAPI BindStatusCallback_OnStopBinding(IBindStatusCallback *ifac
...
@@ -309,6 +316,9 @@ static HRESULT WINAPI BindStatusCallback_OnStopBinding(IBindStatusCallback *ifac
TRACE
(
"(%p)->(%08lx %s)
\n
"
,
This
,
hresult
,
debugstr_w
(
szError
));
TRACE
(
"(%p)->(%08lx %s)
\n
"
,
This
,
hresult
,
debugstr_w
(
szError
));
IBinding_Release
(
This
->
binding
);
This
->
binding
=
NULL
;
if
(
This
->
nslistener
)
{
if
(
This
->
nslistener
)
{
nsIStreamListener_OnStopRequest
(
This
->
nslistener
,
(
nsIRequest
*
)
NSCHANNEL
(
This
->
nschannel
),
nsIStreamListener_OnStopRequest
(
This
->
nslistener
,
(
nsIRequest
*
)
NSCHANNEL
(
This
->
nschannel
),
This
->
nscontext
,
NS_OK
);
This
->
nscontext
,
NS_OK
);
...
@@ -593,6 +603,7 @@ BSCallback *create_bscallback(HTMLDocument *doc, IMoniker *mon)
...
@@ -593,6 +603,7 @@ BSCallback *create_bscallback(HTMLDocument *doc, IMoniker *mon)
ret
->
nslistener
=
NULL
;
ret
->
nslistener
=
NULL
;
ret
->
nscontext
=
NULL
;
ret
->
nscontext
=
NULL
;
ret
->
nsstream
=
NULL
;
ret
->
nsstream
=
NULL
;
ret
->
binding
=
NULL
;
if
(
mon
)
if
(
mon
)
IMoniker_AddRef
(
mon
);
IMoniker_AddRef
(
mon
);
...
...
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