Class AEWin32AccessInterface
java.lang.Object
com.biglybt.platform.win32.access.impl.AEWin32AccessInterface
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final long
private static AEWin32AccessCallback
private static boolean
private static boolean
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic long
callback
(int msg, int param1, long param2) static void
copyPermission
(String from_file_name, String to_file_name) static void
createProcess
(String command_line, boolean inherit_handles) protected static void
protected static void
deleteValue
(int type, String subkey, String value_namae) static List
static Map
getDriveInfo
(char driveLetter) protected static String
protected static void
protected static boolean
isEnabled
(boolean check_if_disabled) protected static void
load
(AEWin32AccessCallback _callback, boolean _fully_initialise) static void
moveToRecycleBin
(String file_name) protected static String
readStringValue
(int type, String subkey, String value_name) protected static int
readWordValue
(int type, String subkey, String value_name) static int
setThreadExecutionState
(int esFLAGS) static int
shellExecute
(String operation, String file, String parameters, String directory, int sw_const) static int
shellExecuteAndWait
(String file, String parameters) static boolean
testNativeAvailability
(String name) static void
traceRoute
(int trace_id, int source_address, int target_address, int pice_mode, AEWin32AccessCallback callback) protected static void
writeStringValue
(int type, String subkey, String value_name, String value_value) protected static void
writeWordValue
(int type, String subkey, String value_name, int value_value)
-
Field Details
-
HKEY_CLASSES_ROOT
public static final int HKEY_CLASSES_ROOT- See Also:
-
HKEY_CURRENT_CONFIG
public static final int HKEY_CURRENT_CONFIG- See Also:
-
HKEY_LOCAL_MACHINE
public static final int HKEY_LOCAL_MACHINE- See Also:
-
HKEY_CURRENT_USER
public static final int HKEY_CURRENT_USER- See Also:
-
WM_QUERYENDSESSION
public static final int WM_QUERYENDSESSION- See Also:
-
WM_ENDSESSION
public static final int WM_ENDSESSION- See Also:
-
WM_POWERBROADCAST
public static final int WM_POWERBROADCAST- See Also:
-
PBT_APMQUERYSUSPEND
public static final int PBT_APMQUERYSUSPEND- See Also:
-
PBT_APMSUSPEND
public static final int PBT_APMSUSPEND- See Also:
-
PBT_APMRESUMESUSPEND
public static final int PBT_APMRESUMESUSPEND- See Also:
-
BROADCAST_QUERY_DENY
public static final long BROADCAST_QUERY_DENY- See Also:
-
ES_SYSTEM_REQUIRED
public static final int ES_SYSTEM_REQUIRED- See Also:
-
ES_DISPLAY_REQUIRED
public static final int ES_DISPLAY_REQUIRED- See Also:
-
ES_USER_PRESENT
public static final int ES_USER_PRESENT- See Also:
-
ES_AWAYMODE_REQUIRED
public static final int ES_AWAYMODE_REQUIRED- See Also:
-
ES_CONTINUOUS
public static final int ES_CONTINUOUS- See Also:
-
enabled
private static boolean enabled -
enabled_set
private static boolean enabled_set -
cb
-
-
Constructor Details
-
AEWin32AccessInterface
public AEWin32AccessInterface()
-
-
Method Details
-
isEnabled
protected static boolean isEnabled(boolean check_if_disabled) -
load
-
callback
public static long callback(int msg, int param1, long param2) -
initialise
- Throws:
AEWin32AccessExceptionImpl
-
getVersion
-
readStringValue
protected static String readStringValue(int type, String subkey, String value_name) throws AEWin32AccessExceptionImpl - Throws:
AEWin32AccessExceptionImpl
-
writeStringValue
protected static void writeStringValue(int type, String subkey, String value_name, String value_value) throws AEWin32AccessExceptionImpl - Throws:
AEWin32AccessExceptionImpl
-
readWordValue
protected static int readWordValue(int type, String subkey, String value_name) throws AEWin32AccessExceptionImpl - Throws:
AEWin32AccessExceptionImpl
-
writeWordValue
protected static void writeWordValue(int type, String subkey, String value_name, int value_value) throws AEWin32AccessExceptionImpl - Throws:
AEWin32AccessExceptionImpl
-
deleteKey
protected static void deleteKey(int type, String subkey, boolean recursive) throws AEWin32AccessExceptionImpl - Throws:
AEWin32AccessExceptionImpl
-
deleteValue
protected static void deleteValue(int type, String subkey, String value_namae) throws AEWin32AccessExceptionImpl - Throws:
AEWin32AccessExceptionImpl
-
createProcess
public static void createProcess(String command_line, boolean inherit_handles) throws AEWin32AccessException - Throws:
AEWin32AccessException
-
moveToRecycleBin
- Throws:
AEWin32AccessException
-
copyPermission
public static void copyPermission(String from_file_name, String to_file_name) throws AEWin32AccessException - Throws:
AEWin32AccessException
-
testNativeAvailability
- Throws:
AEWin32AccessException
-
traceRoute
public static void traceRoute(int trace_id, int source_address, int target_address, int pice_mode, AEWin32AccessCallback callback) throws AEWin32AccessException - Throws:
AEWin32AccessException
-
shellExecute
public static int shellExecute(String operation, String file, String parameters, String directory, int sw_const) throws AEWin32AccessExceptionImpl - Throws:
AEWin32AccessExceptionImpl
-
shellExecuteAndWait
public static int shellExecuteAndWait(String file, String parameters) throws AEWin32AccessExceptionImpl - Throws:
AEWin32AccessExceptionImpl
-
getAvailableDrives
- Throws:
AEWin32AccessExceptionImpl
-
getDriveInfo
- Throws:
AEWin32AccessExceptionImpl
-
setThreadExecutionState
public static int setThreadExecutionState(int esFLAGS)
-