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
89d9287a
Commit
89d9287a
authored
May 31, 2006
by
Jacek Caban
Committed by
Alexandre Julliard
Jun 01, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Make suse that every OnProgress call is in an apartment thread.
parent
9a1e6aae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
binding.c
dlls/urlmon/binding.c
+3
-6
No files found.
dlls/urlmon/binding.c
View file @
89d9287a
...
...
@@ -773,18 +773,15 @@ static HRESULT WINAPI InternetProtocolSink_ReportData(IInternetProtocolSink *ifa
FindMimeFromData
(
NULL
,
This
->
url
,
This
->
stream
->
buf
,
min
(
This
->
stream
->
buf_size
,
255
),
This
->
mime
,
0
,
&
mime
,
0
);
IBindStatusCallback_OnProgress
(
This
->
callback
,
ulProgress
,
ulProgressMax
,
BINDSTATUS_MIMETYPEAVAILABLE
,
mime
);
on_progress
(
This
,
ulProgress
,
ulProgressMax
,
BINDSTATUS_MIMETYPEAVAILABLE
,
mime
);
}
if
(
grfBSCF
&
BSCF_FIRSTDATANOTIFICATION
)
{
IBindStatusCallback_OnProgress
(
This
->
callback
,
ulProgress
,
ulProgressMax
,
BINDSTATUS_BEGINDOWNLOADDATA
,
This
->
url
);
on_progress
(
This
,
ulProgress
,
ulProgressMax
,
BINDSTATUS_BEGINDOWNLOADDATA
,
This
->
url
);
}
if
(
grfBSCF
&
BSCF_LASTDATANOTIFICATION
)
IBindStatusCallback_OnProgress
(
This
->
callback
,
ulProgress
,
ulProgressMax
,
BINDSTATUS_ENDDOWNLOADDATA
,
This
->
url
);
on_progress
(
This
,
ulProgress
,
ulProgressMax
,
BINDSTATUS_ENDDOWNLOADDATA
,
This
->
url
);
if
(
grfBSCF
&
BSCF_FIRSTDATANOTIFICATION
)
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