27 lines
782 B
C
27 lines
782 B
C
|
#ifndef __HGINI_H__
|
|||
|
#define __HGINI_H__
|
|||
|
|
|||
|
#include "HGDef.h"
|
|||
|
#include "HGBaseErr.h"
|
|||
|
|
|||
|
/* <20><><EFBFBD><EFBFBD>ini<6E>ļ<EFBFBD><C4BC><EFBFBD>ֵ
|
|||
|
*/
|
|||
|
HGEXPORT HGResult HGAPI HGBase_SetProfileInt(const HGChar* fileName, const HGChar* appName,
|
|||
|
const HGChar* keyName, HGInt value);
|
|||
|
|
|||
|
/* <20><><EFBFBD><EFBFBD>ini<6E>ļ<EFBFBD><C4BC><EFBFBD>ֵ
|
|||
|
*/
|
|||
|
HGEXPORT HGResult HGAPI HGBase_SetProfileString(const HGChar* fileName, const HGChar* appName,
|
|||
|
const HGChar* keyName, const HGChar* value);
|
|||
|
|
|||
|
/* <20><>ȡini<6E>ļ<EFBFBD><C4BC><EFBFBD>ֵ
|
|||
|
*/
|
|||
|
HGEXPORT HGResult HGAPI HGBase_GetProfileInt(const HGChar* fileName, const HGChar* appName,
|
|||
|
const HGChar* keyName, HGInt def, HGInt* value);
|
|||
|
|
|||
|
/* <20><>ȡini<6E>ļ<EFBFBD><C4BC><EFBFBD>ֵ
|
|||
|
*/
|
|||
|
HGEXPORT HGResult HGAPI HGBase_GetProfileString(const HGChar* fileName, const HGChar* appName,
|
|||
|
const HGChar* keyName, const HGChar* def, HGChar* value, HGUInt maxLen);
|
|||
|
|
|||
|
#endif /* __HGINI_H__ */
|