Logo Search packages:      
Sourcecode: libjna-java version File versions  Download package

com::sun::jna::examples::win32::User32 Interface Reference

Inheritance diagram for com::sun::jna::examples::win32::User32:

com::sun::jna::examples::win32::W32API com::sun::jna::win32::StdCallLibrary com::sun::jna::Library com::sun::jna::win32::StdCall com::sun::jna::AltCallingConvention

List of all members.


Detailed Description

Provides access to the w32 user32 library. Incomplete implementation to support demos.

Author:
Todd Fast, todd.fast@sun.com

twall@users.sf.net

Definition at line 28 of file User32.java.


Public Member Functions

LRESULT CallNextHookEx (HHOOK hhk, int nCode, WPARAM wParam, Pointer lParam)
LRESULT CallNextHookEx (HHOOK hhk, int nCode, WPARAM wParam, LPARAM lParam)
boolean DestroyIcon (HICON hicon)
LRESULT DispatchMessage (MSG lpMsg)
boolean EnumThreadWindows (int dwThreadId, WNDENUMPROC lpEnumFunc, Pointer data)
boolean EnumWindows (WNDENUMPROC lpEnumFunc, Pointer data)
HWND FindWindow (String winClass, String title)
boolean FlashWindowEx (FLASHWINFO info)
short GetAsyncKeyState (int vKey)
int GetClassName (HWND hWnd, byte[] lpClassName, int nMaxCount)
HDC GetDC (HWND hWnd)
boolean GetGUIThreadInfo (int idThread, GUITHREADINFO lpgui)
boolean GetKeyboardState (byte[] state)
boolean GetLayeredWindowAttributes (HWND hwnd, IntByReference pcrKey, ByteByReference pbAlpha, IntByReference pdwFlags)
int GetMessage (MSG lpMsg, HWND hWnd, int wMsgFilterMin, int wMsgFilterMax)
boolean GetWindowInfo (HWND hWnd, WINDOWINFO pwi)
int GetWindowLong (HWND hWnd, int nIndex)
LONG_PTR GetWindowLongPtr (HWND hWnd, int nIndex)
int GetWindowModuleFileName (HWND hWnd, byte[] lpszFileName, int cchFileNameMax)
boolean GetWindowRect (HWND hWnd, RECT rect)
int GetWindowText (HWND hWnd, byte[] lpString, int nMaxCount)
int GetWindowTextLength (HWND hWnd)
int GetWindowThreadProcessId (HWND hWnd, IntByReference lpdwProcessId)
HICON LoadIcon (HINSTANCE hInstance, String iconName)
HANDLE LoadImage (HINSTANCE hinst, String name, int type, int xDesired, int yDesired, int load)
boolean PeekMessage (MSG lpMsg, HWND hWnd, int wMsgFilterMin, int wMsgFilterMax, int wRemoveMsg)
void PostMessage (HWND hWnd, int msg, WPARAM wParam, LPARAM lParam)
void PostQuitMessage (int nExitCode)
int ReleaseDC (HWND hWnd, HDC hDC)
boolean SetLayeredWindowAttributes (HWND hwnd, int crKey, byte bAlpha, int dwFlags)
Pointer SetWindowLong (HWND hWnd, int nIndex, Pointer dwNewLong)
int SetWindowLong (HWND hWnd, int nIndex, int dwNewLong)
Pointer SetWindowLongPtr (HWND hWnd, int nIndex, Pointer dwNewLongPtr)
LONG_PTR SetWindowLongPtr (HWND hWnd, int nIndex, LONG_PTR dwNewLongPtr)
int SetWindowRgn (HWND hWnd, HRGN hRgn, boolean bRedraw)
HHOOK SetWindowsHookEx (int idHook, HOOKPROC lpfn, HINSTANCE hMod, int dwThreadId)
boolean TranslateMessage (MSG lpMsg)
boolean UnhookWindowsHookEx (HHOOK hhk)
boolean UpdateLayeredWindow (HWND hwnd, HDC hdcDst, POINT pptDst, SIZE psize, HDC hdcSrc, POINT pptSrc, int crKey, BLENDFUNCTION pblend, int dwFlags)

