FileDocCategorySizeDatePackage
User32.javaAPI DocExample55085Mon Apr 27 01:00:00 BST 1998com.ms.win32

User32

public class User32 extends Object

Fields Summary
Constructors Summary
Methods Summary
public static native intActivateKeyboardLayout(int hkl, int Flags)

dll.import("USER32",auto)

public static native booleanAdjustWindowRect(RECT lpRect, int dwStyle, boolean bMenu)

dll.import("USER32",auto)

public static native booleanAdjustWindowRectEx(RECT lpRect, int dwStyle, boolean bMenu, int dwExStyle)

dll.import("USER32",auto)

public static native booleanAnyPopup()

dll.import("USER32",auto)

public static native booleanAppendMenu(int hMenu, int uFlags, int uIDNewItem, java.lang.String lpNewItem)

dll.import("USER32",
auto)

public static native intArrangeIconicWindows(int hWnd)

dll.import("USER32",auto)

public static native booleanAttachThreadInput(int idAttach, int idAttachTo, boolean fAttach)

dll.import("USER32",auto)

public static native intBeginDeferWindowPos(int nNumWindows)

dll.import("USER32",auto)

public static native intBeginPaint(int hWnd, PAINTSTRUCT lpPaint)

dll.import("USER32",auto)

public static native booleanBringWindowToTop(int hWnd)

dll.import("USER32",auto)

public static native intBroadcastSystemMessage(int anonymous0, int[] anonymous1, int anonymous2, int anonymous3, int anonymous4)

dll.import("USER32",auto)

public static native booleanCallMsgFilter(MSG lpMsg, int nCode)

dll.import("USER32",auto)

public static native intCallWindowProc(com.ms.dll.Callback lpPrevWndFunc, int hWnd, int Msg, int wParam, int lParam)

dll.import("USER32",auto)

public static native shortCascadeWindows(int hwndParent, int wHow, RECT lpRect, int cKids, int[] lpKids)

dll.import("USER32",auto)

public static native booleanChangeClipboardChain(int hWndRemove, int hWndNewNext)

dll.import("USER32",auto)

public static native intChangeDisplaySettings(DEVMODE lpDevMode, int dwFlags)

dll.import("USER32",auto)

public static native intChangeDisplaySettingsEx(java.lang.String lpszDeviceName, DEVMODE lpDevMode, int hwnd, int dwflags, int lParam)

dll.import("USER32",
auto)

public static native booleanChangeMenu(int hMenu, int cmd, java.lang.String lpszNewItem, int cmdInsert, int flags)

dll.import("USER32",
auto)

public static native intCharLower(java.lang.StringBuffer lpsz)

dll.import("USER32",
auto)

public static native intCharLowerBuff(java.lang.StringBuffer lpsz, int cchLength)

dll.import("USER32",
auto)

public static native intCharNext(java.lang.String lpsz)

dll.import("USER32",
auto)

public static native intCharNextExA(short CodePage, java.lang.String lpCurrentChar, int dwFlags)

dll.import("USER32",
ansi)

public static native intCharPrev(java.lang.String lpszStart, java.lang.String lpszCurrent)

dll.import("USER32",
auto)

public static native intCharPrevExA(short CodePage, java.lang.String lpStart, java.lang.String lpCurrentChar, int dwFlags)

dll.import("USER32",
ansi)

public static native booleanCharToOem(java.lang.String lpszSrc, java.lang.StringBuffer lpszDst)

dll.import("USER32",
ansi)

public static native booleanCharToOemBuff(java.lang.String lpszSrc, java.lang.StringBuffer lpszDst, int cchDstLength)

dll.import("USER32",
ansi)

public static native intCharUpper(java.lang.StringBuffer lpsz)

dll.import("USER32",
auto)

public static native intCharUpperBuff(java.lang.StringBuffer lpsz, int cchLength)

dll.import("USER32",
auto)

public static native booleanCheckDlgButton(int hDlg, int nIDButton, int uCheck)

dll.import("USER32",auto)

public static native intCheckMenuItem(int hMenu, int uIDCheckItem, int uCheck)

dll.import("USER32",auto)

public static native booleanCheckMenuRadioItem(int anonymous0, int anonymous1, int anonymous2, int anonymous3, int anonymous4)

dll.import("USER32",auto)

public static native booleanCheckRadioButton(int hDlg, int nIDFirstButton, int nIDLastButton, int nIDCheckButton)

dll.import("USER32",auto)

public static native intChildWindowFromPoint(int hwndParent, int x, int y)

dll.import("user32",
auto)

public static native intChildWindowFromPointEx(int hwndParent, int x, int y, int uFlags)

dll.import("user32",
auto)

public static native booleanClientToScreen(int hWnd, POINT lpPoint)

dll.import("USER32",auto)

public static native booleanClipCursor(RECT lpRect)

dll.import("USER32",auto)

public static native booleanCloseClipboard()

dll.import("USER32",auto)

public static native booleanCloseDesktop(int hDesktop)

dll.import("USER32",auto)

public static native booleanCloseWindow(int hWnd)

dll.import("USER32",auto)

public static native booleanCloseWindowStation(int hWinSta)

dll.import("USER32",auto)

public static native intCopyAcceleratorTable(int hAccelSrc, ACCEL lpAccelDst, int cAccelEntries)

dll.import("USER32",auto)

public static native intCopyIcon(int hIcon)

dll.import("USER32",auto)

public static native intCopyImage(int anonymous0, int anonymous1, int anonymous2, int anonymous3, int anonymous4)

dll.import("USER32",auto)

public static native booleanCopyRect(RECT lprcDst, RECT lprcSrc)

dll.import("USER32",auto)

public static native intCountClipboardFormats()

dll.import("USER32",auto)

public static native intCreateAcceleratorTable(ACCEL anonymous0, int anonymous1)

dll.import("USER32",auto)

public static native booleanCreateCaret(int hWnd, int hBitmap, int nWidth, int nHeight)

dll.import("USER32",auto)

