com.moesol.bindings.platform_sdk.windows_api
Class PlatformSDK

java.lang.Object
  extended by com.moesol.bindings.platform_sdk.windows_api.PlatformSDK

public class PlatformSDK
extends Object


Field Summary
static int ASPECTX
           
static int ASPECTXY
           
static int ASPECTY
           
static int BITSPIXEL
           
static int CLIPCAPS
           
static int COLORRES
           
static int CURVECAPS
           
static int DRIVERVERSION
           
static int ERROR_FILE_NOT_FOUND
           
static int ERROR_INVALID_FUNCTION
           
static int ERROR_NO_MORE_ITEMS
           
static int ERROR_SUCCESS
           
static HKEY HKEY_CLASSES_ROOT
           
static HKEY HKEY_CURRENT_CONFIG
           
static HKEY HKEY_CURRENT_USER
           
static HKEY HKEY_DYN_DATA
           
static HKEY HKEY_LOCAL_MACHINE
           
static HKEY HKEY_PERFORMANCE_DATA
           
static HKEY HKEY_USERS
           
static int HORZRES
           
static int HORZSIZE
           
static int KEY_ALL_ACCESS
           
static int KEY_CREATE_LINK
           
static int KEY_CREATE_SUB_KEY
           
static int KEY_ENUMERATE_SUB_KEYS
           
static int KEY_EXECUTE
           
static int KEY_NOTIFY
           
static int KEY_QUERY_VALUE
           
static int KEY_READ
           
static int KEY_SET_VALUE
           
static int KEY_WRITE
           
static int LINECAPS
           
static int LOGPIXELSX
           
static int LOGPIXELSY
           
static int NUMBRUSHES
           
static int NUMCOLORS
           
static int NUMFONTS
           
static int NUMMARKERS
           
static int NUMPENS
           
static int NUMRESERVED
           
static int PDEVICESIZE
           
static int PLANES
           
static int POLYGONALCAPS
           
static int PROPPAGESTATUS_CLEAN
           
static int PROPPAGESTATUS_DIRTY
           
static int PROPPAGESTATUS_VALIDATE
           
static int RASTERCAPS
           
static int READ_CONTROL
           
static int REG_CREATED_NEW_KEY
           
static int REG_NOTIFY_CHANGE_ATTRIBUTES
           
static int REG_NOTIFY_CHANGE_LAST_SET
           
static int REG_NOTIFY_CHANGE_NAME
           
static int REG_NOTIFY_CHANGE_SECURITY
           
static int REG_OPENED_EXISTING_KEY
           
static int REG_OPTION_NON_VOLATILE
           
static int REG_OPTION_RESERVED
           
static int REG_OPTION_VOLATILE
           
static int RPC_E_WRONG_THREAD
           
static int SHADEBLENDCAPS
           
static int SIZEPALETTE
           
static int SM_CMOUSEBUTTONS
           
static int SM_CXBORDER
           
static int SM_CXCURSOR
           
static int SM_CXDLGFRAME
           
static int SM_CXDOUBLECLK
           
static int SM_CXFRAME
           
static int SM_CXFULLSCREEN
           
static int SM_CXHSCROLL
           
static int SM_CXHTHUMB
           
static int SM_CXICON
           
static int SM_CXICONSPACING
           
static int SM_CXMIN
           
static int SM_CXMINTRACK
           
static int SM_CXSCREEN
           
static int SM_CXSIZE
           
static int SM_CXVSCROLL
           
static int SM_CYBORDER
           
static int SM_CYCAPTION
           
static int SM_CYCURSOR
           
static int SM_CYDLGFRAME
           
static int SM_CYDOUBLECLK
           
static int SM_CYFRAME
           
static int SM_CYFULLSCREEN
           
static int SM_CYHSCROLL
           
static int SM_CYICON
           
static int SM_CYICONSPACING
           
static int SM_CYKANJIWINDOW
           
