Methods Summary |
---|
public static long | callback(int msg, int param1, long param2)
if ( cb == null ){
return( -1 );
}else{
return( cb.windowsMessage( msg, param1, param2 ));
}
|
public static native void | copyPermission(java.lang.String from_file_name, java.lang.String to_file_name)
|
public static native void | createProcess(java.lang.String command_line, boolean inherit_handles)
|
protected static native void | deleteKey(int type, java.lang.String subkey, boolean recursive)
|
protected static native void | deleteValue(int type, java.lang.String subkey, java.lang.String value_namae)
|
protected static native void | destroy()
|
protected static native java.lang.String | getVersion()
|
protected static native void | initialise()
|
protected static boolean | isEnabled(boolean check_if_disabled)
System.loadLibrary( PlatformManagerImpl.DLL_NAME );
if ( !check_if_disabled ){
return( true );
}
if ( enabled_set ){
return( enabled );
}
try{
// protection against something really bad in the dll
enabled = !UpdaterUtils.disableNativeCode( getVersion());
if ( !enabled ){
System.err.println( "Native code has been disabled" );
}
}finally{
enabled_set = true;
}
return( enabled );
|
protected static void | load(AEWin32AccessCallback _callback, boolean _fully_initialise)
cb = _callback;
if ( _fully_initialise ){
try{
initialise();
}catch( Throwable e ){
// get here when running 2400 java against old non-updated aereg.dll (for example)
// System.out.println( "Old aereg version, please update!" );
}
}
|
public static native void | moveToRecycleBin(java.lang.String file_name)
|
protected static native java.lang.String | readStringValue(int type, java.lang.String subkey, java.lang.String value_name)
|
protected static native int | readWordValue(int type, java.lang.String subkey, java.lang.String value_name)
|
public static native int | shellExecute(java.lang.String operation, java.lang.String file, java.lang.String parameters, java.lang.String directory, int sw_const)
|
public static native boolean | testNativeAvailability(java.lang.String name)
|
public static native void | traceRoute(int trace_id, int source_address, int target_address, int pice_mode, AEWin32AccessCallback callback)
|
protected static native void | writeStringValue(int type, java.lang.String subkey, java.lang.String value_name, java.lang.String value_value)
|
protected static native void | writeWordValue(int type, java.lang.String subkey, java.lang.String value_name, int value_value)
|