ReactOS  0.4.15-dev-3451-gf606fec
configparser.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <windef.h>
4 #include <atlstr.h>
5 
7 {
10 
11  void CacheINI();
12  void ReadSection(ATL::CStringW& Buffer, const ATL::CStringW& Section, BOOL isArch);
13 
14 public:
16 
17  BOOL GetString(const ATL::CStringW& KeyName, ATL::CStringW& ResultString);
18  BOOL GetInt(const ATL::CStringW& KeyName, INT& iResult);
19 };
20 
CConfigParser(const ATL::CStringW &FileName)
BOOL GetInt(const ATL::CStringW &KeyName, INT &iResult)
int32_t INT
Definition: typedefs.h:58
unsigned int BOOL
Definition: ntddk_ex.h:94
const ATL::CStringW szConfigPath
Definition: configparser.h:8
Definition: bufpool.h:45
_Must_inspect_result_ _In_ WDFDEVICE _In_ PCUNICODE_STRING KeyName
Definition: wdfdevice.h:2697
void ReadSection(ATL::CStringW &Buffer, const ATL::CStringW &Section, BOOL isArch)
CSimpleMap< CStringW, CStringW > m_Keys
Definition: configparser.h:9
BOOL GetString(const ATL::CStringW &KeyName, ATL::CStringW &ResultString)