public static native intCreateCursor(int hInst, int xHotSpot, int yHotSpot, int nWidth, int nHeight, byte[] pvANDPlane, byte[] pvXORPlane)

dll.import("USER32",auto)

public static native intCreateDesktop(java.lang.String lpszDesktop, java.lang.String lpszDevice, DEVMODE pDevmode, int dwFlags, int dwDesiredAccess, SECURITY_ATTRIBUTES lpsa)

dll.import("USER32",
auto)

public static native intCreateDialogIndirectParam(int hInstance, DLGTEMPLATE lpTemplate, int hWndParent, com.ms.dll.Callback lpDialogFunc, int dwInitParam)

dll.import("USER32",auto)

public static native intCreateDialogParam(int hInstance, java.lang.String lpTemplateName, int hWndParent, com.ms.dll.Callback lpDialogFunc, int dwInitParam)

dll.import("USER32",
auto)

public static native intCreateIcon(int hInstance, int nWidth, int nHeight, byte cPlanes, byte cBitsPixel, byte[] lpbANDbits, byte[] lpbXORbits)

dll.import("USER32",auto)

public static native intCreateIconFromResource(int presbits, int dwResSize, boolean fIcon, int dwVer)

dll.import("USER32",auto)

public static native intCreateIconFromResourceEx(int presbits, int dwResSize, boolean fIcon, int dwVer, int cxDesired, int cyDesired, int Flags)

dll.import("USER32",auto)

public static native intCreateIconIndirect(ICONINFO piconinfo)

dll.import("USER32",auto)

public static native intCreateMDIWindow(java.lang.String lpClassName, java.lang.String lpWindowName, int dwStyle, int X, int Y, int nWidth, int nHeight, int hWndParent, int hInstance, int lParam)

dll.import("USER32",
auto)

public static native intCreateMenu()

dll.import("USER32",auto)

public static native intCreatePopupMenu()

dll.import("USER32",auto)

public static native intCreateWindowEx(int dwExStyle, java.lang.String lpClassName, java.lang.String lpWindowName, int dwStyle, int X, int Y, int nWidth, int nHeight, int hWndParent, int hMenu, int hInstance, int lpParam)

dll.import("USER32",
auto)

public static native intCreateWindowStation(java.lang.String lpwinsta, int dwReserved, int dwDesiredAccess, SECURITY_ATTRIBUTES lpsa)

dll.import("USER32",
auto)

public static native intDefDlgProc(int hDlg, int Msg, int wParam, int lParam)

dll.import("USER32",auto)

public static native intDefFrameProc(int hWnd, int hWndMDIClient, int uMsg, int wParam, int lParam)

dll.import("USER32",auto)

public static native intDefMDIChildProc(int hWnd, int uMsg, int wParam, int lParam)

dll.import("USER32",auto)

public static native intDefWindowProc(int hWnd, int Msg, int wParam, int lParam)

dll.import("USER32",auto)

public static native intDeferWindowPos(int hWinPosInfo, int hWnd, int hWndInsertAfter, int x, int y, int cx, int cy, int uFlags)

dll.import("USER32",auto)

public static native booleanDeleteMenu(int hMenu, int uPosition, int uFlags)

dll.import("USER32",auto)

public static native booleanDestroyAcceleratorTable(int hAccel)

dll.import("USER32",auto)

public static native booleanDestroyCaret()

dll.import("USER32",auto)

public static native booleanDestroyCursor(int hCursor)

dll.import("USER32",auto)

public static native booleanDestroyIcon(int hIcon)

dll.import("USER32",auto)

public static native booleanDestroyMenu(int hMenu)

dll.import("USER32",auto)

public static native booleanDestroyWindow(int hWnd)

dll.import("USER32",auto)

public static native intDialogBoxIndirectParam(int hInstance, DLGTEMPLATE hDialogTemplate, int hWndParent, com.ms.dll.Callback lpDialogFunc, int dwInitParam)

dll.import("USER32",auto)

public static native intDialogBoxParam(int hInstance, java.lang.String lpTemplateName, int hWndParent, com.ms.dll.Callback lpDialogFunc, int dwInitParam)

dll.import("USER32",
auto)

public static native intDispatchMessage(MSG lpMsg)

dll.import("USER32",auto)

public static native intDlgDirList(int hDlg, java.lang.StringBuffer lpPathSpec, int nIDListBox, int nIDStaticPath, int uFileType)

dll.import("USER32",
auto)

public static native intDlgDirListComboBox(int hDlg, java.lang.StringBuffer lpPathSpec, int nIDComboBox, int nIDStaticPath, int uFiletype)

dll.import("USER32",
auto)

public static native booleanDlgDirSelectComboBoxEx(int hDlg, java.lang.StringBuffer lpString, int nCount, int nIDComboBox)

dll.import("USER32",
auto)

public static native booleanDlgDirSelectEx(int hDlg, java.lang.StringBuffer lpString, int nCount, int nIDListBox)

dll.import("USER32",
auto)

private static native booleanDragDetect(int hWnd, int Point_x, int Point_y)

dll.import("USER32",auto)

public static native intDragObject(int anonymous0, int anonymous1, int anonymous2, int anonymous3, int anonymous4)

dll.import("USER32",auto)

public static native booleanDrawAnimatedRects(int hwnd, int idAni, RECT lprcFrom, RECT lprcTo)

dll.import("USER32",auto)

public static native booleanDrawCaption(int anonymous0, int anonymous1, RECT anonymous2, int anonymous3)

dll.import("USER32",auto)

public static native booleanDrawEdge(int hdc, RECT qrc, int edge, int grfFlags)

dll.import("USER32",auto)

public static native booleanDrawFocusRect(int hDC, RECT lprc)

dll.import("USER32",auto)

public static native booleanDrawFrameControl(int anonymous0, RECT anonymous1, int anonymous2, int anonymous3)

dll.import("USER32",auto)

public static native booleanDrawIcon(int hDC, int X, int Y, int hIcon)

dll.import("USER32",auto)

