摘要:
(转自http://blog.csdn.net/zhoucaifu/article/details/5416892)DllImport是System.Runtime.InteropServices命名空间下的一个属性类,其功能是提供从非托管DLL导出的函数的必要调用信息。 DllImport属性应用于方法,要求最少要提供包含入口点的dll的名称。 DllImport的定义如下:[AttributeUsage(AttributeTargets.Method)] public class DllImportAttribute: System.Attribute { public Dl... 阅读全文
posted @ 2014-03-27 17:16
Goodpy
阅读(1330)
评论(0)
推荐(0)