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
37b7a217
Commit
37b7a217
authored
Oct 09, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
Oct 10, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Don't use IDispatchEx for timer callbacks.
parent
b0ff8f7e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletion
+15
-1
task.c
dlls/mshtml/task.c
+15
-1
No files found.
dlls/mshtml/task.c
View file @
37b7a217
...
...
@@ -365,6 +365,20 @@ static void process_task(task_t *task)
}
}
static
void
call_timer_disp
(
IDispatch
*
disp
)
{
DISPPARAMS
dp
=
{
NULL
,
NULL
,
0
,
0
};
EXCEPINFO
ei
;
VARIANT
res
;
HRESULT
hres
;
V_VT
(
&
res
)
=
VT_EMPTY
;
memset
(
&
ei
,
0
,
sizeof
(
ei
));
hres
=
IDispatch_Invoke
(
disp
,
DISPID_VALUE
,
&
IID_NULL
,
0
,
DISPATCH_METHOD
,
&
dp
,
&
res
,
&
ei
,
NULL
);
TRACE
(
"ret %08x %s
\n
"
,
hres
,
debugstr_variant
(
&
res
));
VariantClear
(
&
res
);
}
static
LRESULT
process_timer
(
void
)
{
thread_data_t
*
thread_data
=
get_thread_data
(
TRUE
);
...
...
@@ -395,7 +409,7 @@ static LRESULT process_timer(void)
release_task_timer
(
thread_data
->
thread_hwnd
,
timer
);
}
call_
disp_func
(
doc
,
disp
);
call_
timer_disp
(
disp
);
IDispatch_Release
(
disp
);
}
...
...
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