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
8bf9d8e9
Commit
8bf9d8e9
authored
Sep 03, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 03, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Process pending tasks before exiting Start function.
parent
3636a252
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
+12
-4
bindprot.c
dlls/urlmon/bindprot.c
+12
-4
No files found.
dlls/urlmon/bindprot.c
View file @
8bf9d8e9
...
...
@@ -34,11 +34,8 @@ struct _task_header_t {
#define WM_MK_CONTINUE (WM_USER+101)
#define WM_MK_RELEASE (WM_USER+102)
static
LRESULT
WINAPI
notif_wnd_proc
(
HWND
hwnd
,
UINT
msg
,
WPARAM
wParam
,
LPARAM
lParam
)
static
void
process_tasks
(
BindProtocol
*
This
)
{
switch
(
msg
)
{
case
WM_MK_CONTINUE
:
{
BindProtocol
*
This
=
(
BindProtocol
*
)
lParam
;
task_header_t
*
task
;
while
(
1
)
{
...
...
@@ -60,6 +57,15 @@ static LRESULT WINAPI notif_wnd_proc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM
task
->
proc
(
This
,
task
);
This
->
continue_call
--
;
}
}
static
LRESULT
WINAPI
notif_wnd_proc
(
HWND
hwnd
,
UINT
msg
,
WPARAM
wParam
,
LPARAM
lParam
)
{
switch
(
msg
)
{
case
WM_MK_CONTINUE
:
{
BindProtocol
*
This
=
(
BindProtocol
*
)
lParam
;
process_tasks
(
This
);
IInternetProtocolEx_Release
(
&
This
->
IInternetProtocolEx_iface
);
return
0
;
...
...
@@ -543,6 +549,8 @@ static HRESULT WINAPI BindProtocol_StartEx(IInternetProtocolEx *iface, IUri *pUr
&
This
->
IInternetBindInfo_iface
,
0
,
0
);
}
if
(
SUCCEEDED
(
hres
))
process_tasks
(
This
);
return
hres
;
}
...
...
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