C#调用API函数

https://blog.csdn.net/weizhiai12/article/details/7107713

https://blog.csdn.net/ABC13222880223/article/details/89916624

https://www.cnblogs.com/benwu/p/4132026.html

class apiFun

{

[DllImport("kernel32.dll")]

 public static extern int GetPrivateProfileString(string section, string key, string def, byte[] retVal, int size, string filePath);

}

 

posted @ 2019-07-03 18:26  kuaqi  阅读(527)  评论(0编辑  收藏  举报