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 ;
private int nRegKey = 0 ; //Key value i.e. HKEY_CLASSES_ROOT
public String MachineName = "" ; //Machine name we want to interrogate
public String KeyName = ""; //Name of key we want to set
public String ValueName = ""; //Value of key we want to set
public String KeyValue = ""; //Value we want to set the key to
public int iResult = 1;
public native String RegDBGetKeyValueEx(String MachineName, int nRegKey,
String KeyName, String ValueName) ;
public native int RegDBSetKeyValueEx(String MachineName, int nRegKey,
String KeyName, String ValueName, String KeyValue) ;
//***********************************************************//
//関数描述:クラスの構築
//名前:Register
//入力引数:
//出力引数:
//戻り値:
//**********************************************************//
public TOrtRegister (String strPath)
{
super ();
m_strDPath = strPath;
}
public void SetNRegKey (int nLRegKey)
{
nRegKey = nLRegKey;
}