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
97e99956
Commit
97e99956
authored
Aug 06, 2007
by
Misha Koshelev
Committed by
Alexandre Julliard
Aug 07, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Add support for synchronous binding.
parent
e54a48f9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
binding.c
dlls/urlmon/binding.c
+10
-0
No files found.
dlls/urlmon/binding.c
View file @
97e99956
...
@@ -1375,6 +1375,7 @@ HRESULT start_binding(LPCWSTR url, IBindCtx *pbc, REFIID riid, void **ppv)
...
@@ -1375,6 +1375,7 @@ HRESULT start_binding(LPCWSTR url, IBindCtx *pbc, REFIID riid, void **ppv)
{
{
Binding
*
binding
=
NULL
;
Binding
*
binding
=
NULL
;
HRESULT
hres
;
HRESULT
hres
;
MSG
msg
;
*
ppv
=
NULL
;
*
ppv
=
NULL
;
...
@@ -1403,6 +1404,15 @@ HRESULT start_binding(LPCWSTR url, IBindCtx *pbc, REFIID riid, void **ppv)
...
@@ -1403,6 +1404,15 @@ HRESULT start_binding(LPCWSTR url, IBindCtx *pbc, REFIID riid, void **ppv)
return
hres
;
return
hres
;
}
}
while
(
!
(
binding
->
bindf
&
BINDF_ASYNCHRONOUS
)
&&
binding
->
download_state
!=
END_DOWNLOAD
)
{
MsgWaitForMultipleObjects
(
0
,
NULL
,
FALSE
,
5000
,
QS_POSTMESSAGE
);
while
(
PeekMessageW
(
&
msg
,
binding
->
notif_hwnd
,
WM_USER
,
WM_USER
+
117
,
PM_REMOVE
|
PM_NOYIELD
))
{
TranslateMessage
(
&
msg
);
DispatchMessageW
(
&
msg
);
}
}
if
(
binding
->
stream
->
init_buf
)
{
if
(
binding
->
stream
->
init_buf
)
{
if
(
binding
->
request_locked
)
if
(
binding
->
request_locked
)
IInternetProtocol_UnlockRequest
(
binding
->
protocol
);
IInternetProtocol_UnlockRequest
(
binding
->
protocol
);
...
...
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