【发布时间】:2012-09-06 15:31:45
【问题描述】:
我的代码中有这几行看起来很奇怪,我正试图破译。有谁知道上面写的是什么?
[DllImport("kernel32")]
private static extern int GetPrivateProfileString(string section, string key, string def, StringBuilder retVal, int size, string filePath);
【问题讨论】:
-
这是对 Windows API 的调用,看看codeproject.com/Articles/1285/Calling-API-functions-using-C