void savegroup3(TCHAR *value) { OpenRegistry(); if (hkDefault)SaveString(hkDefault, "group3", value); CloseRegistry(); }
void savelocdom3(LONG value) { OpenRegistry(); if (hkDefault)SaveInt(hkDefault, "locdom3", value); CloseRegistry(); }
LONG Readlocdom3(LONG returnvalue) { OpenRegistry(); if (hkDefault) returnvalue=LoadInt(hkDefault, "locdom3",returnvalue); CloseRegistry(); return returnvalue; }
TCHAR* Readgroup3() { TCHAR *value=NULL; OpenRegistry(); if (hkDefault) value=LoadString (hkDefault, "group3"); CloseRegistry(); return value; }
void vncSetAuth::savegroup3(TCHAR *value) { if (m_fUseRegistry) { OpenRegistry(); if (hkDefault)SaveString(hkDefault, "group3", value); CloseRegistry(); } else { SaveString(hkDefault, "group3", value); } }
void vncSetAuth::savelocdom3(LONG value) { if (m_fUseRegistry) { OpenRegistry(); if (hkDefault)SaveInt(hkDefault, "locdom3", value); CloseRegistry(); } else { SaveInt(hkDefault, "locdom3", value); } }
void savegroup3(TCHAR *value) { IniFile myIniFile; BOOL fUseRegistry = ((myIniFile.ReadInt("admin", "UseRegistry", 0) == 1) ? TRUE : FALSE); if (fUseRegistry) { OpenRegistry(); if (hkDefault)SaveString(hkDefault, "group3", value); CloseRegistry(); } else { SaveString(hkDefault, "group3", value); } }
LONG vncSetAuth::Readlocdom3(LONG returnvalue) { if (m_fUseRegistry) { OpenRegistry(); if (hkDefault) returnvalue=LoadInt(hkDefault, "locdom3",returnvalue); CloseRegistry(); return returnvalue; } else { returnvalue=LoadInt(hkDefault, "locdom3",returnvalue); return returnvalue; } }
void savelocdom3(LONG value) { IniFile myIniFile; BOOL fUseRegistry = ((myIniFile.ReadInt("admin", "UseRegistry", 0) == 1) ? TRUE : FALSE); if (fUseRegistry) { OpenRegistry(); if (hkDefault)SaveInt(hkDefault, "locdom3", value); CloseRegistry(); } else { SaveInt(hkDefault, "locdom3", value); } }
LONG Readlocdom3(LONG returnvalue) { IniFile myIniFile; BOOL fUseRegistry = ((myIniFile.ReadInt("admin", "UseRegistry", 0) == 1) ? TRUE : FALSE); if (fUseRegistry) { OpenRegistry(); if (hkDefault) returnvalue=LoadInt(hkDefault, "locdom3",returnvalue); CloseRegistry(); return returnvalue; } else { returnvalue=LoadInt(hkDefault, "locdom3",returnvalue); return returnvalue; } }
TCHAR* vncSetAuth::Readgroup3() { if (m_fUseRegistry) { TCHAR *value=NULL; OpenRegistry(); if (hkDefault) value=LoadString (hkDefault, "group3"); CloseRegistry(); return value; } else { TCHAR *value=NULL; value=LoadString (hkDefault, "group3"); return value; } }
TCHAR* Readgroup3() { IniFile myIniFile; BOOL fUseRegistry = ((myIniFile.ReadInt("admin", "UseRegistry", 0) == 1) ? TRUE : FALSE); if (fUseRegistry) { TCHAR *value=NULL; OpenRegistry(); if (hkDefault) value=LoadString (hkDefault, "group3"); CloseRegistry(); return value; } else { TCHAR *value=NULL; value=LoadString (hkDefault, "group3"); return value; } }