diff options
| author | Pietro Gagliardi <[email protected]> | 2014-07-17 15:10:26 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-07-17 15:10:26 -0400 |
| commit | 19f7b2946a6198862f860b1f7c5798c0d66b8fc1 (patch) | |
| tree | dcad78ffbde01eb9d4b952e15a33f6308eea8559 /redo/zwinconstgen.go | |
| parent | 1a712d4064a646f366612139269d075db78d56cd (diff) | |
Laid down the framework for control events on Windows. The only problem left is that we need to use functions from comctl32.dll, so it's time to bring that blob of code back.
Diffstat (limited to 'redo/zwinconstgen.go')
| -rw-r--r-- | redo/zwinconstgen.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/redo/zwinconstgen.go b/redo/zwinconstgen.go index 28ff843..c0e2171 100644 --- a/redo/zwinconstgen.go +++ b/redo/zwinconstgen.go @@ -276,6 +276,8 @@ func main() { fmt.Fprintf(buf, "type t_WPARAM %s\n", winName(reflect.TypeOf(C.WPARAM(0)))) fmt.Fprintf(buf, "type t_LPARAM %s\n", winName(reflect.TypeOf(C.LPARAM(0)))) fmt.Fprintf(buf, "type t_LRESULT %s\n", winName(reflect.TypeOf(C.LRESULT(0)))) + fmt.Fprintf(buf, "type t_UINT_PTR %s\n", winName(reflect.TypeOf(C.UINT_PTR(0)))) + fmt.Fprintf(buf, "type t_DWORD_PTR %s\n", winName(reflect.TypeOf(C.DWORD_PTR(0)))) // and one for GetMessageW() fmt.Fprintf(buf, "type t_BOOL %s\n", winName(reflect.TypeOf(C.BOOL(0)))) |
