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;
|
WNDCLASSA wclass;
|
||||||
|
|
||||||
/* Inter-thread RPCs are done through window messages rather than pipes. When
|
/* Dispatching to the correct thread in an apartment is done through
|
||||||
an interface is marshalled into another apartment in the same process,
|
* window messages rather than RPC transports. When an interface is
|
||||||
a window of the following class is created. The *caller* of CoMarshalInterface
|
* marshalled into another apartment in the same process, a window of the
|
||||||
(ie the application) is responsible for pumping the message loop in that thread,
|
* following class is created. The *caller* of CoMarshalInterface (ie the
|
||||||
the WM_USER messages which point to the RPCs are then dispatched to COM_AptWndProc
|
* application) is responsible for pumping the message loop in that thread.
|
||||||
by the users code.
|
* 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));
|
memset(&wclass, 0, sizeof(wclass));
|
||||||
wclass.lpfnWndProc = &COM_AptWndProc;
|
wclass.lpfnWndProc = &COM_AptWndProc;
|
||||||
|
|
Loading…
Reference in New Issue