What are the definitions for LPARAM and WPARAM?

后端 未结 6 544
暗喜
暗喜 2020-11-29 03:00

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 i

6条回答
  •  爱一瞬间的悲伤
    2020-11-29 04:01

    LPARAM refers to a LONG_PTR and WPARAM refers to a UINT_PTR

    On x86 they will be 4 bytes and on x64 they will be 8 bytes.

提交回复
热议问题