Use uint64_t instead of LPARAM
LPARAM is defined to differnt types on differnt machines with different SDKs, so there is no way to represent it on all platforms safely, using uint64_t seems to be the only safe choice.
This commit is contained in:
parent
5fd310c75f
commit
b86267aa3b
4 changed files with 7 additions and 15 deletions
|
@ -61,7 +61,7 @@ class NativeWindowObserver {
|
|||
|
||||
// Called when window message received
|
||||
#if defined(OS_WIN)
|
||||
virtual void OnWindowMessage(UINT message, WPARAM w_param, LPARAM l_param) {}
|
||||
virtual void OnWindowMessage(UINT message, WPARAM wparam, uint64_t lparam) {}
|
||||
#endif
|
||||
|
||||
// Called when renderer is hung.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue