The PM Messaging Environment

First consider the non-PM application programming model as shown in the following diagram:

This diagram illustrates the following points:

For PM message threads, the environment is radically different. The key difference is that application code that runs on a PM message thread is effectively a subroutine of the WinGetMsg API even though WinGetMsg is called by the application. The terminology often used to describe this reversal is Program Inversion. WinGetMsg is said to be inverted with respect to the application's message thread.

We see this illustrated in the following diagram.

Also illustrated by this diagram are the following points:


[Back: Exploring 32-bit Presentation Manager Under WARP]
[Next: PM Message Queues]