root / trunk / install / launcher / izpack-launcher-1.3_windows / src / myIniReader.c @ 11445
History | View | Annotate | Download (333 Bytes)
1 |
|
---|---|
2 |
#include <windows.h> |
3 |
|
4 |
#include "myIniReader.h" |
5 |
|
6 |
char* myGetPrivateProfileString(const char* section,const char* key, const char* defaultValue, const char* fileName) { |
7 |
static char szResult[2048]; |
8 |
|
9 |
memset(szResult, 0x00, 2048); |
10 |
|
11 |
GetPrivateProfileString(section, key, defaultValue, szResult, 2048, fileName);
|
12 |
return szResult;
|
13 |
} |