lxn / win

A Windows API wrapper package for the Go Programming Language
Other
1.19k stars 313 forks source link

kernel32: GetVersion returns a DWORD #69

Closed zx2c4 closed 5 years ago

zx2c4 commented 5 years ago

The docs say: https://docs.microsoft.com/en-us/windows/desktop/api/sysinfoapi/nf-sysinfoapi-getversion

Was there a reason this was a signed int64, or was that mostly a mistake?

lxn commented 5 years ago

Was probably a mistake, thanks!