com.github.axet.desktop.os.win.libs
Interface User32Ex

All Superinterfaces:
com.sun.jna.Library

public interface User32Ex
extends com.sun.jna.Library


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.sun.jna.Library
com.sun.jna.Library.Handler
 
Field Summary
static int COLOR_GRAYTEXT
           
static int COLOR_HIGHLIGHT
           
static int COLOR_HIGHLIGHTTEXT
           
static int COLOR_MENU
           
static int COLOR_MENUTEXT
           
static User32Ex INSTANCE
           
static int SPI_GETNONCLIENTMETRICS
           
static int WS_OVERLAPPED
           
static int WS_OVERLAPPEDWINDOW
           
 
Fields inherited from interface com.sun.jna.Library
OPTION_ALLOW_OBJECTS, OPTION_CALLING_CONVENTION, OPTION_FUNCTION_MAPPER, OPTION_INVOCATION_MAPPER, OPTION_OPEN_FLAGS, OPTION_STRUCTURE_ALIGNMENT, OPTION_TYPE_MAPPER
 
Method Summary
 boolean AppendMenu(com.sun.jna.platform.win32.WinDef.HMENU hMenu, int uFlags, int uIDNewItem, String lpNewItem)
          BOOL WINAPI AppendMenu( _In_ HMENU hMenu, _In_ UINT uFlags, _In_ UINT_PTR uIDNewItem, _In_opt_ LPCTSTR lpNewItem );
 com.sun.jna.platform.win32.WinDef.HICON CreateIconIndirect(ICONINFO piconinfo)
          HICON WINAPI CreateIconIndirect( _In_ PICONINFO piconinfo );
 com.sun.jna.platform.win32.WinDef.HMENU CreatePopupMenu()
          HMENU WINAPI CreatePopupMenu(void);
 com.sun.jna.platform.win32.WinDef.HWND CreateWindowEx(int dwExStyle, String lpClassName, String lpWindowName, int dwStyle, int x, int y, int nWidth, int nHeight, com.sun.jna.platform.win32.WinDef.HWND hWndParent, com.sun.jna.platform.win32.WinDef.HMENU hMenu, com.sun.jna.platform.win32.WinDef.HINSTANCE hInstance, com.sun.jna.platform.win32.WinNT.HANDLE lpParam)
          HWND WINAPI CreateWindowEx( _In_ DWORD dwExStyle, _In_opt_ LPCTSTR lpClassName, _In_opt_ LPCTSTR lpWindowName, _In_ DWORD dwStyle, _In_ int x, _In_ int y, _In_ int nWidth, _In_ int nHeight, _In_opt_ HWND hWndParent, _In_opt_ HMENU hMenu, _In_opt_ HINSTANCE hInstance, _In_opt_ LPVOID lpParam );
 com.sun.jna.platform.win32.WinDef.LRESULT DefWindowProc(com.sun.jna.platform.win32.WinDef.HWND hWnd, int Msg, com.sun.jna.platform.win32.WinDef.WPARAM wParam, com.sun.jna.platform.win32.WinDef.LPARAM lParam)
          LRESULT WINAPI DefWindowProc( _In_ HWND hWnd, _In_ UINT Msg, _In_ WPARAM wParam, _In_ LPARAM lParam );
 boolean DestroyMenu(com.sun.jna.platform.win32.WinDef.HMENU hMenu)
          BOOL WINAPI DestroyMenu( _In_ HMENU hMenu );
 boolean DestroyWindow(com.sun.jna.platform.win32.WinDef.HWND hWnd)
          BOOL WINAPI DestroyWindow( _In_ HWND hWnd );
 com.sun.jna.platform.win32.WinDef.HWND FindWindowEx(com.sun.jna.platform.win32.WinDef.HWND hwndParent, com.sun.jna.platform.win32.WinDef.HWND hwndChildAfter, String lpszClass, String lpszWindow)
          HWND WINAPI FindWindowEx( _In_opt_ HWND hwndParent, _In_opt_ HWND hwndChildAfter, _In_opt_ LPCTSTR lpszClass, _In_opt_ LPCTSTR lpszWindow );
 boolean GetClassInfoEx(com.sun.jna.platform.win32.WinDef.HINSTANCE hinst, String lpszClass, WNDCLASSEX.ByReference lpwcx)
          BOOL WINAPI GetClassInfoEx( _In_opt_ HINSTANCE hinst, _In_ LPCTSTR lpszClass, _Out_ LPWNDCLASSEX lpwcx );
 boolean GetMenuItemInfo(com.sun.jna.platform.win32.WinDef.HMENU hMenu, int uItem, boolean fByPosition, MENUITEMINFO lpmii)
          BOOL WINAPI GetMenuItemInfo( _In_ HMENU hMenu, _In_ UINT uItem, _In_ BOOL fByPosition, _Inout_ LPMENUITEMINFO lpmii );
 COLORREF GetSysColor(int nIndex)
          DWORD WINAPI GetSysColor( _In_ int nIndex );
 ATOM RegisterClassEx(WNDCLASSEX lpwcx)
          ATOM WINAPI RegisterClassEx( _In_ const WNDCLASSEX *lpwcx );
 int RegisterWindowMessage(String lpString)
          UINT WINAPI RegisterWindowMessage( _In_ LPCTSTR lpString );
 com.sun.jna.platform.win32.WinDef.LRESULT SendMessage(com.sun.jna.platform.win32.WinDef.HWND hWnd, int Msg, com.sun.jna.platform.win32.WinDef.WPARAM wParam, com.sun.jna.platform.win32.WinDef.LPARAM lParam)
          LRESULT WINAPI SendMessage( _In_ HWND hWnd, _In_ UINT Msg, _In_ WPARAM wParam, _In_ LPARAM lParam );
 boolean SetMenuItemBitmaps(com.sun.jna.platform.win32.WinDef.HMENU hMenu, int uPosition, int uFlags, com.sun.jna.platform.win32.WinDef.HBITMAP hBitmapUnchecked, com.sun.jna.platform.win32.WinDef.HBITMAP hBitmapChecked)
          BOOL WINAPI SetMenuItemBitmaps( _In_ HMENU hMenu, _In_ UINT uPosition, _In_ UINT uFlags, _In_opt_ HBITMAP hBitmapUnchecked, _In_opt_ HBITMAP hBitmapChecked );
 boolean SetMenuItemInfo(com.sun.jna.platform.win32.WinDef.HMENU hMenu, int uItem, boolean fByPosition, MENUITEMINFO lpmii)
          BOOL WINAPI SetMenuItemInfo( _In_ HMENU hMenu, _In_ UINT uItem, _In_ BOOL fByPosition, _In_ LPMENUITEMINFO lpmii );
 boolean SystemParametersInfo(int uiAction, int uiParam, com.sun.jna.Structure pvParam, int fWinIni)
          BOOL WINAPI SystemParametersInfo( _In_ UINT uiAction, _In_ UINT uiParam, _Inout_ PVOID pvParam, _In_ UINT fWinIni );
 boolean TrackPopupMenu(com.sun.jna.platform.win32.WinDef.HMENU hMenu, int uFlags, int x, int y, int nReserved, com.sun.jna.platform.win32.WinDef.HWND hWnd, com.sun.jna.platform.win32.WinDef.RECT prcRect)
          BOOL WINAPI TrackPopupMenu( _In_ HMENU hMenu, _In_ UINT uFlags, _In_ int x, _In_ int y, _In_ int nReserved, _In_ HWND hWnd, _In_opt_ const RECT *prcRect );
 boolean UnregisterClass(String lpClassName, com.sun.jna.platform.win32.WinDef.HINSTANCE hInstance)
          BOOL WINAPI UnregisterClass( _In_ LPCTSTR lpClassName, _In_opt_ HINSTANCE hInstance );
 

