lxn / win

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

Fix GPTR flag to correct value #45

Closed ahenager closed 5 years ago

ahenager commented 6 years ago

GPTR previously had an incorrect value, resulting in incorrect handles being returned from GlobalAlloc. This commit fixes it to match what is defined in WinBase.h.

zx2c4 commented 5 years ago

:+1: This should be merged.