github.com/as/shiny@v0.8.2/driver/win32/syscall_windows.go (about) 1 package win32 2 3 //sys AlphaBlend(dcdest syscall.Handle, xoriginDest int32, yoriginDest int32, wDest int32, hDest int32, dcsrc syscall.Handle, xoriginSrc int32, yoriginSrc int32, wsrc int32, hsrc int32, ftn uintptr) (err error) = msimg32.AlphaBlend 4 //sys BitBlt(dcdest syscall.Handle, xdest int32, ydest int32, width int32, height int32, dcsrc syscall.Handle, xsrc int32, ysrc int32, rop uint32) (err error) = gdi32.BitBlt 5 //sys CreateCompatibleBitmap(dc syscall.Handle, width int32, height int32) (bitmap syscall.Handle, err error) = gdi32.CreateCompatibleBitmap 6 //sys CreateCompatibleDC(dc syscall.Handle) (newdc syscall.Handle, err error) = gdi32.CreateCompatibleDC 7 //sys CreateDIBSection(dc syscall.Handle, bmi *_BITMAPINFO, usage uint32, bits **byte, section syscall.Handle, offset uint32) (bitmap syscall.Handle, err error) = gdi32.CreateDIBSection 8 //sys CreateSolidBrush(color _COLORREF) (brush syscall.Handle, err error) = gdi32.CreateSolidBrush 9 //sys DeleteDC(dc syscall.Handle) (err error) = gdi32.DeleteDC 10 //sys DeleteObject(object syscall.Handle) (err error) = gdi32.DeleteObject 11 //sys FillRect(dc syscall.Handle, rc *_RECT, brush syscall.Handle) (err error) = user32.FillRect 12 //sys ModifyWorldTransform(dc syscall.Handle, x *_XFORM, mode uint32) (err error) = gdi32.ModifyWorldTransform 13 //sys SelectObject(dc syscall.Handle, gdiobj syscall.Handle) (newobj syscall.Handle, err error) = gdi32.SelectObject 14 //sys SetGraphicsMode(dc syscall.Handle, mode int32) (oldmode int32, err error) = gdi32.SetGraphicsMode 15 //sys SetWorldTransform(dc syscall.Handle, x *_XFORM) (err error) = gdi32.SetWorldTransform 16 //sys StretchBlt(dcdest syscall.Handle, xdest int32, ydest int32, wdest int32, hdest int32, dcsrc syscall.Handle, xsrc int32, ysrc int32, wsrc int32, hsrc int32, rop uint32) (err error) = gdi32.StretchBlt 17 //sys GetDeviceCaps(dc syscall.Handle, index int32) (ret int32) = gdi32.GetDeviceCaps 18 19 //sys GetConsoleWindow() (h syscall.Handle) = kernel32.GetConsoleWindow 20 //sys GetDC(hwnd syscall.Handle) (dc syscall.Handle, err error) = user32.GetDC 21 //sys ReleaseDC(hwnd syscall.Handle, dc syscall.Handle) (err error) = user32.ReleaseDC 22 //sys sendMessage(hwnd syscall.Handle, uMsg uint32, wParam uintptr, lParam uintptr) (lResult uintptr) = user32.SendMessageW 23 //sys CreateWindowEx(exstyle uint32, className *uint16, windowText *uint16, style uint32, x int32, y int32, width int32, height int32, parent syscall.Handle, menu syscall.Handle, hInstance syscall.Handle, lpParam uintptr) (hwnd syscall.Handle, err error) = user32.CreateWindowExW 24 //sys DefWindowProc(hwnd syscall.Handle, uMsg uint32, wParam uintptr, lParam uintptr) (lResult uintptr) = user32.DefWindowProcW 25 //sys DestroyWindow(hwnd syscall.Handle) (err error) = user32.DestroyWindow 26 //sys DispatchMessage(msg *_MSG) (ret int32) = user32.DispatchMessageW 27 //sys GetClientRect(hwnd syscall.Handle, rect *_RECT) (err error) = user32.GetClientRect 28 //sys GetWindowRect(hwnd syscall.Handle, rect *_RECT) (err error) = user32.GetWindowRect 29 //sys GetKeyboardLayout(threadID uint32) (locale syscall.Handle) = user32.GetKeyboardLayout 30 //sys GetKeyboardState(lpKeyState *byte) (err error) = user32.GetKeyboardState 31 //sys GetKeyState(virtkey int32) (keystatus int16) = user32.GetKeyState 32 //sys GetMessage(msg *_MSG, hwnd syscall.Handle, msgfiltermin uint32, msgfiltermax uint32) (ret int32, err error) [failretval==-1] = user32.GetMessageW 33 //sys LoadCursor(hInstance syscall.Handle, cursorName uintptr) (cursor syscall.Handle, err error) = user32.LoadCursorW 34 //sys LoadIcon(hInstance syscall.Handle, iconName uintptr) (icon syscall.Handle, err error) = user32.LoadIconW 35 //sys MoveWindow(hwnd syscall.Handle, x int32, y int32, w int32, h int32, repaint bool) (err error) = user32.MoveWindow 36 //sys PostMessage(hwnd syscall.Handle, uMsg uint32, wParam uintptr, lParam uintptr) (lResult bool) = user32.PostMessageW 37 //sys PostQuitMessage(exitCode int32) = user32.PostQuitMessage 38 //sys RegisterClass(wc *_WNDCLASS) (atom uint16, err error) = user32.RegisterClassW 39 //sys ShowWindow(hwnd syscall.Handle, cmdshow int32) (wasvisible bool) = user32.ShowWindow 40 //sys ScreenToClient(hwnd syscall.Handle, lpPoint *_POINT) (ok bool) = user32.ScreenToClient 41 //sys ToUnicodeEx(wVirtKey uint32, wScanCode uint32, lpKeyState *byte, pwszBuff *uint16, cchBuff int32, wFlags uint32, dwhkl syscall.Handle) (ret int32) = user32.ToUnicodeEx 42 //sys TranslateMessage(msg *_MSG) (done bool) = user32.TranslateMessage