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
4613567d
Commit
4613567d
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: Added ReportProgress(BINDSTATUS_DIRECTBIND) implementation.
parent
f799192b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
binding.c
dlls/urlmon/binding.c
+8
-5
No files found.
dlls/urlmon/binding.c
View file @
4613567d
...
...
@@ -74,7 +74,7 @@ struct Binding {
DWORD
bindf
;
LPWSTR
mime
;
LPWSTR
url
;
BOOL
verified
_mime
;
BOOL
report
_mime
;
DWORD
continue_call
;
BOOL
request_locked
;
...
...
@@ -799,11 +799,14 @@ static HRESULT WINAPI InternetProtocolSink_ReportProgress(IInternetProtocolSink
on_progress
(
This
,
0
,
0
,
BINDSTATUS_SENDINGREQUEST
,
szStatusText
);
break
;
case
BINDSTATUS_VERIFIEDMIMETYPEAVAILABLE
:
This
->
verified_mime
=
TRU
E
;
This
->
report_mime
=
FALS
E
;
on_progress
(
This
,
0
,
0
,
BINDSTATUS_MIMETYPEAVAILABLE
,
szStatusText
);
break
;
case
BINDSTATUS_CACHEFILENAMEAVAILABLE
:
break
;
case
BINDSTATUS_DIRECTBIND
:
This
->
report_mime
=
FALSE
;
break
;
default:
FIXME
(
"Unhandled status code %d
\n
"
,
ulStatusCode
);
return
E_NOTIMPL
;
...
...
@@ -821,10 +824,10 @@ static void report_data(Binding *This, DWORD bscf, ULONG progress, ULONG progres
if
(
GetCurrentThreadId
()
!=
This
->
apartment_thread
)
FIXME
(
"called from worked hread
\n
"
);
if
(
!
This
->
verified
_mime
)
{
if
(
This
->
report
_mime
)
{
LPWSTR
mime
;
This
->
verified_mime
=
TRU
E
;
This
->
report_mime
=
FALS
E
;
fill_stream_buffer
(
This
->
stream
);
...
...
@@ -1184,7 +1187,7 @@ static HRESULT Binding_Create(LPCWSTR url, IBindCtx *pbc, REFIID riid, Binding *
ret
->
url
=
NULL
;
ret
->
apartment_thread
=
GetCurrentThreadId
();
ret
->
notif_hwnd
=
get_notif_hwnd
();
ret
->
verified_mime
=
FALS
E
;
ret
->
report_mime
=
TRU
E
;
ret
->
continue_call
=
0
;
ret
->
request_locked
=
FALSE
;
ret
->
task_queue_head
=
ret
->
task_queue_tail
=
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