ReactOS  0.4.15-dev-3440-g915569a
configparser.cpp File Reference
#include "rapps.h"
#include <debug.h>
Include dependency graph for configparser.cpp:

Go to the source code of this file.

Classes

struct  CLocaleSections
 
struct  CSectionNames
 

Functions

static ATL::CStringW GetINIFullPath (const ATL::CStringW &FileName)
 

Variables

static CSectionNames g_Names
 

Function Documentation

◆ GetINIFullPath()

static ATL::CStringW GetINIFullPath ( const ATL::CStringW FileName)
static

Definition at line 29 of file configparser.cpp.

30 {
31  ATL::CStringW szDir;
32  ATL::CStringW szBuffer;
33 
34  GetStorageDirectory(szDir);
35  szBuffer.Format(L"%ls\\rapps\\%ls", szDir.GetString(), FileName.GetString());
36 
37  return szBuffer;
38 }
void __cdecl Format(UINT nFormatID,...)
Definition: cstringt.h:753
#define L(x)
Definition: ntvdm.h:50
PCXSTR GetString() const
Definition: atlsimpstr.h:361
BOOL GetStorageDirectory(ATL::CStringW &lpDirectory)
Definition: misc.cpp:141

Variable Documentation

◆ g_Names

CSectionNames g_Names
static

Definition at line 25 of file configparser.cpp.

Referenced by CConfigParser::CacheINI().