Z
ZhangZQ
if there is a C function in a DLL(My.dll) has this declaration,
struct MyStruct
{
int a;
int b;
};
int MyFunc(int param1, MyStruct** param2);
how to define this in C# ? if there is another C function like this int
MyFunc1(int param1, char** szRtn);, I can define it as
[DllImport("My.Dll")]
int MyFunc1(int param1, out string szRtn);
I want to know how to define the MyFunc?
Thanks!
struct MyStruct
{
int a;
int b;
};
int MyFunc(int param1, MyStruct** param2);
how to define this in C# ? if there is another C function like this int
MyFunc1(int param1, char** szRtn);, I can define it as
[DllImport("My.Dll")]
int MyFunc1(int param1, out string szRtn);
I want to know how to define the MyFunc?
Thanks!