Field Detail

WS_OVERLAPPED

static final int WS_OVERLAPPED
See Also:
Constant Field Values

WS_OVERLAPPEDWINDOW

static final int WS_OVERLAPPEDWINDOW
See Also:
Constant Field Values

SPI_GETNONCLIENTMETRICS

static final int SPI_GETNONCLIENTMETRICS
See Also:
Constant Field Values

COLOR_MENU

static final int COLOR_MENU
See Also:
Constant Field Values

COLOR_MENUTEXT

static final int COLOR_MENUTEXT
See Also:
Constant Field Values

COLOR_HIGHLIGHTTEXT

static final int COLOR_HIGHLIGHTTEXT
See Also:
Constant Field Values

COLOR_HIGHLIGHT

static final int COLOR_HIGHLIGHT
See Also:
Constant Field Values

COLOR_GRAYTEXT

static final int COLOR_GRAYTEXT
See Also:
Constant Field Values

INSTANCE

static final User32Ex INSTANCE
Method Detail

CreateIconIndirect

com.sun.jna.platform.win32.WinDef.HICON CreateIconIndirect(ICONINFO piconinfo)
HICON WINAPI CreateIconIndirect( _In_ PICONINFO piconinfo );


CreateWindowEx

com.sun.jna.platform.win32.WinDef.HWND CreateWindowEx(int dwExStyle,
                                                      String lpClassName,
                                                      String lpWindowName,
                                                      int dwStyle,
                                                      int x,
                                                      int y,
                                                      int nWidth,
                                                      int nHeight,
                                                      com.sun.jna.platform.win32.WinDef.HWND hWndParent,
                                                      com.sun.jna.platform.win32.WinDef.HMENU hMenu,
                                                      com.sun.jna.platform.win32.WinDef.HINSTANCE hInstance,
                                                      com.sun.jna.platform.win32.WinNT.HANDLE lpParam)
