Exemplo n.º 1
0
        internal void ToNativePtr(IntPtr epPtr)
        {
            GdipEncoderParameter ep = new GdipEncoderParameter();

            ep.guid           = this.encoder.Guid;
            ep.numberOfValues = (uint)this.valuesCount;
            ep.type           = this.type;
            ep.value          = this.valuePtr;
            Marshal.StructureToPtr(ep, epPtr, false);
        }
Exemplo n.º 2
0
		internal void ToNativePtr (IntPtr epPtr) {
			GdipEncoderParameter ep = new GdipEncoderParameter ();
			ep.guid = this.encoder.Guid;
			ep.numberOfValues = (uint) this.valuesCount;
			ep.type = this.type;
			ep.value = this.valuePtr;
			Marshal.StructureToPtr (ep, epPtr, false);
		}