yanjinhui
2025-06-12 69b4b758498b839aedbd82f7d4dee9d879ba65fe
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);
    }
}