The integral types WPARAM, LPARAM,
and LRESULT are 32 bits wide on 32-bit systems
and 64 bits wide on 64-bit systems.
What happens when a 32-bit process sends a message to a 64-bit window
or vice versa?
There's really only one choice when
converting a 64-bit value to a 32-bit value: Truncation.
When a 64-bit process sends a message to a 32-...