From 9b19ee72457586e41da5788f802c6bc55ea7a84b Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Tue, 11 Feb 2014 16:17:17 -0500 Subject: Moved things that I haven't migated yet out of the way for now. --- wndproc_windows.go | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 wndproc_windows.go (limited to 'wndproc_windows.go') diff --git a/wndproc_windows.go b/wndproc_windows.go deleted file mode 100644 index b9c13f2..0000000 --- a/wndproc_windows.go +++ /dev/null @@ -1,24 +0,0 @@ -// 8 february 2014 -package main - -import ( -// "syscall" -// "unsafe" -) - -// TODO error handling -type WNDPROC func(hwnd HWND, uMsg uint32, wParam WPARAM, lParam LPARAM) LRESULT - -var ( - defWindowProc = user32.NewProc("DefWindowProcW") -) - -// TODO error handling -func DefWindowProc(hwnd HWND, uMsg uint32, wParam WPARAM, lParam LPARAM) LRESULT { - r1, _, _ := defWindowProc.Call( - uintptr(hwnd), - uintptr(uMsg), - uintptr(wParam), - uintptr(lParam)) - return LRESULT(r1) -} -- cgit v1.2.3