public static native booleanDrawIconEx(int hdc, int xLeft, int yTop, int hIcon, int cxWidth, int cyWidth, int istepIfAniCur, int hbrFlickerFreeDraw, int diFlags)

dll.import("USER32",auto)

public static native booleanDrawMenuBar(int hWnd)

dll.import("USER32",auto)

public static native booleanDrawState(int anonymous0, int anonymous1, com.ms.dll.Callback anonymous2, int anonymous3, int anonymous4, int anonymous5, int anonymous6, int anonymous7, int anonymous8, int anonymous9)

dll.import("USER32",auto)

public static native intDrawText(int hDC, java.lang.String lpString, int nCount, RECT lpRect, int uFormat)

dll.import("USER32",
auto)

public static native intDrawTextEx(int anonymous0, java.lang.String anonymous1, int anonymous2, RECT anonymous3, int anonymous4, DRAWTEXTPARAMS anonymous5)

dll.import("USER32",
auto)

public static native booleanEmptyClipboard()

dll.import("USER32",auto)

public static native booleanEnableMenuItem(int hMenu, int uIDEnableItem, int uEnable)

dll.import("USER32",auto)

public static native booleanEnableScrollBar(int hWnd, int wSBflags, int wArrows)

dll.import("USER32",auto)

public static native booleanEnableWindow(int hWnd, boolean bEnable)

dll.import("USER32",auto)

public static native booleanEndDeferWindowPos(int hWinPosInfo)

dll.import("USER32",auto)

public static native booleanEndDialog(int hDlg, int nResult)

dll.import("USER32",auto)

public static native booleanEndPaint(int hWnd, PAINTSTRUCT lpPaint)

dll.import("USER32",auto)

public static native booleanEnumChildWindows(int hWndParent, com.ms.dll.Callback lpEnumFunc, int lParam)

dll.import("USER32",auto)

public static native intEnumClipboardFormats(int format)

dll.import("USER32",auto)

public static native booleanEnumDesktopWindows(int hDesktop, com.ms.dll.Callback lpfn, int lParam)

dll.import("USER32",auto)

public static native booleanEnumDesktops(int hwinsta, com.ms.dll.Callback lpEnumFunc, int lParam)

dll.import("USER32",auto)

public static native booleanEnumDisplaySettings(java.lang.String lpszDeviceName, int iModeNum, DEVMODE lpDevMode)

dll.import("USER32",
auto)

public static native intEnumProps(int hWnd, com.ms.dll.Callback lpEnumFunc)

dll.import("USER32",auto)

public static native intEnumPropsEx(int hWnd, com.ms.dll.Callback lpEnumFunc, int lParam)

dll.import("USER32",auto)

public static native booleanEnumThreadWindows(int dwThreadId, com.ms.dll.Callback lpfn, int lParam)

dll.import("USER32",auto)

public static native booleanEnumWindowStations(com.ms.dll.Callback lpEnumFunc, int lParam)

dll.import("USER32",auto)

public static native booleanEnumWindows(com.ms.dll.Callback lpEnumFunc, int lParam)

dll.import("USER32",auto)

public static native booleanEqualRect(RECT lprc1, RECT lprc2)

dll.import("USER32",auto)

public static native intExcludeUpdateRgn(int hDC, int hWnd)

dll.import("USER32",auto)

public static native booleanExitWindowsEx(int uFlags, int dwReserved)

dll.import("USER32",auto)

public static native intFillRect(int hDC, RECT lprc, int hbr)

dll.import("USER32",auto)

public static native intFindWindow(java.lang.String lpClassName, java.lang.String lpWindowName)

dll.import("USER32",
auto)

public static native intFindWindowEx(int anonymous0, int anonymous1, java.lang.String anonymous2, java.lang.String anonymous3)

dll.import("USER32",
auto)

public static native booleanFlashWindow(int hWnd, boolean bInvert)

dll.import("USER32",auto)

public static native intFrameRect(int hDC, RECT lprc, int hbr)

dll.import("USER32",auto)

public static native intGetActiveWindow()

dll.import("USER32",auto)

public static native shortGetAsyncKeyState(int vKey)

dll.import("USER32",auto)

public static native intGetCapture()

dll.import("USER32",auto)

public static native intGetCaretBlinkTime()

dll.import("USER32",auto)

public static native booleanGetCaretPos(POINT lpPoint)

dll.import("USER32",auto)

public static native intGetClassLong(int hWnd, int nIndex)

dll.import("USER32",auto)

public static native intGetClassName(int hWnd, java.lang.StringBuffer lpClassName, int nMaxCount)

dll.import("USER32",
auto)

public static native shortGetClassWord(int hWnd, int nIndex)

dll.import("USER32",auto)

public static native booleanGetClientRect(int hWnd, RECT lpRect)

dll.import("USER32",auto)

public static native booleanGetClipCursor(RECT lpRect)

dll.import("USER32",auto)

public static native intGetClipboardData(int uFormat)

dll.import("USER32",auto)

public static native intGetClipboardFormatName(int format, java.lang.StringBuffer lpszFormatName, int cchMaxCount)

dll.import("USER32",
auto)

public static native intGetClipboardOwner()

dll.import("USER32",auto)

public static native intGetClipboardViewer()

dll.import("USER32",auto)

public static native intGetCursor()

dll.import("USER32",auto)

public static native booleanGetCursorPos(POINT lpPoint)

dll.import("USER32",auto)

public static native intGetDC(int hWnd)

dll.import("USER32",auto)

public static native intGetDCEx(int hWnd, int hrgnClip, int flags)

dll.import("USER32",auto)

public static native intGetDesktopWindow()

dll.import("USER32",auto)

public static native intGetDialogBaseUnits()

dll.import("USER32",auto)

public static native intGetDlgCtrlID(int hWnd)

dll.import("USER32",auto)

public static native intGetDlgItem(int hDlg, int nIDDlgItem)

dll.import("USER32",auto)

public static native intGetDlgItemInt(int hDlg, int nIDDlgItem, int lpTranslated, boolean bSigned)

dll.import("USER32",auto)

