yanjinhui
2025-06-09 ac93c4092a21dbf0fa9cf8b9b1302f2d5d183f61
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
 
namespace FaceSdkX64Service
{
    public class ConfigHelper
    {
        [DllImport("kernel32.dll", EntryPoint = "GetPrivateProfileString", CharSet = CharSet.Ansi, CallingConvention = CallingConvention.StdCall)]
        public static extern long GetPrivateProfileString(string section, string key, string defval, StringBuilder value, int size, string filename);
    }
}