static int SM_CYMENU
           
static int SM_CYMIN
           
static int SM_CYMINTRACK
           
static int SM_CYSCREEN
           
static int SM_CYSIZE
           
static int SM_CYVSCROLL
           
static int SM_CYVTHUMB
           
static int SM_DBCSENABLED
           
static int SM_DEBUG
           
static int SM_MENUDROPALIGNMENT
           
static int SM_MOUSEPRESENT
           
static int SM_PENWINDOWS
           
static int SM_RESERVED1
           
static int SM_RESERVED2
           
static int SM_RESERVED3
           
static int SM_RESERVED4
           
static int SM_SWAPBUTTON
           
static int STANDARD_RIGHTS_ALL
           
static int STANDARD_RIGHTS_EXECUTE
           
static int STANDARD_RIGHTS_READ
           
static int STANDARD_RIGHTS_WRITE
           
static int SW_FORCEMINIMIZE
           
static int SW_HIDE
           
static int SW_MAX
           
static int SW_MAXIMIZE
           
static int SW_MINIMIZE
           
static int SW_NORMAL
           
static int SW_RESTORE
           
static int SW_SHOW
           
static int SW_SHOWDEFAULT
           
static int SW_SHOWMAXIMIZED
           
static int SW_SHOWMINIMIZED
           
static int SW_SHOWMINNOACTIVE
           
static int SW_SHOWNA
           
static int SW_SHOWNOACTIVATE
           
static int SW_SHOWNORMAL
           
static int SYNCHRONIZE
           
static int TECHNOLOGY
           
static int TEXTCAPS
           
static int VERTRES
           
static int VERTSIZE
           
static int VK_CANCEL
           
static int VK_CAPITAL
           
static int VK_CONTROL
           
static int VK_LBUTTON
           
static int VK_MBUTTON
           
static int VK_MENU
           
static int VK_RBUTTON
           
static int VK_SHIFT
           
 
Constructor Summary
PlatformSDK()
           
 
Method Summary
static int DispatchMessage(MSG msg)
          See PlatformSDK: DispatchMessage
static String FormatMessage(int lresult)
          Format a system error code into a message.
static short GetAsyncKeyState(int vKey)
          See PlatformSDK GetAsyncKeyState
static int GetCurrentDirectory(String[] out_dir)
           
static int GetDeviceCaps(HDC hdc, int nIndex)
           
static long GetDoubleClickTime()
          See PlatformSDK: GetDoubleClickTime
static int GetLastError()
           
static boolean GetMessage(MSG lpMsg, HWND hWnd, int wMsgFilterMin, int wMsgFilterMax)
          See PlatformSDK: GetMessage
static int GetSystemMetrics(int nIndex)
           
static void GetTextExtentPoint32(HDC hdc, String lpString, SIZE[] out_size)
           
static int jni_GetCurrentDirectory(String[] out_dir)
           
static boolean jni_SetCurrentDirectory(String dir)
           
static void PostMessage(HWND hWnd, int Msg, int wParam, int lParam)
          See PlatformSDK: PostMessage
static void PostMessage(HWND hWnd, int Msg, int wParam, Object lParam)
          Post a message to a window that references a java object.
static void RegCloseKey(HKEY aKey)
           
static void RegCreateKeyEx(HKEY hKey, String lpSubKey, int Reserved, String lpClass, int dwOptions, int samDesired, SECURITY_ATTRIBUTES secAttrs, HKEY[] phkResult, long[] lpdwDisposition)
          Currently this method doesn't supprot the LPSECURITY_ATTRIBUTES parameter of the actual win32 call.
static void RegDeleteKey(HKEY hKey, String subKey)
           
static void RegDeleteValue(HKEY hKey, String valueName)
           
static int RegEnumKey(HKEY hKey, int index, String[] out_name)
           
static void RegNotifyChangeKeyValue(HKEY hKey, boolean bWatchSubtree, int dwNotifyFilter, HANDLE event, boolean fAsynchronous)
           
