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
88f76cc2
Commit
88f76cc2
authored
Feb 08, 2007
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 08, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Call OnProgress directly in report_data.
parent
4613567d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
binding.c
dlls/urlmon/binding.c
+6
-3
No files found.
dlls/urlmon/binding.c
View file @
88f76cc2
...
@@ -834,15 +834,18 @@ static void report_data(Binding *This, DWORD bscf, ULONG progress, ULONG progres
...
@@ -834,15 +834,18 @@ static void report_data(Binding *This, DWORD bscf, ULONG progress, ULONG progres
FindMimeFromData
(
NULL
,
This
->
url
,
This
->
stream
->
buf
,
FindMimeFromData
(
NULL
,
This
->
url
,
This
->
stream
->
buf
,
min
(
This
->
stream
->
buf_size
,
255
),
This
->
mime
,
0
,
&
mime
,
0
);
min
(
This
->
stream
->
buf_size
,
255
),
This
->
mime
,
0
,
&
mime
,
0
);
on_progress
(
This
,
progress
,
progress_max
,
BINDSTATUS_MIMETYPEAVAILABLE
,
mime
);
IBindStatusCallback_OnProgress
(
This
->
callback
,
progress
,
progress_max
,
BINDSTATUS_MIMETYPEAVAILABLE
,
mime
);
}
}
if
(
bscf
&
BSCF_FIRSTDATANOTIFICATION
)
{
if
(
bscf
&
BSCF_FIRSTDATANOTIFICATION
)
{
on_progress
(
This
,
progress
,
progress_max
,
BINDSTATUS_BEGINDOWNLOADDATA
,
This
->
url
);
IBindStatusCallback_OnProgress
(
This
->
callback
,
progress
,
progress_max
,
BINDSTATUS_BEGINDOWNLOADDATA
,
This
->
url
);
}
}
if
(
bscf
&
BSCF_LASTDATANOTIFICATION
)
if
(
bscf
&
BSCF_LASTDATANOTIFICATION
)
on_progress
(
This
,
progress
,
progress_max
,
BINDSTATUS_ENDDOWNLOADDATA
,
This
->
url
);
IBindStatusCallback_OnProgress
(
This
->
callback
,
progress
,
progress_max
,
BINDSTATUS_ENDDOWNLOADDATA
,
This
->
url
);
if
(
!
This
->
request_locked
)
{
if
(
!
This
->
request_locked
)
{
HRESULT
hres
=
IInternetProtocol_LockRequest
(
This
->
protocol
,
0
);
HRESULT
hres
=
IInternetProtocol_LockRequest
(
This
->
protocol
,
0
);
...
...
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