Exemplo n.º 1
0
 /// <unmanaged>SIZE_T ID3D10Blob::GetBufferSize()</unmanaged>
 internal unsafe PointerSize GetBufferSize()
 {
     //return calli(System.Void*(System.Void*), this._nativePointer, *(*(IntPtr*)this._nativePointer + (IntPtr)4 * (IntPtr)sizeof(void*)));
     return((void *)NativeHelper.CalliIntPtr(4, _nativePointer));
 }
Exemplo n.º 2
0
        //public new static explicit operator Blob(IntPtr nativePointer)
        //{
        //    if (!(nativePointer == IntPtr.Zero))
        //    {
        //        return new Blob(nativePointer);
        //    }
        //    return null;
        //}

        /// <unmanaged>void* ID3D10Blob::GetBufferPointer()</unmanaged>
        internal unsafe IntPtr GetBufferPointer()
        {
            //return calli(System.IntPtr(System.Void*), this._nativePointer, *(*(IntPtr*)this._nativePointer + (IntPtr)3 * (IntPtr)sizeof(void*)));
            return(NativeHelper.CalliIntPtr(3, _nativePointer));
        }