What is WPARAM and LPARAM stand for?

I think the stand for Width Parameter and Length Parameter but i could be wrong.
It is MS-speak for generic "word" and "long" argument types. Back in old versions of Windows it typedef-ed actual word and long types.

Hope this helps.
Ok so they stand for Word Parameter and Long Parameter? What do they actually do in lamens terms though?
Have you stumbled upon the fantastic WinAPI?
learnwinapi.wordpress.com
This tutorial written by a friend of mine explains a lot of the mess that is winapi. And he'll answer any questions you have
A "message" is a generic idea. The problem is that each "message" represents a specific piece of information: a key was pressed, a window was moved, etc.

Each event has specific information attached to it: which key was pressed, etc.

The arguments to the callback function are integer values, but they can be interpreted (or typecast) to the actual type of thing associated with the specific message.

The names "WParam" and "LParam" are about as unimaginative and generic as it gets.
Topic archived. No new replies allowed.