RaUI/Source/ryControls/Sheng.Winform.Controls/Win32/Kernel32.cs

18 lines
515 B
C#
Raw Normal View History

using System.Text;
using System.Runtime.InteropServices;
namespace Sheng.Winform.Controls.Win32
{
public static class Kernel32
{
[DllImport("kernel32")]
public static extern long WritePrivateProfileString(string section,
string key, string val, string filePath);
[DllImport("kernel32")]
public static extern int GetPrivateProfileString(string section,
string key, string def, StringBuilder retVal,
int size, string filePath);
}
}