c++动态链接库函数转换为C#函数

C++函数
void * __stdcall OpenDppApi(); 怎么转化为C#函数

 

C# code

[System.Runtime.InteropServices.DllImportAttribute("<Unknown>", EntryPoint="OpenDppApi", 
CallingConvention
=System.Runtime.InteropServices.CallingConvention.StdCall)] publicstaticextern System.IntPtr OpenDppApi() ;
posted on 2012-10-13 10:30  武胜-阿伟  阅读(285)  评论(0编辑  收藏  举报