示例#1
0
		// 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);
        }
示例#2
0
		// 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);
        }