COM
Expand Minimize
This topic has not yet been rated - Rate this topic

CoHandlePriorityEventsFromMessagePump function

Called by message dispatchers on an ASTA thread after dispatching a windows message to provide an opportunity for short-running infrastructural COM calls and other high-priority or short-running COM work to be dispatched between messages. This helps to provide similar responsiveness to these infrastructural calls in an ASTA as in a classic STA, even when there is a long stream of window messages to be handled.

Syntax


 WINAPI CoHandlePriorityEventsFromMessagePump(
   
);

Parameters

TBD

Return value

TBD

Remarks

This function dispatches any high-priority COM calls or work that are queued on the ASTA thread, then returns. It returns quickly if there is no work to perform. This function silently does nothing when called on non-ASTA threads.

 

 

Send comments about this topic to Microsoft

Build date: 5/16/2013

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.