I read some stuff on Win32 and how the message loop works, and there\'s something that is still unclear to me: What exactly is stored in the message queue? The integer value
MSDN has a nice article here explaining everything on messages and message queues.
But to answer your question, the Queue exists for each window, it temporarily stores the messages and their associate parameters, whether of not its a queue of MSG
's is implementation defined, but it most likely is (or something similar). It should also be noted that not all messages will go to the queue, some require immediate processing.