Public Attributes

int AC_SRC_ALPHA = 0x01
int AC_SRC_NO_ALPHA = 0x02
int AC_SRC_NO_PREMULT_ALPHA = 0x01
int AC_SRC_OVER = 0x00
Map ASCII_OPTIONS
Map DEFAULT_OPTIONS = Boolean.getBoolean("w32.ascii") ? ASCII_OPTIONS : UNICODE_OPTIONS
int DWL_DLGPROC = 4
int DWL_MSGRESULT = 0
int DWL_USER = 8
int ERROR_FILE_NOT_FOUND = 2
int ERROR_INVALID_FUNCTION = 1
int ERROR_PATH_NOT_FOUND = 3
int FLASHW_ALL = (FLASHW_CAPTION|FLASHW_TRAY)
int FLASHW_CAPTION = 1
int FLASHW_STOP = 0
int FLASHW_TIMER = 4
int FLASHW_TIMERNOFG = 12
int FLASHW_TRAY = 2
FunctionMapper FUNCTION_MAPPER = new StdCallFunctionMapper()
int GWL_EXSTYLE = -20
int GWL_HINSTANCE = -6
int GWL_ID = -12
int GWL_STYLE = -16
int GWL_USERDATA = -21
int GWL_WNDPROC = -4
HWND HWND_BROADCAST
int IMAGE_BITMAP = 0
int IMAGE_CURSOR = 2
int IMAGE_ENHMETAFILE = 3
int IMAGE_ICON = 1
HANDLE INVALID_HANDLE_VALUE
int LR_COLOR = 0x0002
int LR_COPYDELETEORG = 0x0008
int LR_COPYFROMRESOURCE = 0x4000
int LR_COPYRETURNORG = 0x0004
int LR_CREATEDIBSECTION = 0x2000
int LR_DEFAULTCOLOR = 0x0000
int LR_DEFAULTSIZE = 0x0040
int LR_LOADFROMFILE = 0x0010
int LR_LOADMAP3DCOLORS = 0x1000
int LR_LOADTRANSPARENT = 0x0020
int LR_MONOCHROME = 0x0001
int LR_SHARED = 0x8000
int LR_VGACOLOR = 0x0080
int LWA_ALPHA = 2
int LWA_COLORKEY = 1
String OPTION_FUNCTION_MAPPER = "function-mapper"
String OPTION_INVOCATION_MAPPER = "invocation-mapper"
String OPTION_STRUCTURE_ALIGNMENT = "structure-alignment"
int ULW_ALPHA = 2
int ULW_COLORKEY = 1
int ULW_OPAQUE = 4
int VK_CONTROL = 17
int VK_LCONTROL = 0xA2
int VK_LMENU = 0xA4
int VK_LSHIFT = 0xA0
int VK_MENU = 18
int VK_RCONTROL = 0xA3
int VK_RMENU = 0xA5
int VK_RSHIFT = 0xA1
int VK_SHIFT = 16
int WH_KEYBOARD = 2
int WH_KEYBOARD_LL = 13
int WH_MOUSE = 7
int WH_MOUSE_LL = 14
int WM_KEYDOWN = 256
int WM_KEYUP = 257
int WM_SYSKEYDOWN = 260
int WM_SYSKEYUP = 261
int WS_EX_COMPOSITED = 0x20000000
int WS_EX_LAYERED = 0x80000
int WS_EX_TRANSPARENT = 32

Package Attributes

User32 INSTANCE
int NO_ERROR = 0
String OPTION_TYPE_MAPPER = "type-mapper"
int STDCALL_CONVENTION = Function.ALT_CONVENTION
Map UNICODE_OPTIONS

Classes

class  BLENDFUNCTION
class  FLASHWINFO
class  GUITHREADINFO
class  HHOOK
interface  HOOKPROC
class  KBDLLHOOKSTRUCT
interface  LowLevelKeyboardProc
class  MSG
class  POINT
class  SIZE
class  WINDOWINFO
interface  WNDENUMPROC

The documentation for this interface was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index