Package com.sun.jna.platform.win32
Class User32Util
- java.lang.Object
- 
- com.sun.jna.platform.win32.User32Util
 
- 
 public final class User32Util extends java.lang.ObjectProvides convenient usage of functions defined byUser32.dll.- Author:
- Ralf HAMBERGER, Markus KARG (markus[at]headcrashing[dot]eu)
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classUser32Util.MessageLoopThreadHelper class, that runs a windows message loop as a seperate thread.
 - 
Field SummaryFields Modifier and Type Field Description static java.util.EnumSet<Win32VK>WIN32VK_MAPPABLESet ofWin32VKmembers that can be mapped to a UniCode code point via a keyboard layout.
 - 
Constructor SummaryConstructors Constructor Description User32Util()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static WinDef.HWNDcreateWindow(java.lang.String className, java.lang.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 WinDef.HWNDcreateWindowEx(int exStyle, java.lang.String className, java.lang.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 voiddestroyWindow(WinDef.HWND hWnd)static java.util.List<WinUser.RAWINPUTDEVICELIST>GetRawInputDeviceList()static java.lang.StringloadString(java.lang.String location)Load a string value from the string table of an executable.static intregisterWindowMessage(java.lang.String lpString)
 
- 
- 
- 
Method Detail- 
registerWindowMessagepublic static final int registerWindowMessage(java.lang.String lpString) 
 - 
createWindowpublic static final WinDef.HWND createWindow(java.lang.String className, java.lang.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, java.lang.String className, java.lang.String windowName, int style, int x, int y, int width, int height, WinDef.HWND parent, WinDef.HMENU menu, WinDef.HINSTANCE instance, WinDef.LPVOID param) 
 - 
destroyWindowpublic static final void destroyWindow(WinDef.HWND hWnd) 
 - 
GetRawInputDeviceListpublic static final java.util.List<WinUser.RAWINPUTDEVICELIST> GetRawInputDeviceList() 
 - 
loadStringpublic static java.lang.String loadString(java.lang.String location) throws java.io.UnsupportedEncodingExceptionLoad 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:
- java.io.UnsupportedEncodingException
 
 
- 
 
-