HWND WINAPI CreateWindowEx( _In_ DWORD dwExStyle, _In_opt_ LPCTSTR lpClassName, _In_opt_ LPCTSTR lpWindowName, _In_ DWORD dwStyle, _In_ int x, _In_ int y, _In_ int nWidth, _In_ int nHeight, _In_opt_ HWND hWndParent, _In_opt_ HMENU hMenu, _In_opt_ HINSTANCE hInstance, _In_opt_ LPVOID lpParam );


RegisterClassEx

ATOM RegisterClassEx(WNDCLASSEX lpwcx)
ATOM WINAPI RegisterClassEx( _In_ const WNDCLASSEX *lpwcx );


UnregisterClass

boolean UnregisterClass(String lpClassName,
                        com.sun.jna.platform.win32.WinDef.HINSTANCE hInstance)
BOOL WINAPI UnregisterClass( _In_ LPCTSTR lpClassName, _In_opt_ HINSTANCE hInstance );


GetClassInfoEx

boolean GetClassInfoEx(com.sun.jna.platform.win32.WinDef.HINSTANCE hinst,
                       String lpszClass,
                       WNDCLASSEX.ByReference lpwcx)
BOOL WINAPI GetClassInfoEx( _In_opt_ HINSTANCE hinst, _In_ LPCTSTR lpszClass, _Out_ LPWNDCLASSEX lpwcx );


DefWindowProc

com.sun.jna.platform.win32.WinDef.LRESULT DefWindowProc(com.sun.jna.platform.win32.WinDef.HWND hWnd,
                                                        int Msg,
                                                        com.sun.jna.platform.win32.WinDef.WPARAM wParam,
                                                        com.sun.jna.platform.win32.WinDef.LPARAM lParam)
LRESULT WINAPI DefWindowProc( _In_ HWND hWnd, _In_ UINT Msg, _In_ WPARAM wParam, _In_ LPARAM lParam );


RegisterWindowMessage

int RegisterWindowMessage(String lpString)
UINT WINAPI RegisterWindowMessage( _In_ LPCTSTR lpString );


DestroyWindow

boolean DestroyWindow(com.sun.jna.platform.win32.WinDef.HWND hWnd)
BOOL WINAPI DestroyWindow( _In_ HWND hWnd );


SendMessage

com.sun.jna.platform.win32.WinDef.LRESULT SendMessage(com.sun.jna.platform.win32.WinDef.HWND hWnd,
                                                      int Msg,
                                                      com.sun.jna.platform.win32.WinDef.WPARAM wParam,
                                                      com.sun.jna.platform.win32.WinDef.LPARAM lParam)
