Fix some inaccuracies in a comment and reformat.

This commit is contained in:
Robert Shearman 2004-07-29 02:43:48 +00:00 committed by Alexandre Julliard
parent 26541a00c9
commit 0cac6c83a7

View File

@ -152,12 +152,13 @@ void COMPOBJ_InitProcess( void )
{
WNDCLASSA wclass;
/* Inter-thread RPCs are done through window messages rather than pipes. When
an interface is marshalled into another apartment in the same process,
a window of the following class is created. The *caller* of CoMarshalInterface
(ie the application) is responsible for pumping the message loop in that thread,
the WM_USER messages which point to the RPCs are then dispatched to COM_AptWndProc
by the users code.
/* Dispatching to the correct thread in an apartment is done through
* window messages rather than RPC transports. When an interface is
* marshalled into another apartment in the same process, a window of the
* following class is created. The *caller* of CoMarshalInterface (ie the
* application) is responsible for pumping the message loop in that thread.
* The WM_USER messages which point to the RPCs are then dispatched to
* COM_AptWndProc by the user's code.
*/
memset(&wclass, 0, sizeof(wclass));
wclass.lpfnWndProc = &COM_AptWndProc;