public static void MarshalOut(System.IntPtr ptr, martin.Test.Blittable arg) { Blittable_Struct obj = (Blittable_Struct)Marshal.PtrToStructure(ptr, typeof(Blittable_Struct )); arg.hello = obj.hello; }
public static void MarshalIn(System.IntPtr ptr, martin.Test.Blittable arg) { Blittable_Struct obj = new Blittable_Struct(); obj._owner = 0x972f3813; obj.hello = arg.hello; Marshal.StructureToPtr(obj, ptr, false); }
public static void MarshalIn(System.IntPtr ptr, martin.Test.Blittable arg) { Blittable_Struct obj = new Blittable_Struct(); obj._owner = 0x972f3813; obj.hello = arg.hello; Marshal.StructureToPtr(obj, ptr, false); }