public static native intGetDlgItemText(int hDlg, int nIDDlgItem, java.lang.StringBuffer lpString, int nMaxCount)

dll.import("USER32",
auto)

public static native intGetDoubleClickTime()

dll.import("USER32",auto)

public static native intGetFocus()

dll.import("USER32",auto)

public static native intGetForegroundWindow()

dll.import("USER32",auto)

public static native booleanGetIconInfo(int hIcon, ICONINFO piconinfo)

dll.import("USER32",auto)

public static native booleanGetInputState()

dll.import("USER32",auto)

public static native intGetKBCodePage()

dll.import("USER32",auto)

public static native intGetKeyNameText(int lParam, java.lang.StringBuffer lpString, int nSize)

dll.import("USER32",
auto)

public static native shortGetKeyState(int nVirtKey)

dll.import("USER32",auto)

public static native intGetKeyboardLayout(int dwLayout)

dll.import("USER32",auto)

public static native intGetKeyboardLayoutList(int nBuff, int[] lpList)

dll.import("USER32",auto)

public static native booleanGetKeyboardLayoutName(java.lang.StringBuffer pwszKLID)

dll.import("USER32",
auto)

public static native booleanGetKeyboardState(byte[] lpKeyState)

dll.import("USER32",auto)

public static native intGetKeyboardType(int nTypeFlag)

dll.import("USER32",auto)

public static native intGetLastActivePopup(int hWnd)

dll.import("USER32",auto)

public static native intGetMenu(int hWnd)

dll.import("USER32",auto)

public static native intGetMenuCheckMarkDimensions()

dll.import("USER32",auto)

public static native intGetMenuContextHelpId(int anonymous0)

dll.import("USER32",auto)

public static native intGetMenuDefaultItem(int hMenu, int fByPos, int gmdiFlags)

dll.import("USER32",auto)

public static native intGetMenuItemCount(int hMenu)

dll.import("USER32",auto)

public static native intGetMenuItemID(int hMenu, int nPos)

dll.import("USER32",auto)

public static native booleanGetMenuItemInfo(int anonymous0, int anonymous1, boolean anonymous2, MENUITEMINFO anonymous3)

dll.import("USER32",auto)

public static native booleanGetMenuItemRect(int hWnd, int hMenu, int uItem, RECT lprcItem)

dll.import("USER32",auto)

public static native intGetMenuState(int hMenu, int uId, int uFlags)

dll.import("USER32",auto)

public static native intGetMenuString(int hMenu, int uIDItem, java.lang.StringBuffer lpString, int nMaxCount, int uFlag)

dll.import("USER32",
auto)

public static native booleanGetMessage(MSG lpMsg, int hWnd, int wMsgFilterMin, int wMsgFilterMax)

dll.import("USER32",auto)

public static native intGetMessageExtraInfo()

dll.import("USER32",auto)

public static native intGetMessagePos()

dll.import("USER32",auto)

public static native intGetMessageTime()

dll.import("USER32",auto)

public static native intGetNextDlgGroupItem(int hDlg, int hCtl, boolean bPrevious)

dll.import("USER32",auto)

public static native intGetNextDlgTabItem(int hDlg, int hCtl, boolean bPrevious)

dll.import("USER32",auto)

public static native intGetOpenClipboardWindow()

dll.import("USER32",auto)

public static native intGetParent(int hWnd)

dll.import("USER32",auto)

public static native intGetPriorityClipboardFormat(int[] paFormatPriorityList, int cFormats)

dll.import("USER32",auto)

public static native intGetProp(int hWnd, java.lang.String lpString)

dll.import("USER32",
auto)

public static native intGetQueueStatus(int flags)

dll.import("USER32",auto)

public static native booleanGetScrollInfo(int anonymous0, int anonymous1, SCROLLINFO anonymous2)

dll.import("USER32",auto)

public static native intGetScrollPos(int hWnd, int nBar)

dll.import("USER32",auto)

public static native booleanGetScrollRange(int hWnd, int nBar, int[] lpMinPos, int[] lpMaxPos)

dll.import("USER32",auto)

public static native intGetSubMenu(int hMenu, int nPos)

dll.import("USER32",auto)

public static native intGetSysColor(int nIndex)

dll.import("USER32",auto)

public static native intGetSysColorBrush(int nIndex)

dll.import("USER32",auto)

public static native intGetSystemMenu(int hWnd, boolean bRevert)

dll.import("USER32",auto)

public static native intGetSystemMetrics(int nIndex)

dll.import("USER32",auto)

public static native intGetTabbedTextExtent(int hDC, java.lang.String lpString, int nCount, int nTabPositions, int[] lpnTabStopPositions)

dll.import("USER32",
auto)

public static native intGetTopWindow(int hWnd)

dll.import("USER32",auto)

public static native booleanGetUpdateRect(int hWnd, RECT lpRect, boolean bErase)

dll.import("USER32",auto)

public static native intGetUpdateRgn(int hWnd, int hRgn, boolean bErase)

dll.import("USER32",auto)

public static native booleanGetUserObjectInformation(int hObj, int nIndex, int pvInfo, int nLength, int[] lpnLengthNeeded)

dll.import("USER32",auto)

public static native intGetWindow(int hWnd, int uCmd)

dll.import("USER32",auto)

public static native intGetWindowContextHelpId(int anonymous0)

dll.import("USER32",auto)

public static native intGetWindowDC(int hWnd)

dll.import("USER32",auto)

public static native intGetWindowLong(int hWnd, int nIndex)

dll.import("USER32",auto)

public static native booleanGetWindowPlacement(int hWnd, WINDOWPLACEMENT lpwndpl)

dll.import("USER32",auto)

public static native booleanGetWindowRect(int hWnd, RECT lpRect)

dll.import("USER32",auto)

public static native intGetWindowRgn(int hWnd, int hRgn)

dll.import("USER32",auto)

public static native intGetWindowText(int hWnd, java.lang.StringBuffer lpString, int nMaxCount)

dll.import("USER32",
auto)

public static native intGetWindowTextLength(int hWnd)

