how a GetMessage function is getting arguments?

say for example WM_QUIT message, in what form(value) get message receives the msg parameter ?how it returns -1 or 0 or 1?
It's in the wParam of the msg struct.
Last edited on
Topic archived. No new replies allowed.