?? getkey.java~2~
字號:
package com.xjt.nlp.word;
// Class to read a registry key from a local or remote machine
public class GetKey{
int RegKey ; //Key value i.e. HKEY_CLASSES_ROOT
String MachineName ; //Machine name we want to interrogate
String KeyName ; //Name of key we want to read
String ValueName ; //Value of key we want to read
String KeyValue ; //Return value from key
public native String RegDBGetKeyValueEx(String MachineName, int RegKey,
String KeyName, String ValueName) ;
public static final int HKEY_CLASSES_ROOT = 0x80000000 ;
public static final int HKEY_CURRENT_USER = 0x80000001 ;
public static final int HKEY_LOCAL_MACHINE = 0x80000002 ;
public static final int HKEY_USERS = 0x80000003 ;
public static final int HKEY_CURRENT_CONFIG = 0x80000005 ;
public static final int HKEY_DYN_DATA = 0x80000006 ;
static
{
System.loadLibrary("RegConnect") ;
// System.load("D:\\Soft\\IBM\\RegConnect\\Debug\\RegConnect") ;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -