Exemplo n.º 1
0
        /// <summary>To be documented.</summary>
        public readonly unsafe int CreateBlobWithEncodingOnMalloc(void *pText, ref IMalloc pIMalloc, uint size, uint codePage, IDxcBlobEncoding **pBlobEncoding)
        {
            var @this = (IDxcLibrary *)Unsafe.AsPointer(ref Unsafe.AsRef(in this));
            int ret   = default;

            fixed(IMalloc *pIMallocPtr = &pIMalloc)
            {
                ret = ((delegate * unmanaged[Cdecl] < IDxcLibrary *, void *, IMalloc *, uint, uint, IDxcBlobEncoding **, int >)LpVtbl[8])(@this, pText, pIMallocPtr, size, codePage, pBlobEncoding);
            }

            return(ret);
        }
Exemplo n.º 2
0
        /// <summary>To be documented.</summary>
        public readonly int SetMalloc(ref IMalloc pMalloc)
        {
            var @this = (IDxcLibrary *)Unsafe.AsPointer(ref Unsafe.AsRef(in this));
            int ret   = default;

            fixed(IMalloc *pMallocPtr = &pMalloc)
            {
                ret = ((delegate * unmanaged[Cdecl] < IDxcLibrary *, IMalloc *, int >)LpVtbl[3])(@this, pMallocPtr);
            }

            return(ret);
        }
Exemplo n.º 3
0
 public unsafe partial int CreateInstance2(ref IMalloc pMalloc, ref Guid rclsid, ref Guid riid, ref void *ppv);
Exemplo n.º 4
0
 public unsafe partial int CreateInstance2(ref IMalloc pMalloc, Guid *rclsid, Guid *riid, void **ppv);