dll.import("USER32",auto)

public static native intGetWindowThreadProcessId(int hWnd, int[] lpdwProcessId)

dll.import("USER32",auto)

public static native shortGetWindowWord(int hWnd, int nIndex)

dll.import("USER32",auto)

public static native booleanGrayString(int hDC, int hBrush, com.ms.dll.Callback lpOutputFunc, int lpData, int nCount, int X, int Y, int nWidth, int nHeight)

dll.import("USER32",auto)

public static native booleanHideCaret(int hWnd)

dll.import("USER32",auto)

public static native booleanHiliteMenuItem(int hWnd, int hMenu, int uIDHiliteItem, int uHilite)

dll.import("USER32",auto)

public static native booleanInSendMessage()

dll.import("USER32",auto)

public static native booleanInflateRect(RECT lprc, int dx, int dy)

dll.import("USER32",auto)

public static native booleanInsertMenu(int hMenu, int uPosition, int uFlags, int uIDNewItem, java.lang.String lpNewItem)

dll.import("USER32",
auto)

public static native booleanInsertMenuItem(int anonymous0, int anonymous1, boolean anonymous2, MENUITEMINFO anonymous3)

dll.import("USER32",auto)

public static native booleanIntersectRect(RECT lprcDst, RECT lprcSrc1, RECT lprcSrc2)

dll.import("USER32",auto)

public static native booleanInvalidateRect(int hWnd, RECT lpRect, boolean bErase)

dll.import("USER32",auto)

public static native booleanInvalidateRgn(int hWnd, int hRgn, boolean bErase)

dll.import("USER32",auto)

public static native booleanInvertRect(int hDC, RECT lprc)

dll.import("USER32",auto)

public static native booleanIsCharAlpha(char ch)

dll.import("USER32",
auto)

public static native booleanIsCharAlphaNumeric(char ch)

dll.import("USER32",
auto)

public static native booleanIsCharLower(char ch)

dll.import("USER32",
auto)

public static native booleanIsCharUpper(char ch)

dll.import("USER32",
auto)

public static native booleanIsChild(int hWndParent, int hWnd)

dll.import("USER32",auto)

public static native booleanIsClipboardFormatAvailable(int format)

dll.import("USER32",auto)

public static native booleanIsDialogMessage(int hDlg, MSG lpMsg)

dll.import("USER32",auto)

public static native intIsDlgButtonChecked(int hDlg, int nIDButton)

dll.import("USER32",auto)

public static native booleanIsIconic(int hWnd)

dll.import("USER32",auto)

public static native booleanIsMenu(int hMenu)

dll.import("USER32",auto)

public static native booleanIsRectEmpty(RECT lprc)

dll.import("USER32",auto)

public static native booleanIsWindow(int hWnd)

dll.import("USER32",auto)

public static native booleanIsWindowEnabled(int hWnd)

dll.import("USER32",auto)

public static native booleanIsWindowUnicode(int hWnd)

dll.import("USER32",auto)

public static native booleanIsWindowVisible(int hWnd)

dll.import("USER32",auto)

public static native booleanIsZoomed(int hWnd)

dll.import("USER32",auto)

public static native booleanKillTimer(int hWnd, int uIDEvent)

dll.import("USER32",auto)

public static native intLoadAccelerators(int hInstance, int lpTableName)

dll.import("USER32",
auto)

public static native intLoadAccelerators(int hInstance, java.lang.String lpTableName)

dll.import("USER32",
auto)

public static native intLoadBitmap(int hInstance, int lpBitmapName)

dll.import("USER32",
auto)

public static native intLoadBitmap(int hInstance, java.lang.String lpBitmapName)

dll.import("USER32",
auto)

public static native intLoadCursor(int hInstance, int lpCursorName)

dll.import("USER32",
auto)

public static native intLoadCursor(int hInstance, java.lang.String lpCursorName)

dll.import("USER32",
auto)

public static native intLoadCursorFromFile(java.lang.String lpFileName)

dll.import("USER32",
auto)

public static native intLoadIcon(int hInstance, int lpIconName)

dll.import("USER32",
auto)

public static native intLoadIcon(int hInstance, java.lang.String lpIconName)

dll.import("USER32",
auto)

public static native intLoadImage(int anonymous0, java.lang.String anonymous1, int anonymous2, int anonymous3, int anonymous4, int anonymous5)

dll.import("USER32",
auto)

public static native intLoadKeyboardLayout(java.lang.String pwszKLID, int Flags)

dll.import("USER32",
auto)

public static native intLoadMenu(int hInstance, int lpMenuName)

dll.import("USER32",
auto)

public static native intLoadMenu(int hInstance, java.lang.String lpMenuName)

dll.import("USER32",
auto)

public static native intLoadMenuIndirect(int lpMenuTemplate)

dll.import("USER32",auto)

public static native intLoadString(int hInstance, int uID, java.lang.StringBuffer lpBuffer, int nBufferMax)

dll.import("USER32",
auto)

public static native booleanLockWindowUpdate(int hWndLock)

dll.import("USER32",auto)

public static native intLookupIconIdFromDirectory(int presbits, boolean fIcon)

dll.import("USER32",auto)

public static native intLookupIconIdFromDirectoryEx(int presbits, boolean fIcon, int cxDesired, int cyDesired, int Flags)

dll.import("USER32",auto)

public static native booleanMapDialogRect(int hDlg, RECT lpRect)

dll.import("USER32",auto)

public static native intMapVirtualKey(int uCode, int uMapType)

dll.import("USER32",auto)

public static native intMapVirtualKeyEx(int uCode, int uMapType, int dwhkl)

dll.import("USER32",auto)

public static native intMapWindowPoints(int hWndFrom, int hWndTo, POINT lpPoints, int cPoints)

dll.import("USER32",auto)

private static native intMenuItemFromPoint(int hWnd, int hMenu, int ptScreen_x, int ptStreen_y)

dll.import("USER32",auto)

public static native booleanMessageBeep(int uType)

dll.import("USER32",auto)

