-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIni.h
More file actions
26 lines (21 loc) · 815 Bytes
/
Ini.h
File metadata and controls
26 lines (21 loc) · 815 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Ini.h: interface for the CIni class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_INI_H__A98BECFC_7CD3_435A_826B_A515EC67A92B__INCLUDED_)
#define AFX_INI_H__A98BECFC_7CD3_435A_826B_A515EC67A92B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CIni
{
public:
CIni();
virtual ~CIni();
public:
static DWORD ReadString(LPCTSTR lpAppName, LPCTSTR lpKyeValue, LPTSTR lpReturnStr,
DWORD nSize, LPCTSTR lpFileName, LPCTSTR lpDefault = NULL);
static BOOL WriteString(LPCTSTR lpAppName, LPCTSTR lpKeyValue, LPCTSTR lpStr,
LPCTSTR lpFileName);
static int GetSections(CStringArray& arrSection, LPCTSTR lpFileName);
};
#endif // !defined(AFX_INI_H__A98BECFC_7CD3_435A_826B_A515EC67A92B__INCLUDED_)