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
99306db9
Commit
99306db9
authored
Jan 09, 2006
by
Jacek Caban
Committed by
Alexandre Julliard
Jan 09, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Pass FORMATETC to OnDataAvailable.
parent
762e2696
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
binding.c
dlls/urlmon/binding.c
+8
-1
No files found.
dlls/urlmon/binding.c
View file @
99306db9
...
...
@@ -547,6 +547,7 @@ static HRESULT WINAPI InternetProtocolSink_ReportData(IInternetProtocolSink *ifa
{
Binding
*
This
=
PROTSINK_THIS
(
iface
);
STGMEDIUM
stgmed
;
FORMATETC
formatetc
;
TRACE
(
"(%p)->(%ld %lu %lu)
\n
"
,
This
,
grfBSCF
,
ulProgress
,
ulProgressMax
);
...
...
@@ -570,8 +571,14 @@ static HRESULT WINAPI InternetProtocolSink_ReportData(IInternetProtocolSink *ifa
stgmed
.
tymed
=
TYMED_ISTREAM
;
stgmed
.
u
.
pstm
=
STREAM
(
This
->
stream
);
formatetc
.
cfFormat
=
0
;
/* FIXME */
formatetc
.
ptd
=
NULL
;
formatetc
.
dwAspect
=
1
;
formatetc
.
lindex
=
-
1
;
formatetc
.
tymed
=
TYMED_ISTREAM
;
IBindStatusCallback_OnDataAvailable
(
This
->
callback
,
grfBSCF
,
This
->
stream
->
buf_size
,
NULL
/* FIXME */
,
&
stgmed
);
&
formatetc
,
&
stgmed
);
if
(
grfBSCF
&
BSCF_LASTDATANOTIFICATION
)
IBindStatusCallback_OnStopBinding
(
This
->
callback
,
S_OK
,
NULL
);
...
...
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