diff options
| author | Pietro Gagliardi <[email protected]> | 2014-06-03 03:19:19 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-06-03 03:20:04 -0400 |
| commit | 38800f027f12f419c361969f517f298d44e5ca37 (patch) | |
| tree | 81162777e1d91c54c541173babb1bea6c91fe603 /common_windows.go | |
| parent | d8ee23ff740d80ad365bc6eb4b32ce3100198e8f (diff) | |
Converted sysdata_windows.go to use the new string conversion setup from the previous commit. This has to be first, otherwise a few other things will fail to compile...
Diffstat (limited to 'common_windows.go')
| -rw-r--r-- | common_windows.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common_windows.go b/common_windows.go index 2c1c3fd..f2440f1 100644 --- a/common_windows.go +++ b/common_windows.go @@ -83,6 +83,10 @@ func utf16ToArg(s *uint16) uintptr { return uintptr(unsafe.Pointer(s)) } +func utf16ToLPARAM(s *uint16) uintptr { + return uintptr(_LPARAM(unsafe.Pointer(s))) +} + var ( _adjustWindowRectEx = user32.NewProc("AdjustWindowRectEx") _createWindowEx = user32.NewProc("CreateWindowExW") |
