/// <summary>To be documented.</summary>
        public readonly unsafe int CreateInstance(byte *pNamespace, ref ID3D11ModuleInstance *ppModuleInstance)
        {
            var @this = (ID3D11Module *)Unsafe.AsPointer(ref Unsafe.AsRef(in this));
            int ret   = default;

            fixed(ID3D11ModuleInstance **ppModuleInstancePtr = &ppModuleInstance)
            {
                ret = ((delegate * unmanaged[Cdecl] < ID3D11Module *, byte *, ID3D11ModuleInstance **, int >)LpVtbl[3])(@this, pNamespace, ppModuleInstancePtr);
            }

            return(ret);
        }
        /// <summary>To be documented.</summary>
        public readonly unsafe int CreateInstance(string pNamespace, ref ID3D11ModuleInstance *ppModuleInstance)
        {
            var @this         = (ID3D11Module *)Unsafe.AsPointer(ref Unsafe.AsRef(in this));
            int ret           = default;
            var pNamespacePtr = (byte *)Marshal.StringToHGlobalAnsi(pNamespace);

            fixed(ID3D11ModuleInstance **ppModuleInstancePtr = &ppModuleInstance)
            {
                ret = ((delegate * unmanaged[Cdecl] < ID3D11Module *, byte *, ID3D11ModuleInstance **, int >)LpVtbl[3])(@this, pNamespacePtr, ppModuleInstancePtr);
            }

            Marshal.FreeHGlobal((nint)pNamespacePtr);
            return(ret);
        }
 public int UseLibrary([NativeTypeName("struct ID3D11ModuleInstance *")] ID3D11ModuleInstance *pLibraryMI)
 {
     return(((delegate * stdcall <ID3D11Linker *, ID3D11ModuleInstance *, int>)(lpVtbl[4]))((ID3D11Linker *)Unsafe.AsPointer(ref this), pLibraryMI));
 }
 public int Link([NativeTypeName("struct ID3D11ModuleInstance *")] ID3D11ModuleInstance *pEntry, [NativeTypeName("LPCSTR")] sbyte *pEntryName, [NativeTypeName("LPCSTR")] sbyte *pTargetName, [NativeTypeName("UINT")] uint uFlags, [NativeTypeName("ID3DBlob **")] ID3DBlob **ppShaderBlob, [NativeTypeName("ID3DBlob **")] ID3DBlob **ppErrorBuffer)
 {
     return(((delegate * stdcall <ID3D11Linker *, ID3D11ModuleInstance *, sbyte *, sbyte *, uint, ID3DBlob **, ID3DBlob **, int>)(lpVtbl[3]))((ID3D11Linker *)Unsafe.AsPointer(ref this), pEntry, pEntryName, pTargetName, uFlags, ppShaderBlob, ppErrorBuffer));
 }