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

c++动态链接库函数转换为C#函数
C++函数
void * __stdcall OpenDppApi(); 怎么转化为C#函数

------解决方案--------------------
LZ你是
1)有一个dll,要通过C#调用:
C# code

    [System.Runtime.InteropServices.DllImportAttribute("<Unknown>", EntryPoint="OpenDppApi", CallingConvention=System.Runtime.InteropServices.CallingConvention.StdCall)]
public static extern  System.IntPtr OpenDppApi() ;

------解决方案--------------------
探讨
LZ你是
1)有一个dll,要通过C#调用:

C# code


[System.Runtime.InteropServices.DllImportAttribute("<Unknown>", EntryPoint="OpenDppApi", CallingConvention=System.Runtime.InteropServices.CallingConvention.……