static void RegOpenKeyEx(HKEY hKey, String subKeyName, int options, int samDesired, HKEY[] outKey)
           
static void RegQueryValue(HKEY openedKey, String subKeyName, Object[] outObject)
           
static void RegSetKeyEx(HKEY openedKey, String subKeyName, Object valueToSet)
          Deprecated. As of jSegue 1.5 replaced by RegSetValueEx(HKEY, String, Object)
static void RegSetValueEx(HKEY openedKey, String subKeyName, Object valueToSet)
           
static int SendMessage(HWND hWnd, int Msg, int wParam, int lParam)
          See PlatformSDK: SendMessage
static int SendMessage(HWND hWnd, int Msg, int wParam, Object lParam)
          See PlatformSDK: SendMessage
static boolean SetCurrentDirectory(String dir)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ERROR_SUCCESS

public static final int ERROR_SUCCESS
See Also:
Constant Field Values

ERROR_INVALID_FUNCTION

public static final int ERROR_INVALID_FUNCTION
See Also:
Constant Field Values

ERROR_FILE_NOT_FOUND

public static final int ERROR_FILE_NOT_FOUND
See Also:
Constant Field Values

ERROR_NO_MORE_ITEMS

public static final int ERROR_NO_MORE_ITEMS
See Also:
Constant Field Values

RPC_E_WRONG_THREAD

public static final int RPC_E_WRONG_THREAD
See Also:
Constant Field Values

HKEY_CLASSES_ROOT

public static final HKEY HKEY_CLASSES_ROOT

HKEY_CURRENT_USER

public static final HKEY HKEY_CURRENT_USER

HKEY_LOCAL_MACHINE

public static final HKEY HKEY_LOCAL_MACHINE

HKEY_USERS

public static final HKEY HKEY_USERS

HKEY_PERFORMANCE_DATA

public static final HKEY HKEY_PERFORMANCE_DATA

HKEY_CURRENT_CONFIG

public static final HKEY HKEY_CURRENT_CONFIG

HKEY_DYN_DATA

public static final HKEY HKEY_DYN_DATA

DRIVERVERSION

public static final int DRIVERVERSION
See Also:
Constant Field Values

TECHNOLOGY

public static final int TECHNOLOGY
See Also:
Constant Field Values

HORZSIZE

public static final int HORZSIZE
See Also:
Constant Field Values

VERTSIZE

public static final int VERTSIZE
See Also:
Constant Field Values

HORZRES

public static final int HORZRES
See Also:
Constant Field Values

VERTRES

public static final int VERTRES
See Also:
Constant Field Values

BITSPIXEL

public static final int BITSPIXEL
See Also:
Constant Field Values

PLANES

public static final int PLANES
See Also:
Constant Field Values

NUMBRUSHES

public static final int NUMBRUSHES
See Also:
Constant Field Values

NUMPENS

public static final int NUMPENS
See Also:
Constant Field Values

NUMMARKERS

public static final int NUMMARKERS
See Also:
Constant Field Values

NUMFONTS

public static final int NUMFONTS
See Also:
Constant Field Values

NUMCOLORS

public static final int NUMCOLORS
See Also:
Constant Field Values

PDEVICESIZE

public static final int PDEVICESIZE
See Also:
Constant Field Values

CURVECAPS

public static final int CURVECAPS
See Also:
Constant Field Values

LINECAPS

public static final int LINECAPS
See Also:
Constant Field Values

POLYGONALCAPS

public static final int POLYGONALCAPS
See Also:
Constant Field Values

TEXTCAPS

public static final int TEXTCAPS
See Also:
Constant Field Values

CLIPCAPS

public static final int CLIPCAPS
See Also:
Constant Field Values

RASTERCAPS

public static final int RASTERCAPS
See Also:
Constant Field Values

ASPECTX

public static final int ASPECTX
See Also:
Constant Field Values