public static native intMessageBox(int hWnd, java.lang.String lpText, java.lang.String lpCaption, int uType)

dll.import("USER32",
auto)

public static native intMessageBoxEx(int hWnd, java.lang.String lpText, java.lang.String lpCaption, int uType, short wLanguageId)

dll.import("USER32",
auto)

public static native intMessageBoxIndirect(MSGBOXPARAMS anonymous0)

dll.import("USER32",auto)

public static native booleanModifyMenu(int hMnu, int uPosition, int uFlags, int uIDNewItem, java.lang.String lpNewItem)

dll.import("USER32",
auto)

public static native booleanMoveWindow(int hWnd, int X, int Y, int nWidth, int nHeight, boolean bRepaint)

dll.import("USER32",auto)

public static native intMsgWaitForMultipleObjects(int nCount, int[] pHandles, boolean fWaitAll, int dwMilliseconds, int dwWakeMask)

dll.import("USER32",auto)

public static native intMsgWaitForMultipleObjectsEx(int nCount, int[] pHandles, int dwMilliseconds, int dwWakeMask, int dwFlags)

dll.import("USER32",auto)

public static native intOemKeyScan(short wOemChar)

dll.import("USER32",auto)

public static native booleanOemToChar(java.lang.String lpszSrc, java.lang.StringBuffer lpszDst)

dll.import("USER32",
auto)

public static native booleanOemToCharBuff(java.lang.String lpszSrc, java.lang.StringBuffer lpszDst, int cchDstLength)

dll.import("USER32",
auto)

public static native booleanOffsetRect(RECT lprc, int dx, int dy)

dll.import("USER32",auto)

public static native booleanOpenClipboard(int hWndNewOwner)

dll.import("USER32",auto)

public static native intOpenDesktop(java.lang.String lpszDesktop, int dwFlags, boolean fInherit, int dwDesiredAccess)

dll.import("USER32",
auto)

public static native booleanOpenIcon(int hWnd)

dll.import("USER32",auto)

public static native intOpenInputDesktop(int dwFlags, boolean fInherit, int dwDesiredAccess)

dll.import("USER32",auto)

public static native intOpenWindowStation(java.lang.String lpszWinSta, boolean fInherit, int dwDesiredAccess)

dll.import("USER32",
auto)

public static native booleanPaintDesktop(int hdc)

dll.import("USER32",auto)

public static native booleanPeekMessage(MSG lpMsg, int hWnd, int wMsgFilterMin, int wMsgFilterMax, int wRemoveMsg)

dll.import("USER32",auto)

public static native booleanPostMessage(int hWnd, int Msg, int wParam, int lParam)

dll.import("USER32",auto)

public static native booleanPostMessage(int hWnd, int Msg, int wParam, java.lang.Object lParam)

dll.import("USER32",auto)

public static native booleanPostMessage(int hWnd, int Msg, int wParam, java.lang.String lParam)

dll.import("USER32",auto)

public static native booleanPostMessage(int hWnd, int Msg, int wParam, java.lang.StringBuffer lParam)

dll.import("USER32",auto)

public static native voidPostQuitMessage(int nExitCode)

dll.import("USER32",auto)

public static native booleanPostThreadMessage(int idThread, int Msg, int wParam, int lParam)

dll.import("USER32",auto)

private static native booleanPtInRect(RECT lprc, int pt_x, int pt_y)

dll.import("USER32",auto)

public static native booleanRedrawWindow(int hWnd, RECT lprcUpdate, int hrgnUpdate, int flags)

dll.import("USER32",auto)

public static native shortRegisterClass(WNDCLASS lpWndClass)

dll.import("USER32",auto)

public static native shortRegisterClassEx(WNDCLASSEX anonymous0)

dll.import("USER32",auto)

public static native intRegisterClipboardFormat(java.lang.String lpszFormat)

dll.import("USER32",
auto)

public static native booleanRegisterHotKey(int hWnd, int id, int fsModifiers, int vk)

dll.import("USER32",auto)

public static native intRegisterWindowMessage(java.lang.String lpString)

dll.import("USER32",
auto)

public static native booleanReleaseCapture()

dll.import("USER32",auto)

public static native intReleaseDC(int hWnd, int hDC)

dll.import("USER32",auto)

public static native booleanRemoveMenu(int hMenu, int uPosition, int uFlags)

dll.import("USER32",auto)

public static native intRemoveProp(int hWnd, java.lang.String lpString)

dll.import("USER32",
auto)

public static native booleanReplyMessage(int lResult)

dll.import("USER32",auto)

public static native booleanScreenToClient(int hWnd, POINT lpPoint)

dll.import("USER32",auto)

public static native booleanScrollDC(int hDC, int dx, int dy, RECT lprcScroll, RECT lprcClip, int hrgnUpdate, RECT lprcUpdate)

dll.import("USER32",auto)

public static native booleanScrollWindow(int hWnd, int XAmount, int YAmount, RECT lpRect, RECT lpClipRect)

dll.import("USER32",auto)

public static native intScrollWindowEx(int hWnd, int dx, int dy, RECT prcScroll, RECT prcClip, int hrgnUpdate, RECT prcUpdate, int flags)

dll.import("USER32",auto)

public static native intSendDlgItemMessage(int hDlg, int nIDDlgItem, int Msg, int wParam, int lParam)

dll.import("USER32",auto)

public static native intSendMessage(int hWnd, int Msg, int wParam, int lParam)

dll.import("USER32",auto)

public static native intSendMessage(int hWnd, int Msg, int wParam, java.lang.Object lParam)

dll.import("USER32",auto)

public static native intSendMessage(int hWnd, int Msg, int wParam, java.lang.String lParam)

dll.import("USER32",auto)

public static native intSendMessage(int hWnd, int Msg, int wParam, java.lang.StringBuffer lParam)

dll.import("USER32",auto)

public static native booleanSendMessageCallback(int hWnd, int Msg, int wParam, int lParam, com.ms.dll.Callback lpResultCallBack, int dwData)

dll.import("USER32",auto)

