HWND vs syscall.Handle in function declarations?
Closed this issue · 1 comments
rodrigocfd commented
There's a definition for the type HWND
in typedef.go, but it seems that many functions use syscall.Handle
to type the hwnd
parameter... for example, GetWindowTextW
from user32.go.
Is there a reason for that?
TotallyGamerJet commented
I don't believe so. It should probably be fixed. Just cast so that it works: syscall.Handle(hwnd)