LRESULT WINAPI SendMessage( _In_ HWND hWnd, _In_ UINT Msg, _In_ WPARAM wParam, _In_ LPARAM lParam );


CreatePopupMenu

com.sun.jna.platform.win32.WinDef.HMENU CreatePopupMenu()
HMENU WINAPI CreatePopupMenu(void);


AppendMenu

boolean AppendMenu(com.sun.jna.platform.win32.WinDef.HMENU hMenu,
                   int uFlags,
                   int uIDNewItem,
                   String lpNewItem)
BOOL WINAPI AppendMenu( _In_ HMENU hMenu, _In_ UINT uFlags, _In_ UINT_PTR uIDNewItem, _In_opt_ LPCTSTR lpNewItem );


SetMenuItemBitmaps

boolean SetMenuItemBitmaps(com.sun.jna.platform.win32.WinDef.HMENU hMenu,
                           int uPosition,
                           int uFlags,
                           com.sun.jna.platform.win32.WinDef.HBITMAP hBitmapUnchecked,
                           com.sun.jna.platform.win32.WinDef.HBITMAP hBitmapChecked)
BOOL WINAPI SetMenuItemBitmaps( _In_ HMENU hMenu, _In_ UINT uPosition, _In_ UINT uFlags, _In_opt_ HBITMAP hBitmapUnchecked, _In_opt_ HBITMAP hBitmapChecked );


DestroyMenu

boolean DestroyMenu(com.sun.jna.platform.win32.WinDef.HMENU hMenu)
BOOL WINAPI DestroyMenu( _In_ HMENU hMenu );


TrackPopupMenu

boolean TrackPopupMenu(com.sun.jna.platform.win32.WinDef.HMENU hMenu,
                       int uFlags,
                       int x,
                       int y,
                       int nReserved,
                       com.sun.jna.platform.win32.WinDef.HWND hWnd,
                       com.sun.jna.platform.win32.WinDef.RECT prcRect)
BOOL WINAPI TrackPopupMenu( _In_ HMENU hMenu, _In_ UINT uFlags, _In_ int x, _In_ int y, _In_ int nReserved, _In_ HWND hWnd, _In_opt_ const RECT *prcRect );


SetMenuItemInfo

boolean SetMenuItemInfo(com.sun.jna.platform.win32.WinDef.HMENU hMenu,
                        int uItem,
                        boolean fByPosition,
                        MENUITEMINFO lpmii)
BOOL WINAPI SetMenuItemInfo( _In_ HMENU hMenu, _In_ UINT uItem, _In_ BOOL fByPosition, _In_ LPMENUITEMINFO lpmii );


GetMenuItemInfo

boolean GetMenuItemInfo(com.sun.jna.platform.win32.WinDef.HMENU hMenu,
                        int uItem,
                        boolean fByPosition,
                        MENUITEMINFO lpmii)
BOOL WINAPI GetMenuItemInfo( _In_ HMENU hMenu, _In_ UINT uItem, _In_ BOOL fByPosition, _Inout_ LPMENUITEMINFO lpmii );


SystemParametersInfo

boolean SystemParametersInfo(int uiAction,
                             int uiParam,
                             com.sun.jna.Structure pvParam,
                             int fWinIni)
BOOL WINAPI SystemParametersInfo( _In_ UINT uiAction, _In_ UINT uiParam, _Inout_ PVOID pvParam, _In_ UINT fWinIni );


GetSysColor

COLORREF GetSysColor(int nIndex)
DWORD WINAPI GetSysColor( _In_ int nIndex );


FindWindowEx

com.sun.jna.platform.win32.WinDef.HWND FindWindowEx(com.sun.jna.platform.win32.WinDef.HWND hwndParent,
                                                    com.sun.jna.platform.win32.WinDef.HWND hwndChildAfter,
                                                    String lpszClass,
                                                    String lpszWindow)
HWND WINAPI FindWindowEx( _In_opt_ HWND hwndParent, _In_opt_ HWND hwndChildAfter, _In_opt_ LPCTSTR lpszClass, _In_opt_ LPCTSTR lpszWindow );



Copyright © 2013. All Rights Reserved.