I know I’m being lazy here and I should trawl the header files for myself, but what are the actual types for LPARAM and WPARAM parameters? Are they pointers, or four byte ints? I’m doing some C# interop code and want to be sure I get it working on x64 systems.
Share
LPARAMis a typedef forLONG_PTRwhich is along(signed 32-bit) on win32 and__int64(signed 64-bit) on x86_64.WPARAMis a typedef forUINT_PTRwhich is anunsigned int(unsigned 32-bit) on win32 andunsigned __int64(unsigned 64-bit) on x86_64.MSDN link