ASPECTY

public static final int ASPECTY
See Also:
Constant Field Values

ASPECTXY

public static final int ASPECTXY
See Also:
Constant Field Values

SHADEBLENDCAPS

public static final int SHADEBLENDCAPS
See Also:
Constant Field Values

LOGPIXELSX

public static final int LOGPIXELSX
See Also:
Constant Field Values

LOGPIXELSY

public static final int LOGPIXELSY
See Also:
Constant Field Values

SIZEPALETTE

public static final int SIZEPALETTE
See Also:
Constant Field Values

NUMRESERVED

public static final int NUMRESERVED
See Also:
Constant Field Values

COLORRES

public static final int COLORRES
See Also:
Constant Field Values

STANDARD_RIGHTS_ALL

public static final int STANDARD_RIGHTS_ALL
See Also:
Constant Field Values

READ_CONTROL

public static final int READ_CONTROL
See Also:
Constant Field Values

SYNCHRONIZE

public static final int SYNCHRONIZE
See Also:
Constant Field Values

STANDARD_RIGHTS_READ

public static final int STANDARD_RIGHTS_READ
See Also:
Constant Field Values

STANDARD_RIGHTS_WRITE

public static final int STANDARD_RIGHTS_WRITE
See Also:
Constant Field Values

STANDARD_RIGHTS_EXECUTE

public static final int STANDARD_RIGHTS_EXECUTE
See Also:
Constant Field Values

KEY_QUERY_VALUE

public static final int KEY_QUERY_VALUE
See Also:
Constant Field Values

KEY_SET_VALUE

public static final int KEY_SET_VALUE
See Also:
Constant Field Values

KEY_CREATE_SUB_KEY

public static final int KEY_CREATE_SUB_KEY
See Also:
Constant Field Values

KEY_ENUMERATE_SUB_KEYS

public static final int KEY_ENUMERATE_SUB_KEYS
See Also:
Constant Field Values

KEY_NOTIFY

public static final int KEY_NOTIFY
See Also:
Constant Field Values

KEY_CREATE_LINK

public static final int KEY_CREATE_LINK
See Also:
Constant Field Values

KEY_READ

public static final int KEY_READ
See Also:
Constant Field Values

KEY_WRITE

public static final int KEY_WRITE
See Also:
Constant Field Values

KEY_EXECUTE

public static final int KEY_EXECUTE
See Also:
Constant Field Values

KEY_ALL_ACCESS

public static final int KEY_ALL_ACCESS
See Also:
Constant Field Values

REG_OPTION_RESERVED

public static final int REG_OPTION_RESERVED
See Also:
Constant Field Values

REG_OPTION_NON_VOLATILE

public static final int REG_OPTION_NON_VOLATILE
See Also:
Constant Field Values

REG_OPTION_VOLATILE

public static final int REG_OPTION_VOLATILE
See Also:
Constant Field Values

REG_CREATED_NEW_KEY

public static final int REG_CREATED_NEW_KEY
See Also:
Constant Field Values

REG_OPENED_EXISTING_KEY

public static final int REG_OPENED_EXISTING_KEY
See Also:
Constant Field Values

REG_NOTIFY_CHANGE_NAME

public static final int REG_NOTIFY_CHANGE_NAME
See Also:
Constant Field Values

REG_NOTIFY_CHANGE_ATTRIBUTES

public static final int REG_NOTIFY_CHANGE_ATTRIBUTES
See Also:
Constant Field Values

REG_NOTIFY_CHANGE_LAST_SET

public static final int REG_NOTIFY_CHANGE_LAST_SET
See Also:
Constant Field Values

REG_NOTIFY_CHANGE_SECURITY

public static final int REG_NOTIFY_CHANGE_SECURITY
See Also:
Constant Field Values

SM_CXSCREEN

public static final int SM_CXSCREEN
See Also:
Constant Field Values

SM_CYSCREEN

