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
038c8e64
Commit
038c8e64
authored
Dec 23, 2006
by
Rob Shearman
Committed by
Alexandre Julliard
Dec 24, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Call the MessagePending function for message filters.
parent
aca17cd1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
5 deletions
+26
-5
compobj.c
dlls/ole32/compobj.c
+26
-5
No files found.
dlls/ole32/compobj.c
View file @
038c8e64
...
...
@@ -34,8 +34,6 @@
* - Implement the OXID resolver so we don't need magic endpoint names for
* clients and servers to meet up
*
* - Call IMessageFilter functions.
*
* - Make all ole interface marshaling use NDR to be wire compatible with
* native DCOM
* - Use & interpret ORPCTHIS & ORPCTHAT.
...
...
@@ -2720,9 +2718,6 @@ HRESULT WINAPI CoRegisterMessageFilter(
else
if
(
lpOldMessageFilter
)
IMessageFilter_Release
(
lpOldMessageFilter
);
if
(
lpMessageFilter
)
FIXME
(
"message filter has been registered, but will not be used
\n
"
);
return
S_OK
;
}
...
...
@@ -3191,6 +3186,32 @@ HRESULT WINAPI CoWaitForMultipleHandles(DWORD dwFlags, DWORD dwTimeout,
{
MSG
msg
;
/* call message filter */
if
(
COM_CurrentApt
()
->
filter
)
{
DWORD
be_handled
=
IMessageFilter_MessagePending
(
COM_CurrentApt
()
->
filter
,
0
/* FIXME */
,
now
-
start_time
,
COM_CurrentInfo
()
->
pending_call_count
?
PENDINGTYPE_NESTED
:
PENDINGTYPE_TOPLEVEL
);
TRACE
(
"IMessageFilter_MessagePending returned %d
\n
"
,
be_handled
);
switch
(
be_handled
)
{
case
PENDINGMSG_CANCELCALL
:
WARN
(
"call canceled
\n
"
);
hr
=
RPC_E_CALL_CANCELED
;
break
;
case
PENDINGMSG_WAITNOPROCESS
:
case
PENDINGMSG_WAITDEFPROCESS
:
default:
/* FIXME: MSDN is very vague about the difference
* between WAITNOPROCESS and WAITDEFPROCESS - there
* appears to be none, so it is possibly a left-over
* from the 16-bit world. */
break
;
}
}
/* note: using "if" here instead of "while" might seem less
* efficient, but only if we are optimising for quick delivery
* of pending messages, rather than quick completion of the
...
...
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