63 if (!isArch &&
key ==
"URLDownload")
97 const INT cchLocaleSize = 5;
101 CString INISectionLocale =
L"Section." + szLocaleID;
145 ResultString.
Empty();
167 return (iResult > 0);
TVal & GetValueAt(int nIndex)
int FindKey(const TKey &key) const
BOOL Add(const TKey &key, const TVal &val)
bool IsEmpty() const noexcept
void ReleaseBuffer(_In_ int nNewLength=-1)
PXSTR GetString() noexcept
int GetLength() const noexcept
CStringT Right(int nCount) const
CStringT Left(int nCount) const
int Find(_In_ PCXSTR pszSub, _In_opt_ int iStart=0) const noexcept
CStringT Mid(int iFirst, int nCount) const
CSimpleMap< CStringW, CStringW > m_Keys
CConfigParser(const CStringW &FilePath)
const CStringW szConfigPath
BOOL GetString(const CStringW &KeyName, CStringW &ResultString)
BOOL GetInt(const CStringW &KeyName, INT &iResult)
void ReadSection(CStringW &Buffer, const CStringW &Section, BOOL isArch)
static CSectionNames g_Names
INT WINAPI StrToIntW(LPCWSTR lpString)
INT WINAPI GetPrivateProfileSectionW(LPCWSTR section, LPWSTR buffer, DWORD len, LPCWSTR filename)
LCID WINAPI GetUserDefaultLCID(void)
INT WINAPI GetLocaleInfoW(LCID lcid, LCTYPE lctype, LPWSTR buffer, INT len)
CLocaleSections ArchSpecific
CLocaleSections ArchNeutral
_Must_inspect_result_ _In_ WDFDEVICE _In_ PCUNICODE_STRING KeyName