public static final int SM_CYSCREEN
See Also:
Constant Field Values

SM_CXVSCROLL

public static final int SM_CXVSCROLL
See Also:
Constant Field Values

SM_CYHSCROLL

public static final int SM_CYHSCROLL
See Also:
Constant Field Values

SM_CYCAPTION

public static final int SM_CYCAPTION
See Also:
Constant Field Values

SM_CXBORDER

public static final int SM_CXBORDER
See Also:
Constant Field Values

SM_CYBORDER

public static final int SM_CYBORDER
See Also:
Constant Field Values

SM_CXDLGFRAME

public static final int SM_CXDLGFRAME
See Also:
Constant Field Values

SM_CYDLGFRAME

public static final int SM_CYDLGFRAME
See Also:
Constant Field Values

SM_CYVTHUMB

public static final int SM_CYVTHUMB
See Also:
Constant Field Values

SM_CXHTHUMB

public static final int SM_CXHTHUMB
See Also:
Constant Field Values

SM_CXICON

public static final int SM_CXICON
See Also:
Constant Field Values

SM_CYICON

public static final int SM_CYICON
See Also:
Constant Field Values

SM_CXCURSOR

public static final int SM_CXCURSOR
See Also:
Constant Field Values

SM_CYCURSOR

public static final int SM_CYCURSOR
See Also:
Constant Field Values

SM_CYMENU

public static final int SM_CYMENU
See Also:
Constant Field Values

SM_CXFULLSCREEN

public static final int SM_CXFULLSCREEN
See Also:
Constant Field Values

SM_CYFULLSCREEN

public static final int SM_CYFULLSCREEN
See Also:
Constant Field Values

SM_CYKANJIWINDOW

public static final int SM_CYKANJIWINDOW
See Also:
Constant Field Values

SM_MOUSEPRESENT

public static final int SM_MOUSEPRESENT
See Also:
Constant Field Values

SM_CYVSCROLL

public static final int SM_CYVSCROLL
See Also:
Constant Field Values

SM_CXHSCROLL

public static final int SM_CXHSCROLL
See Also:
Constant Field Values

SM_DEBUG

public static final int SM_DEBUG
See Also:
Constant Field Values

SM_SWAPBUTTON

public static final int SM_SWAPBUTTON
See Also:
Constant Field Values

SM_RESERVED1

public static final int SM_RESERVED1
See Also:
Constant Field Values

SM_RESERVED2

public static final int SM_RESERVED2
See Also:
Constant Field Values

SM_RESERVED3

public static final int SM_RESERVED3
See Also:
Constant Field Values

SM_RESERVED4

public static final int SM_RESERVED4
See Also:
Constant Field Values

SM_CXMIN

public static final int SM_CXMIN
See Also:
Constant Field Values

SM_CYMIN

public static final int SM_CYMIN
See Also:
Constant Field Values

SM_CXSIZE

public static final int SM_CXSIZE
See Also:
Constant Field Values

SM_CYSIZE

public static final int SM_CYSIZE
See Also:
Constant Field Values

SM_CXFRAME

public static final int SM_CXFRAME
See Also:
Constant Field Values

SM_CYFRAME

public static final int SM_CYFRAME
See Also:
Constant Field Values

SM_CXMINTRACK

public static final int SM_CXMINTRACK
See Also:
Constant Field Values

SM_CYMINTRACK

public static final int SM_CYMINTRACK
See Also:
Constant Field Values

SM_CXDOUBLECLK

public static final int SM_CXDOUBLECLK
See Also:
Constant Field Values

SM_CYDOUBLECLK

public static final int SM_CYDOUBLECLK
See Also:
Constant Field Values

SM_CXICONSPACING

public static final int SM_CXICONSPACING
See Also:
Constant Field Values

SM_CYICONSPACING

public static final int SM_CYICONSPACING
See Also:
Constant Field Values

SM_MENUDROPALIGNMENT

