11 #ifndef _IniFile_h_incl_ 12 #define _IniFile_h_incl_ 59 operator LPCSTR() {
return (LPCSTR)_buffer; }
60 operator LPSTR() {
return (LPSTR)_buffer; }
109 #endif//ndef _IniFile_h_incl_
void SetFilename(CSTR FName)
BOOL WriteStringFmt(CSTR Section, CSTR KeyName, CSTR Fmt,...)
PBYTE GetBinary(CSTR Section, CSTR Key, OUT INT *pSize)
PBYTE GetStruct(CSTR Section, CSTR Key, UINT cbStruct)
BOOL SaveWndRect(HWND hWnd, CSTR Section, CSTR Key)
TSTR GetSectionNames(OPTOUT INT *Size=NULL)
INT GetString(CSTR Section, CSTR KeyName, CSTR Default, TSTR Buf, UINT BufLen)
BOOL(WINAPI *SysImgList::Shell_GetImageLists)(HIMAGELIST *pimlLarge
BOOL WriteString(CSTR Section, CSTR KeyName, CSTR Text)
BOOL WriteSection(CSTR Section, CSTR Strings)
BOOL DeleteSection(CSTR Section)
BOOL DeleteString(CSTR Section, CSTR KeyName)
UINT GetInt(CSTR Section, CSTR KeyName, INT Default)
IniFile(CSTR FName=NULL, UINT BufSize=4096)
Common include; Added types, small "ubiquitous" utilities, et c.
BOOL WriteInt(CSTR Section, CSTR KeyName, LONG Value, BYTE Radix=10)
bool AllocBuffer(UINT Size)
BOOL WriteStruct(CSTR Section, CSTR Key, PVOID pStruct, UINT Size)
BOOL RestoreWndRect(HWND hWnd, CSTR Section, CSTR Key)
BOOL WriteRawSection(CSTR Section, CSTR MultiSz)
TSTR GetSection(CSTR Section, OPTOUT INT *Size=NULL)