Package com.sun.jna.platform.win32
Class User32Util
java.lang.Object
com.sun.jna.platform.win32.User32Util
Provides convenient usage of functions defined by 
User32.dll.- Author:
- Ralf HAMBERGER, Markus KARG (markus[at]headcrashing[dot]eu)
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classHelper class, that runs a windows message loop as a seperate thread.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionSet ofWin32VKmembers that can be mapped to a UniCode code point via a keyboard layout.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic final WinDef.HWNDcreateWindow(String className, String windowName, int style, int x, int y, int width, int height, WinDef.HWND parent, WinDef.HMENU menu, WinDef.HINSTANCE instance, WinDef.LPVOID param) static final WinDef.HWNDcreateWindowEx(int exStyle, String className, String windowName, int style, int x, int y, int width, int height, WinDef.HWND parent, WinDef.HMENU menu, WinDef.HINSTANCE instance, WinDef.LPVOID param) static final voiddestroyWindow(WinDef.HWND hWnd) static final List<WinUser.RAWINPUTDEVICELIST>static StringloadString(String location) Load a string value from the string table of an executable.static final intregisterWindowMessage(String lpString) 
- 
Field Details- 
WIN32VK_MAPPABLESet ofWin32VKmembers that can be mapped to a UniCode code point via a keyboard layout.
 
- 
- 
Constructor Details- 
User32Utilpublic User32Util()
 
- 
- 
Method Details- 
registerWindowMessage
- 
createWindowpublic static final WinDef.HWND createWindow(String className, String windowName, int style, int x, int y, int width, int height, WinDef.HWND parent, WinDef.HMENU menu, WinDef.HINSTANCE instance, WinDef.LPVOID param) 
- 
createWindowExpublic static final WinDef.HWND createWindowEx(int exStyle, String className, String windowName, int style, int x, int y, int width, int height, WinDef.HWND parent, WinDef.HMENU menu, WinDef.HINSTANCE instance, WinDef.LPVOID param) 
- 
destroyWindow
- 
GetRawInputDeviceList
- 
loadStringLoad a string value from the string table of an executable.- Parameters:
- location- the location, eg. %SystemRoot%\system32\input.dll,-5011
- Returns:
- the string located at the designated location
- Throws:
- UnsupportedEncodingException
 
 
-