public static final int SM_MENUDROPALIGNMENT
See Also:
Constant Field Values

SM_PENWINDOWS

public static final int SM_PENWINDOWS
See Also:
Constant Field Values

SM_DBCSENABLED

public static final int SM_DBCSENABLED
See Also:
Constant Field Values

SM_CMOUSEBUTTONS

public static final int SM_CMOUSEBUTTONS
See Also:
Constant Field Values

VK_LBUTTON

public static final int VK_LBUTTON
See Also:
Constant Field Values

VK_RBUTTON

public static final int VK_RBUTTON
See Also:
Constant Field Values

VK_CANCEL

public static final int VK_CANCEL
See Also:
Constant Field Values

VK_MBUTTON

public static final int VK_MBUTTON
See Also:
Constant Field Values

VK_SHIFT

public static final int VK_SHIFT
See Also:
Constant Field Values

VK_CONTROL

public static final int VK_CONTROL
See Also:
Constant Field Values

VK_MENU

public static final int VK_MENU
See Also:
Constant Field Values

VK_CAPITAL

public static final int VK_CAPITAL
See Also:
Constant Field Values

SW_HIDE

public static final int SW_HIDE
See Also:
Constant Field Values

SW_SHOWNORMAL

public static final int SW_SHOWNORMAL
See Also:
Constant Field Values

SW_NORMAL

public static final int SW_NORMAL
See Also:
Constant Field Values

SW_SHOWMINIMIZED

public static final int SW_SHOWMINIMIZED
See Also:
Constant Field Values

SW_SHOWMAXIMIZED

public static final int SW_SHOWMAXIMIZED
See Also:
Constant Field Values

SW_MAXIMIZE

public static final int SW_MAXIMIZE
See Also:
Constant Field Values

SW_SHOWNOACTIVATE

public static final int SW_SHOWNOACTIVATE
See Also:
Constant Field Values

SW_SHOW

public static final int SW_SHOW
See Also:
Constant Field Values

SW_MINIMIZE

public static final int SW_MINIMIZE
See Also:
Constant Field Values

SW_SHOWMINNOACTIVE

public static final int SW_SHOWMINNOACTIVE
See Also:
Constant Field Values

SW_SHOWNA

public static final int SW_SHOWNA
See Also:
Constant Field Values

SW_RESTORE

public static final int SW_RESTORE
See Also:
Constant Field Values

SW_SHOWDEFAULT

public static final int SW_SHOWDEFAULT
See Also:
Constant Field Values

SW_FORCEMINIMIZE

public static final int SW_FORCEMINIMIZE
See Also:
Constant Field Values

SW_MAX

public static final int SW_MAX
See Also:
Constant Field Values

PROPPAGESTATUS_DIRTY

public static final int PROPPAGESTATUS_DIRTY
See Also:
Constant Field Values

PROPPAGESTATUS_VALIDATE

public static final int PROPPAGESTATUS_VALIDATE
See Also:
Constant Field Values

PROPPAGESTATUS_CLEAN

public static final int PROPPAGESTATUS_CLEAN
See Also:
Constant Field Values
Constructor Detail

PlatformSDK

public PlatformSDK()
Method Detail

GetMessage

public static boolean GetMessage(MSG lpMsg,
                                 HWND hWnd,
                                 int wMsgFilterMin,
                                 int wMsgFilterMax)
See PlatformSDK: GetMessage

Parameters:
lpMsg -
hWnd -
wMsgFilterMin -
wMsgFilterMax -
Returns:
false if WM_QUIT was posted
Throws:
Win32Exception

DispatchMessage

public static int DispatchMessage(MSG msg)
See PlatformSDK: DispatchMessage

Parameters:
msg -
Returns:
LRESULT

PostMessage

public static void PostMessage(HWND hWnd,
                               int Msg,
                               int wParam,
                               int lParam)
See PlatformSDK: PostMessage

Parameters:
hWnd -
Msg -
wParam -
lParam -
Throws:
Win32Exception