public static native intSendMessageTimeout(int hWnd, int Msg, int wParam, int lParam, int fuFlags, int uTimeout, int[] lpdwResult)

dll.import("USER32",auto)

public static native booleanSendNotifyMessage(int hWnd, int Msg, int wParam, int lParam)

dll.import("USER32",auto)

public static native intSetActiveWindow(int hWnd)

dll.import("USER32",auto)

public static native intSetCapture(int hWnd)

dll.import("USER32",auto)

public static native booleanSetCaretBlinkTime(int uMSeconds)

dll.import("USER32",auto)

public static native booleanSetCaretPos(int X, int Y)

dll.import("USER32",auto)

public static native intSetClassLong(int hWnd, int nIndex, int dwNewLong)

dll.import("USER32",auto)

public static native shortSetClassWord(int hWnd, int nIndex, short wNewWord)

dll.import("USER32",auto)

public static native intSetClipboardData(int uFormat, int hMem)

dll.import("USER32",auto)

public static native intSetClipboardViewer(int hWndNewViewer)

dll.import("USER32",auto)

public static native intSetCursor(int hCursor)

dll.import("USER32",auto)

public static native booleanSetCursorPos(int X, int Y)

dll.import("USER32",auto)

public static native voidSetDebugErrorLevel(int dwLevel)

dll.import("USER32",auto)

public static native booleanSetDlgItemInt(int hDlg, int nIDDlgItem, int uValue, boolean bSigned)

dll.import("USER32",auto)

public static native booleanSetDlgItemText(int hDlg, int nIDDlgItem, java.lang.String lpString)

dll.import("USER32",
auto)

public static native booleanSetDoubleClickTime(int anonymous0)

dll.import("USER32",auto)

public static native intSetFocus(int hWnd)

dll.import("USER32",auto)

public static native booleanSetForegroundWindow(int hWnd)

dll.import("USER32",auto)

public static native booleanSetKeyboardState(byte[] lpKeyState)

dll.import("USER32",auto)

public static native voidSetLastErrorEx(int dwErrCode, int dwType)

dll.import("USER32",auto)

public static native booleanSetMenu(int hWnd, int hMenu)

dll.import("USER32",auto)

public static native booleanSetMenuContextHelpId(int anonymous0, int anonymous1)

dll.import("USER32",auto)

public static native booleanSetMenuDefaultItem(int hMenu, int uItem, int fByPos)

dll.import("USER32",auto)

public static native booleanSetMenuItemBitmaps(int hMenu, int uPosition, int uFlags, int hBitmapUnchecked, int hBitmapChecked)

dll.import("USER32",auto)

public static native booleanSetMenuItemInfo(int anonymous0, int anonymous1, boolean anonymous2, MENUITEMINFO anonymous3)

dll.import("USER32",auto)

public static native intSetMessageExtraInfo(int lParam)

dll.import("USER32",auto)

public static native booleanSetMessageQueue(int cMessagesMax)

dll.import("USER32",auto)

public static native intSetParent(int hWndChild, int hWndNewParent)

dll.import("USER32",auto)

public static native booleanSetProcessWindowStation(int hWinSta)

dll.import("USER32",auto)

public static native booleanSetProp(int hWnd, java.lang.String lpString, int hData)

dll.import("USER32",
auto)

public static native booleanSetRect(RECT lprc, int xLeft, int yTop, int xRight, int yBottom)

dll.import("USER32",auto)

public static native booleanSetRectEmpty(RECT lprc)

dll.import("USER32",auto)

public static native intSetScrollInfo(int anonymous0, int anonymous1, SCROLLINFO anonymous2, boolean anonymous3)

dll.import("USER32",auto)

public static native intSetScrollPos(int hWnd, int nBar, int nPos, boolean bRedraw)

dll.import("USER32",auto)

public static native booleanSetScrollRange(int hWnd, int nBar, int nMinPos, int nMaxPos, boolean bRedraw)

dll.import("USER32",auto)

public static native booleanSetSysColors(int cElements, int[] lpaElements, int[] lpaRgbValues)

dll.import("USER32",auto)

public static native booleanSetSystemCursor(int hcur, int id)

dll.import("USER32",auto)

public static native booleanSetThreadDesktop(int hDesktop)

dll.import("USER32",auto)

public static native intSetTimer(int hWnd, int nIDEvent, int uElapse, com.ms.dll.Callback lpTimerFunc)

dll.import("USER32",auto)

public static native booleanSetUserObjectInformation(int hObj, int nIndex, int pvInfo, int nLength)

dll.import("USER32",auto)

public static native booleanSetWindowContextHelpId(int anonymous0, int anonymous1)

dll.import("USER32",auto)

public static native intSetWindowLong(int hWnd, int nIndex, int dwNewLong)

dll.import("USER32",auto)

public static native booleanSetWindowPlacement(int hWnd, WINDOWPLACEMENT lpwndpl)

dll.import("USER32",auto)

public static native booleanSetWindowPos(int hWnd, int hWndInsertAfter, int X, int Y, int cx, int cy, int uFlags)

dll.import("USER32",auto)

public static native intSetWindowRgn(int hWnd, int hRgn, boolean bRedraw)

dll.import("USER32",auto)

public static native booleanSetWindowText(int hWnd, java.lang.String lpString)

dll.import("USER32",
auto)

public static native shortSetWindowWord(int hWnd, int nIndex, short wNewWord)

dll.import("USER32",auto)

public static native booleanShowCaret(int hWnd)

dll.import("USER32",auto)

public static native intShowCursor(boolean bShow)

dll.import("USER32",auto)

public static native booleanShowOwnedPopups(int hWnd, boolean fShow)

dll.import("USER32",auto)

public static native booleanShowScrollBar(int hWnd, int wBar, boolean bShow)

dll.import("USER32",auto)

public static native booleanShowWindow(int hWnd, int nCmdShow)

dll.import("USER32",auto)

public static native booleanShowWindowAsync(int hWnd, int nCmdShow)

dll.import("USER32",auto)

