From 0cac6c83a71b64fe1ff191e6d683c6092d91e3a3 Mon Sep 17 00:00:00 2001 From: Robert Shearman Date: Thu, 29 Jul 2004 02:43:48 +0000 Subject: [PATCH] Fix some inaccuracies in a comment and reformat. --- dlls/ole32/compobj.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/dlls/ole32/compobj.c b/dlls/ole32/compobj.c index c04b6b85c3c..1882debe51e 100644 --- a/dlls/ole32/compobj.c +++ b/dlls/ole32/compobj.c @@ -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;