MCPcopy Create free account
hub / github.com/AgoraIO/API-Examples / GetStringValue

Method GetStringValue

windows/APIExample/APIExample/CConfig.cpp:47–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45
46
47CString CConfig::GetStringValue(CString key)
48{
49 CString strValue = _T("");
50 if (m_bChinese)
51 ::GetPrivateProfileString(_T("General"), key, _T("Unknown"), strValue.GetBuffer(MAX_PATH), MAX_PATH, m_strZhConfigFile);
52 else
53 ::GetPrivateProfileString(_T("General"), key, _T("Unknown"), strValue.GetBuffer(MAX_PATH), MAX_PATH, m_strEnConfigFile);
54 return strValue;
55}
56
57
58CString CConfig::GetAPP_ID()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected