Fix GetMessage bug

This commit is contained in:
Lea Anthony 2022-10-06 19:49:48 +11:00
commit 0664c51832
No known key found for this signature in database
GPG key ID: 33DAF7BB90A58405

View file

@ -121,7 +121,7 @@ func GetModuleHandle(value uintptr) uintptr {
}
func GetMessage(msg *MSG) uintptr {
rt, _, _ := procGetMessageW.Call(uintptr(unsafe.Pointer(&msg)), 0, 0, 0)
rt, _, _ := procGetMessageW.Call(uintptr(unsafe.Pointer(msg)), 0, 0, 0)
return rt
}