public static native booleanSubtractRect(RECT lprcDst, RECT lprcSrc1, RECT lprcSrc2)

dll.import("USER32",auto)

public static native booleanSwapMouseButton(boolean fSwap)

dll.import("USER32",auto)

public static native booleanSwitchDesktop(int hDesktop)

dll.import("USER32",auto)

public static native booleanSystemParametersInfo(int uiAction, int uiParam, int[] pvParam, int fWinIni)

dll.import("USER32",auto)

public static native booleanSystemParametersInfo(int uiAction, int uiParam, ACCESSTIMEOUT pvParam, int fWinIni)

dll.import("USER32",auto)

public static native booleanSystemParametersInfo(int uiAction, int uiParam, ANIMATIONINFO pvParam, int fWinIni)

dll.import("USER32",auto)

public static native booleanSystemParametersInfo(int uiAction, int uiParam, FILTERKEYS pvParam, int fWinIni)

dll.import("USER32",auto)

private static native booleanSystemParametersInfo(int uiAction, int uiParam, java.lang.Object pvParam, int fWinIni)

dll.import("USER32",auto)

public static native booleanSystemParametersInfo(int uiAction, int uiParam, ICONMETRICS pvParam, int fWinIni)

dll.import("USER32",auto)

public static native booleanSystemParametersInfo(int uiAction, int uiParam, MINIMIZEDMETRICS pvParam, int fWinIni)

dll.import("USER32",auto)

public static native booleanSystemParametersInfo(int uiAction, int uiParam, MOUSEKEYS pvParam, int fWinIni)

dll.import("USER32",auto)

public static native booleanSystemParametersInfo(int uiAction, int uiParam, NONCLIENTMETRICS pvParam, int fWinIni)

dll.import("USER32",auto)

public static native booleanSystemParametersInfo(int uiAction, int uiParam, SERIALKEYS pvParam, int fWinIni)

dll.import("USER32",auto)

public static native booleanSystemParametersInfo(int uiAction, int uiParam, SOUNDSENTRY pvParam, int fWinIni)

dll.import("USER32",auto)

public static native booleanSystemParametersInfo(int uiAction, int uiParam, STICKYKEYS pvParam, int fWinIni)

dll.import("USER32",auto)

public static native booleanSystemParametersInfo(int uiAction, int uiParam, TOGGLEKEYS pvParam, int fWinIni)

dll.import("USER32",auto)

public static native intTabbedTextOut(int hDC, int X, int Y, java.lang.String lpString, int nCount, int nTabPositions, int[] lpnTabStopPositions, int nTabOrigin)

dll.import("USER32",
auto)

public static native shortTileWindows(int hwndParent, int wHow, RECT lpRect, int cKids, int[] lpKids)

dll.import("USER32",auto)

public static native intToAscii(int uVirtKey, int uScanCode, byte[] lpKeyState, short[] lpChar, int uFlags)

dll.import("USER32",auto)

public static native intToAsciiEx(int uVirtKey, int uScanCode, byte[] lpKeyState, short[] lpChar, int uFlags, int dwhkl)

dll.import("USER32",auto)

public static native intToUnicode(int wVirtKey, int wScanCode, byte[] lpKeyState, java.lang.StringBuffer pwszBuff, int cchBuff, int wFlags)

dll.import("USER32",
unicode)

public static native intToUnicodeEx(int wVirtKey, int wScanCode, byte[] lpKeyState, java.lang.StringBuffer pwszBuff, int cchBuff, int wFlags, int dwhkl)

dll.import("USER32",
unicode)

public static native booleanTrackMouseEvent(TRACKMOUSEEVENT lpEventTrack)

dll.import("USER32",auto)

public static native booleanTrackPopupMenu(int hMenu, int uFlags, int x, int y, int nReserved, int hWnd, RECT prcRect)

dll.import("USER32",auto)

public static native booleanTrackPopupMenuEx(int anonymous0, int anonymous1, int anonymous2, int anonymous3, int anonymous4, TPMPARAMS anonymous5)

dll.import("USER32",auto)

public static native intTranslateAccelerator(int hWnd, int hAccTable, MSG lpMsg)

dll.import("USER32",auto)

public static native booleanTranslateMDISysAccel(int hWndClient, MSG lpMsg)

dll.import("USER32",auto)

public static native booleanTranslateMessage(MSG lpMsg)

dll.import("USER32",auto)

public static native booleanUnionRect(RECT lprcDst, RECT lprcSrc1, RECT lprcSrc2)

dll.import("USER32",auto)

public static native booleanUnloadKeyboardLayout(int hkl)

dll.import("USER32",auto)

public static native booleanUnregisterClass(java.lang.String lpClassName, int hInstance)

dll.import("USER32",
auto)

public static native booleanUnregisterHotKey(int hWnd, int id)

dll.import("USER32",auto)

public static native booleanUpdateWindow(int hWnd)

dll.import("USER32",auto)

public static native booleanValidateRect(int hWnd, RECT lpRect)

dll.import("USER32",auto)

public static native booleanValidateRgn(int hWnd, int hRgn)

dll.import("USER32",auto)

public static native shortVkKeyScan(char ch)

dll.import("USER32",
auto)

public static native shortVkKeyScanEx(char ch, int dwhkl)

dll.import("USER32",
auto)

public static native intWaitForInputIdle(int hProcess, int dwMilliseconds)

dll.import("USER32",auto)

public static native booleanWaitMessage()

dll.import("USER32",auto)

public static native booleanWinHelp(int hWndMain, java.lang.String lpszHelp, int uCommand, int dwData)

dll.import("USER32",
auto)

public static native intWindowFromDC(int hDC)

dll.import("USER32",auto)

public static native intWindowFromPoint(int x, int y)

dll.import("user32",
auto)

public static native voidkeybd_event(byte bVk, byte bScan, int dwFlags, int dwExtraInfo)

dll.import("USER32",auto)

public static native voidmouse_event(int dwFlags, int dx, int dy, int dwData, int dwExtraInfo)

dll.import("USER32",auto)