diff options
| author | Pietro Gagliardi <[email protected]> | 2014-07-12 11:29:54 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-07-12 11:29:54 -0400 |
| commit | b944b6d4d83115dfcbb468e01d6a2cdf34b3078e (patch) | |
| tree | 9983c3948e50f8ff58d557c276c13d25b3787706 /redo/funcnames_windows.go | |
| parent | c55386f9295fa5c16763a2a428e8e63eba1e7c53 (diff) | |
Finished writing initial Windows implementation. Now to find out why it doesn't work...
Diffstat (limited to 'redo/funcnames_windows.go')
| -rw-r--r-- | redo/funcnames_windows.go | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/redo/funcnames_windows.go b/redo/funcnames_windows.go index 02b85ca..ce334f2 100644 --- a/redo/funcnames_windows.go +++ b/redo/funcnames_windows.go @@ -4,3 +4,24 @@ package ui // wfunc kernel32 GetModuleHandleW *uint16 uintptr // wfunc kernel32 GetStartupInfoW *s_STARTUPINFOW void +// wfunc user32 LoadIconW uintptr uintptr uintptr +// wfunc user32 LoadCursorW uintptr uintptr uintptr +// wfunc user32 GetMessageW *s_MSG uintptr t_UINT t_UINT t_BOOL + +// these two don't technically return void but let's pretend they do since their return values are irrelevant/not indicative of anything useful +// wfunc user32 TranslateMessage *s_MSG void +// wfunc user32 DispatchMessageW *s_MSG void + +// wfunc user32 PostMessageW uintptr t_UINT t_WPARAM t_LPARAM uintptr +// wfunc user32 RegisterClassW *s_WNDCLASSW uintptr + +// TODO narrow down argument types +// wfunc user32 CreateWindowExW uintptr *uint16 *uint16 uintptr uintptr uintptr uintptr uintptr uintptr uintptr uintptr unsafe.Pointer uintptr + +// wfunc user32 DefWindowProcW uintptr t_UINT t_WPARAM t_LPARAM t_LRESULT,noerr + +// this one doesn't technically return void but let's pretend it does since its return value is irrelevant/not indicative of anything useful +// wfunc user32 ShowWindow uintptr uintptr void + +// wfunc user32 SendMessageW uintptr t_UINT t_WPARAM t_LPARAM t_LRESULT,noerr +// wfunc user32 UpdateWindow uintptr uintptr |
