//用IntPtr,下面是结构体转换到IntPtr方式
Point p;//要传的结构体
int size=System.Runtime.InteropServices.Marshal.SizeOf(p);
IntPtr p=System.Runtime.InteropServices.Marshal.AllocHGlobal(size);
System.Runtime.InteropServices.Marshal.StructureToPtr(p, p, true);
试试 System.IntPtr。