36 lines
1.2 KiB
C++

/*********************************************************************************************
* Copyright 2003 - Volian Enterprises, Inc. All rights reserved.
* Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE
* ------------------------------------------------------------------------------
* $Workfile: IniFileIO.h $ $Revision: 3 $
* $Author: Jsj $ $Date: 12/16/03 11:39a $
*
* $History: IniFileIO.h $
*
* ***************** Version 3 *****************
* User: Jsj Date: 12/16/03 Time: 11:39a
* Updated in $/LibSource/IniFileIO
* modified to all use in .net 1.0 and .net 1.1
*********************************************************************************************/
// IniFileIO.h
#pragma once
#using <mscorlib.dll>
#include <Windows.h>
#include <atlstr.h>
using namespace System;
using namespace System::Runtime::InteropServices;
namespace IniFileIO
{
public __gc class INIFile
{
public:
String *ValueString;
INIFile() {};
String *GetINIKeyValueStr(String *SectName, String *KeyName, String *DefaultValue, unsigned BufSize, String *IniFileName);
bool WriteINIKeyValueStr(String *SectName, String *KeyName, String *KeyValue, String *IniFileName);
};
}