Interface HomeController.User32

All Superinterfaces:
com.sun.jna.Library, com.sun.jna.platform.win32.WinDef, com.sun.jna.platform.win32.WinUser
Enclosing class:
HomeController

public static interface HomeController.User32 extends com.sun.jna.platform.win32.WinUser, com.sun.jna.Library
Interface to interact with the windows User32 library.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.sun.jna.Library

    com.sun.jna.Library.Handler

    Nested classes/interfaces inherited from interface com.sun.jna.platform.win32.WinDef

    com.sun.jna.platform.win32.WinDef.ATOM, com.sun.jna.platform.win32.WinDef.BOOL, com.sun.jna.platform.win32.WinDef.BOOLByReference, com.sun.jna.platform.win32.WinDef.BYTE, com.sun.jna.platform.win32.WinDef.CHAR, com.sun.jna.platform.win32.WinDef.CHARByReference, com.sun.jna.platform.win32.WinDef.DWORD, com.sun.jna.platform.win32.WinDef.DWORDByReference, com.sun.jna.platform.win32.WinDef.DWORDLONG, com.sun.jna.platform.win32.WinDef.HBITMAP, com.sun.jna.platform.win32.WinDef.HBRUSH, com.sun.jna.platform.win32.WinDef.HCURSOR, com.sun.jna.platform.win32.WinDef.HDC, com.sun.jna.platform.win32.WinDef.HFONT, com.sun.jna.platform.win32.WinDef.HGLRC, com.sun.jna.platform.win32.WinDef.HGLRCByReference, com.sun.jna.platform.win32.WinDef.HICON, com.sun.jna.platform.win32.WinDef.HINSTANCE, com.sun.jna.platform.win32.WinDef.HKL, com.sun.jna.platform.win32.WinDef.HMENU, com.sun.jna.platform.win32.WinDef.HMODULE, com.sun.jna.platform.win32.WinDef.HPALETTE, com.sun.jna.platform.win32.WinDef.HPEN, com.sun.jna.platform.win32.WinDef.HRGN, com.sun.jna.platform.win32.WinDef.HRSRC, com.sun.jna.platform.win32.WinDef.HWND, com.sun.jna.platform.win32.WinDef.INT_PTR, com.sun.jna.platform.win32.WinDef.LCID, com.sun.jna.platform.win32.WinDef.LONG, com.sun.jna.platform.win32.WinDef.LONGByReference, com.sun.jna.platform.win32.WinDef.LONGLONG, com.sun.jna.platform.win32.WinDef.LONGLONGByReference, com.sun.jna.platform.win32.WinDef.LPARAM, com.sun.jna.platform.win32.WinDef.LPVOID, com.sun.jna.platform.win32.WinDef.LRESULT, com.sun.jna.platform.win32.WinDef.POINT, com.sun.jna.platform.win32.WinDef.PVOID, com.sun.jna.platform.win32.WinDef.RECT, com.sun.jna.platform.win32.WinDef.SCODE, com.sun.jna.platform.win32.WinDef.SCODEByReference, com.sun.jna.platform.win32.WinDef.SHORT, com.sun.jna.platform.win32.WinDef.UCHAR, com.sun.jna.platform.win32.WinDef.UINT, com.sun.jna.platform.win32.WinDef.UINT_PTR, com.sun.jna.platform.win32.WinDef.UINTByReference, com.sun.jna.platform.win32.WinDef.ULONG, com.sun.jna.platform.win32.WinDef.ULONGByReference, com.sun.jna.platform.win32.WinDef.ULONGLONG, com.sun.jna.platform.win32.WinDef.ULONGLONGByReference, com.sun.jna.platform.win32.WinDef.USHORT, com.sun.jna.platform.win32.WinDef.USHORTByReference, com.sun.jna.platform.win32.WinDef.WORD, com.sun.jna.platform.win32.WinDef.WORDByReference, com.sun.jna.platform.win32.WinDef.WPARAM

    Nested classes/interfaces inherited from interface com.sun.jna.platform.win32.WinUser

    com.sun.jna.platform.win32.WinUser.BLENDFUNCTION, com.sun.jna.platform.win32.WinUser.COPYDATASTRUCT, com.sun.jna.platform.win32.WinUser.CWPSTRUCT, com.sun.jna.platform.win32.WinUser.FLASHWINFO, com.sun.jna.platform.win32.WinUser.GUITHREADINFO, com.sun.jna.platform.win32.WinUser.HARDWAREINPUT, com.sun.jna.platform.win32.WinUser.HDEVNOTIFY, com.sun.jna.platform.win32.WinUser.HHOOK, com.sun.jna.platform.win32.WinUser.HMONITOR, com.sun.jna.platform.win32.WinUser.HOOKPROC, com.sun.jna.platform.win32.WinUser.INPUT, com.sun.jna.platform.win32.WinUser.KBDLLHOOKSTRUCT, com.sun.jna.platform.win32.WinUser.KEYBDINPUT, com.sun.jna.platform.win32.WinUser.LASTINPUTINFO, com.sun.jna.platform.win32.WinUser.LowLevelKeyboardProc, com.sun.jna.platform.win32.WinUser.LowLevelMouseProc, com.sun.jna.platform.win32.WinUser.MONITORENUMPROC, com.sun.jna.platform.win32.WinUser.MONITORINFO, com.sun.jna.platform.win32.WinUser.MONITORINFOEX, com.sun.jna.platform.win32.WinUser.MOUSEINPUT, com.sun.jna.platform.win32.WinUser.MSG, com.sun.jna.platform.win32.WinUser.MSLLHOOKSTRUCT, com.sun.jna.platform.win32.WinUser.RAWINPUTDEVICELIST, com.sun.jna.platform.win32.WinUser.SIZE, com.sun.jna.platform.win32.WinUser.WINDOWINFO, com.sun.jna.platform.win32.WinUser.WINDOWPLACEMENT, com.sun.jna.platform.win32.WinUser.WindowProc, com.sun.jna.platform.win32.WinUser.WinEventProc, com.sun.jna.platform.win32.WinUser.WNDCLASSEX, com.sun.jna.platform.win32.WinUser.WNDENUMPROC
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     

    Fields inherited from interface com.sun.jna.Library

    OPTION_ALLOW_OBJECTS, OPTION_CALLING_CONVENTION, OPTION_CLASSLOADER, OPTION_FUNCTION_MAPPER, OPTION_INVOCATION_MAPPER, OPTION_OPEN_FLAGS, OPTION_STRING_ENCODING, OPTION_STRUCTURE_ALIGNMENT, OPTION_SYMBOL_PROVIDER, OPTION_TYPE_MAPPER

    Fields inherited from interface com.sun.jna.platform.win32.WinDef

    MAX_PATH

    Fields inherited from interface com.sun.jna.platform.win32.WinUser

    AC_SRC_ALPHA, AC_SRC_NO_ALPHA, AC_SRC_NO_PREMULT_ALPHA, AC_SRC_OVER, BS_3STATE, BS_AUTO3STATE, BS_AUTOCHECKBOX, BS_AUTORADIOBUTTON, BS_CHECKBOX, BS_DEFPUSHBUTTON, BS_GROUPBOX, BS_LEFTTEXT, BS_OWNERDRAW, BS_PUSHBOX, BS_PUSHBUTTON, BS_RADIOBUTTON, BS_TYPEMASK, BS_USERBUTTON, CCHDEVICENAME, CF_BITMAT, CF_DIB, CF_DIBV5, CF_DIF, CF_DSPBITMAP, CF_DSPENHMETAFILE, CF_DSPMETAFILEPICT, CF_DSPTEXT, CF_ENHMETAFILE, CF_GDIOBJFIRST, CF_GDIOBJLAST, CF_HDROP, CF_LOCALE, CF_METAFILEPICT, CF_OEMTEXT, CF_OWNERDISPLAY, CF_PALETTE, CF_PENDATA, CF_PRIVATEFIRST, CF_PRIVATELAST, CF_RIFF, CF_SYLK, CF_TEXT, CF_TIFF, CF_UNICODETEXT, CF_WAVE, DWL_DLGPROC, DWL_MSGRESULT, DWL_USER, EWX_FORCE, EWX_FORCEIFHUNG, EWX_HYBRID_SHUTDOWN, EWX_LOGOFF, EWX_POWEROFF, EWX_REBOOT, EWX_RESTARTAPPS, EWX_SHUTDOWN, FLASHW_ALL, FLASHW_CAPTION, FLASHW_STOP, FLASHW_TIMER, FLASHW_TIMERNOFG, FLASHW_TRAY, GA_PARENT, GA_ROOT, GA_ROOTOWNER, GCL_CBCLSEXTRA, GCL_CBWNDEXTRA, GCL_HICON, GCL_HICONSM, GCL_STYLE, GCLP_HBRBACKGROUND, GCLP_HCURSOR, GCLP_HICON, GCLP_HICONSM, GCLP_HMODULE, GCLP_MENUNAME, GCLP_WNDPROC, GCW_ATOM, GW_CHILD, GW_ENABLEDPOPUP, GW_HWNDFIRST, GW_HWNDLAST, GW_HWNDNEXT, GW_HWNDPREV, GW_OWNER, GWL_EXSTYLE, GWL_HINSTANCE, GWL_HWNDPARENT, GWL_ID, GWL_STYLE, GWL_USERDATA, GWL_WNDPROC, HWND_BROADCAST, HWND_MESSAGE, ICON_BIG, ICON_SMALL, ICON_SMALL2, IDC_APPSTARTING, IDC_ARROW, IDC_CROSS, IDC_HAND, IDC_HELP, IDC_IBEAM, IDC_NO, IDC_SIZEALL, IDC_SIZENESW, IDC_SIZENS, IDC_SIZENWSE, IDC_SIZEWE, IDC_UPARROW, IDC_WAIT, IDI_APPLICATION, IDI_ASTERISK, IDI_EXCLAMATION, IDI_HAND, IDI_QUESTION, IDI_WINLOGO, IMAGE_BITMAP, IMAGE_CURSOR, IMAGE_ENHMETAFILE, IMAGE_ICON, KL_NAMELENGTH, LR_COLOR, LR_COPYDELETEORG, LR_COPYFROMRESOURCE, LR_COPYRETURNORG, LR_CREATEDIBSECTION, LR_DEFAULTCOLOR, LR_DEFAULTSIZE, LR_LOADFROMFILE, LR_LOADMAP3DCOLORS, LR_LOADTRANSPARENT, LR_MONOCHROME, LR_SHARED, LR_VGACOLOR, LWA_ALPHA, LWA_COLORKEY, MAPVK_VK_TO_CHAR, MAPVK_VK_TO_VSC, MAPVK_VK_TO_VSC_EX, MAPVK_VSC_TO_VK, MAPVK_VSC_TO_VK_EX, MOD_ALT, MOD_CONTROL, MOD_NOREPEAT, MOD_SHIFT, MOD_WIN, MODIFIER_ALT_MASK, MODIFIER_CTRL_MASK, MODIFIER_HANKAKU_MASK, MODIFIER_RESERVED1_MASK, MODIFIER_RESERVED2_MASK, MODIFIER_SHIFT_MASK, MONITOR_DEFAULTTONEAREST, MONITOR_DEFAULTTONULL, MONITOR_DEFAULTTOPRIMARY, MONITORINFOF_PRIMARY, RDW_ALLCHILDREN, RDW_ERASE, RDW_ERASENOW, RDW_FRAME, RDW_INTERNALPAINT, RDW_INVALIDATE, RDW_NOCHILDREN, RDW_NOERASE, RDW_NOFRAME, RDW_NOINTERNALPAINT, RDW_UPDATENOW, RDW_VALIDATE, RIM_TYPEHID, RIM_TYPEKEYBOARD, RIM_TYPEMOUSE, SC_MAXIMIZE, SC_MINIMIZE, SM_ARRANGE, SM_CARETBLINKINGENABLED, SM_CLEANBOOT, SM_CMONITORS, SM_CMOUSEBUTTONS, SM_CXBORDER, SM_CXCURSOR, SM_CXDLGFRAME, SM_CXDOUBLECLK, SM_CXDRAG, SM_CXEDGE, SM_CXFIXEDFRAME, SM_CXFOCUSBORDER, SM_CXFRAME, SM_CXFULLSCREEN, SM_CXHSCROLL, SM_CXHTHUMB, SM_CXICON, SM_CXICONSPACING, SM_CXMAXIMIZED, SM_CXMAXTRACK, SM_CXMENUCHECK, SM_CXMENUSIZE, SM_CXMIN, SM_CXMINIMIZED, SM_CXMINSPACING, SM_CXMINTRACK, SM_CXPADDEDBORDER, SM_CXSCREEN, SM_CXSIZE, SM_CXSIZEFRAME, SM_CXSMICON, SM_CXSMSIZE, SM_CXVIRTUALSCREEN, SM_CXVSCROLL, SM_CYBORDER, SM_CYCAPTION, SM_CYCURSOR, SM_CYDLGFRAME, SM_CYDOUBLECLK, SM_CYDRAG, SM_CYEDGE, SM_CYFIXEDFRAME, SM_CYFOCUSBORDER, SM_CYFRAME, SM_CYFULLSCREEN, SM_CYHSCROLL, SM_CYICON, SM_CYICONSPACING, SM_CYKANJIWINDOW, SM_CYMAXIMIZED, SM_CYMAXTRACK, SM_CYMENU, SM_CYMENUCHECK, SM_CYMENUSIZE, SM_CYMIN, SM_CYMINIMIZED, SM_CYMINSPACING, SM_CYMINTRACK, SM_CYSCREEN, SM_CYSIZE, SM_CYSIZEFRAME, SM_CYSMCAPTION, SM_CYSMICON, SM_CYSMSIZE, SM_CYVIRTUALSCREEN, SM_CYVSCROLL, SM_CYVTHUMB, SM_DBCSENABLED, SM_DEBUG, SM_IMMENABLED, SM_MEDIACENTER, SM_MENUDROPALIGNMENT, SM_MIDEASTENABLED, SM_MOUSEHORIZONTALWHEELPRESENT, SM_MOUSEPRESENT, SM_MOUSEWHEELPRESENT, SM_NETWORK, SM_PENWINDOWS, SM_REMOTECONTROL, SM_REMOTESESSION, SM_RESERVED1, SM_RESERVED2, SM_RESERVED3, SM_RESERVED4, SM_SAMEDISPLAYFORMAT, SM_SECURE, SM_SERVERR2, SM_SHOWSOUNDS, SM_SHUTTINGDOWN, SM_SLOWMACHINE, SM_STARTER, SM_SWAPBUTTON, SM_TABLETPC, SM_XVIRTUALSCREEN, SM_YVIRTUALSCREEN, SMTO_ABORTIFHUNG, SMTO_BLOCK, SMTO_ERRORONEXIT, SMTO_NORMAL, SMTO_NOTIMEOUTIFNOTHUNG, SW_FORCEMINIMIZE, SW_HIDE, SW_MAX, SW_MAXIMIZE, SW_MINIMIZE, SW_NORMAL, SW_RESTORE, SW_SHOW, SW_SHOWDEFAULT, SW_SHOWMAXIMIZED, SW_SHOWMINIMIZED, SW_SHOWMINNOACTIVE, SW_SHOWNA, SW_SHOWNOACTIVATE, SW_SHOWNORMAL, SWP_ASYNCWINDOWPOS, SWP_DEFERERASE, SWP_DRAWFRAME, SWP_FRAMECHANGED, SWP_HIDEWINDOW, SWP_NOACTIVATE, SWP_NOCOPYBITS, SWP_NOMOVE, SWP_NOOWNERZORDER, SWP_NOREDRAW, SWP_NOREPOSITION, SWP_NOSENDCHANGING, SWP_NOSIZE, SWP_NOZORDER, SWP_SHOWWINDOW, ULW_ALPHA, ULW_COLORKEY, ULW_OPAQUE, VK_CONTROL, VK_LCONTROL, VK_LMENU, VK_LSHIFT, VK_MENU, VK_RCONTROL, VK_RMENU, VK_RSHIFT, VK_SHIFT, WH_CALLWNDPROC, WH_KEYBOARD, WH_KEYBOARD_LL, WH_MOUSE, WH_MOUSE_LL, WM_CHAR, WM_CLOSE, WM_COPYDATA, WM_CREATE, WM_DESTROY, WM_DEVICECHANGE, WM_DRAWITEM, WM_GETICON, WM_HOTKEY, WM_KEYDOWN, WM_KEYUP, WM_MDIMAXIMIZE, WM_PAINT, WM_QUIT, WM_SESSION_CHANGE, WM_SHOWWINDOW, WM_SIZE, WM_SYSCOMMAND, WM_SYSKEYDOWN, WM_SYSKEYUP, WM_USER, WS_BORDER, WS_CAPTION, WS_CHILD, WS_CHILDWINDOW, WS_CLIPCHILDREN, WS_CLIPSIBLINGS, WS_DISABLED, WS_DLGFRAME, WS_EX_COMPOSITED, WS_EX_LAYERED, WS_EX_TRANSPARENT, WS_GROUP, WS_HSCROLL, WS_ICONIC, WS_MAXIMIZE, WS_MAXIMIZEBOX, WS_MINIMIZE, WS_MINIMIZEBOX, WS_OVERLAPPED, WS_OVERLAPPEDWINDOW, WS_POPUP, WS_POPUPWINDOW, WS_SIZEBOX, WS_SYSMENU, WS_TABSTOP, WS_THICKFRAME, WS_TILED, WS_TILEDWINDOW, WS_VISIBLE, WS_VSCROLL
  • Method Summary

    Modifier and Type
    Method
    Description
    com.sun.jna.platform.win32.WinDef.HWND
     
    int
    GetWindowTextA(com.sun.jna.platform.win32.WinDef.HWND hWnd, byte[] lpString, int nMaxCount)
     
  • Field Details

  • Method Details

    • GetForegroundWindow

      com.sun.jna.platform.win32.WinDef.HWND GetForegroundWindow()
    • GetWindowTextA

      int GetWindowTextA(com.sun.jna.platform.win32.WinDef.HWND hWnd, byte[] lpString, int nMaxCount)