[StructLayout(LayoutKind.Auto)] public struct Outdata { public IntPtr outpointer; public int outsize; }