yanjinhui
2025-07-25 c6f41b547bf479dbe4d722794b308984eb0bfe03
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);
    }
}