// Method to marshal from native to managed struct internal unsafe void __MarshalFrom(ref __Native @ref) { this.Header = @ref.Header; fixed (char* __ptr = &@ref.Text) this.Text = SharpDX.Utilities.PtrToStringUni((IntPtr)__ptr, 260); }
// Method to marshal from native to managed struct internal unsafe void __MarshalFrom(ref __Native @ref) { this.Header = @ref.Header; this.GuidClass = @ref.GuidClass; fixed (char* __ptr = &@ref.Path) this.Path = SharpDX.Utilities.PtrToStringUni((IntPtr)__ptr, 260); }