mirror of
https://github.com/reactos/wine.git
synced 2024-11-26 05:00:30 +00:00
Fix some inaccuracies in a comment and reformat.
This commit is contained in:
parent
26541a00c9
commit
0cac6c83a7
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user