ReactOS 0.4.15-dev-8093-g3285f69
configparser.h
Go to the documentation of this file.
1#pragma once
2
3#include <atlstr.h>
4
6{
9
10 void
11 CacheINI();
12 void
13 ReadSection(CStringW &Buffer, const CStringW &Section, BOOL isArch);
14
15 public:
17
18 BOOL
19 GetString(const CStringW &KeyName, CStringW &ResultString);
20 BOOL
21 GetInt(const CStringW &KeyName, INT &iResult);
22
23 UINT
25};
26
PCWSTR FilePath
Definition: bufpool.h:45
CSimpleMap< CStringW, CStringW > m_Keys
Definition: configparser.h:8
const CStringW szConfigPath
Definition: configparser.h:7
BOOL GetString(const CStringW &KeyName, CStringW &ResultString)
BOOL GetInt(const CStringW &KeyName, INT &iResult)
UINT GetSectionString(LPCWSTR Section, LPCWSTR Name, CStringW &Result)
void ReadSection(CStringW &Buffer, const CStringW &Section, BOOL isArch)
Definition: File.h:16
HRESULT ReadIniValue(LPCWSTR File, LPCWSTR Section, LPCWSTR Name, CStringW &Output)
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned int UINT
Definition: ndis.h:50
@ Output
Definition: arc.h:85
int32_t INT
Definition: typedefs.h:58
_Must_inspect_result_ _In_ WDFDEVICE _In_ PCUNICODE_STRING KeyName
Definition: wdfdevice.h:2699
_At_(*)(_In_ PWSK_CLIENT Client, _In_opt_ PUNICODE_STRING NodeName, _In_opt_ PUNICODE_STRING ServiceName, _In_opt_ ULONG NameSpace, _In_opt_ GUID *Provider, _In_opt_ PADDRINFOEXW Hints, _Outptr_ PADDRINFOEXW *Result, _In_opt_ PEPROCESS OwningProcess, _In_opt_ PETHREAD OwningThread, _Inout_ PIRP Irp Result)(Mem)) NTSTATUS(WSKAPI *PFN_WSK_GET_ADDRESS_INFO
Definition: wsk.h:409
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185