PostMessage

public static void PostMessage(HWND hWnd,
                               int Msg,
                               int wParam,
                               Object lParam)
Post a message to a window that references a java object. Since the lifetime of the message is longer than the JNI call this method will call NewGlobalRef for the object parameter. The window receiving this message should call DeleteGlobalRef for the lParam.

Parameters:
hWnd -
Msg -
wParam -
lParam -

FormatMessage

public static String FormatMessage(int lresult)
Format a system error code into a message. The full functionality is not exposed by this method, only the conversion from error code to system error text is currently supported.

Parameters:
lresult -
Returns:
the String of the formated message.

GetAsyncKeyState

public static short GetAsyncKeyState(int vKey)
See PlatformSDK GetAsyncKeyState

Parameters:
vKey -
Returns:

GetDeviceCaps

public static int GetDeviceCaps(HDC hdc,
                                int nIndex)

GetLastError

public static int GetLastError()

GetTextExtentPoint32

public static void GetTextExtentPoint32(HDC hdc,
                                        String lpString,
                                        SIZE[] out_size)

GetSystemMetrics

public static int GetSystemMetrics(int nIndex)

RegOpenKeyEx

public static void RegOpenKeyEx(HKEY hKey,
                                String subKeyName,
                                int options,
                                int samDesired,
                                HKEY[] outKey)

RegEnumKey

public static int RegEnumKey(HKEY hKey,
                             int index,
                             String[] out_name)

RegQueryValue

public static void RegQueryValue(HKEY openedKey,
                                 String subKeyName,
                                 Object[] outObject)

RegCloseKey

public static void RegCloseKey(HKEY aKey)

RegSetKeyEx

public static void RegSetKeyEx(HKEY openedKey,
                               String subKeyName,
                               Object valueToSet)
Deprecated. As of jSegue 1.5 replaced by RegSetValueEx(HKEY, String, Object)

Parameters:
openedKey -
subKeyName -
valueToSet -

RegSetValueEx

public static void RegSetValueEx(HKEY openedKey,
                                 String subKeyName,
                                 Object valueToSet)

SetCurrentDirectory

public static boolean SetCurrentDirectory(String dir)

jni_SetCurrentDirectory

public static boolean jni_SetCurrentDirectory(String dir)

GetCurrentDirectory

public static int GetCurrentDirectory(String[] out_dir)

jni_GetCurrentDirectory

public static int jni_GetCurrentDirectory(String[] out_dir)

RegCreateKeyEx

public static void RegCreateKeyEx(HKEY hKey,
                                  String lpSubKey,
                                  int Reserved,
                                  String lpClass,
                                  int dwOptions,
                                  int samDesired,
                                  SECURITY_ATTRIBUTES secAttrs,
                                  HKEY[] phkResult,
                                  long[] lpdwDisposition)
Currently this method doesn't supprot the LPSECURITY_ATTRIBUTES parameter of the actual win32 call.


RegDeleteKey

public static void RegDeleteKey(HKEY hKey,
                                String subKey)

RegDeleteValue

public static void RegDeleteValue(HKEY hKey,
                                  String valueName)

RegNotifyChangeKeyValue

public static void RegNotifyChangeKeyValue(HKEY hKey,
                                           boolean bWatchSubtree,
                                           int dwNotifyFilter,
                                           HANDLE event,
                                           boolean fAsynchronous)

SendMessage

public static int SendMessage(HWND hWnd,
                              int Msg,
                              int wParam,
                              int lParam)
See PlatformSDK: SendMessage


SendMessage

public static int SendMessage(HWND hWnd,
                              int Msg,
                              int wParam,
                              Object lParam)
See PlatformSDK: SendMessage


GetDoubleClickTime

public static long GetDoubleClickTime()
See PlatformSDK: GetDoubleClickTime



Copyright © 2004 Moebius Solutions, Inc. All Rights Reserved.