Example #1
0
void
savegroup3(TCHAR *value)
{
	OpenRegistry();
	if (hkDefault)SaveString(hkDefault, "group3", value);
	CloseRegistry();
}
Example #2
0
void
savelocdom3(LONG value)
{
	OpenRegistry();
	if (hkDefault)SaveInt(hkDefault, "locdom3", value);
	CloseRegistry();

}
Example #3
0
LONG
Readlocdom3(LONG returnvalue)
{
	OpenRegistry();
	if (hkDefault) returnvalue=LoadInt(hkDefault, "locdom3",returnvalue);
	CloseRegistry();
	return returnvalue;
}
Example #4
0
TCHAR*
Readgroup3()
{
	TCHAR *value=NULL;
	OpenRegistry();
	if (hkDefault) value=LoadString (hkDefault, "group3");
	CloseRegistry();
	return value;
}
Example #5
0
void
vncSetAuth::savegroup3(TCHAR *value)
{
    if (m_fUseRegistry)
    {
        OpenRegistry();
        if (hkDefault)SaveString(hkDefault, "group3", value);
        CloseRegistry();
    }
    else
    {
        SaveString(hkDefault, "group3", value);
    }
}
Example #6
0
void
vncSetAuth::savelocdom3(LONG value)
{
    if (m_fUseRegistry)
    {
        OpenRegistry();
        if (hkDefault)SaveInt(hkDefault, "locdom3", value);
        CloseRegistry();
    }
    else
    {
        SaveInt(hkDefault, "locdom3", value);
    }

}
Example #7
0
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);
	}
}
Example #8
0
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;
    }
}
Example #9
0
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);
	}

}
Example #10
0
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;
	}
}
Example #11
0
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;
    }
}
Example #12
0
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;
	}
}