/// <summary>To be documented.</summary> public readonly unsafe int GetResult(IDxcBlob **pResult) { var @this = (IDxcOperationResult *)Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; ret = ((delegate * unmanaged[Cdecl] < IDxcOperationResult *, IDxcBlob **, int >)LpVtbl[4])(@this, pResult); return(ret); }
/// <summary>To be documented.</summary> public readonly unsafe int LoadSource(char *pFilename, IDxcBlob **ppIncludeSource) { var @this = (IDxcIncludeHandler *)Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; ret = ((delegate * unmanaged[Cdecl] < IDxcIncludeHandler *, char *, IDxcBlob **, int >)LpVtbl[3])(@this, pFilename, ppIncludeSource); return(ret); }
/// <summary>To be documented.</summary> public readonly unsafe int GetPartContent(uint idx, IDxcBlob **ppResult) { var @this = (IDxcContainerReflection *)Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; ret = ((delegate * unmanaged[Cdecl] < IDxcContainerReflection *, uint, IDxcBlob **, int >)LpVtbl[6])(@this, idx, ppResult); return(ret); }
/// <summary>To be documented.</summary> public readonly unsafe int LoadSource(string pFilename, IDxcBlob **ppIncludeSource) { var @this = (IDxcIncludeHandler *)Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; var pFilenamePtr = (byte *)Marshal.StringToHGlobalAnsi(pFilename); ret = ((delegate * unmanaged[Cdecl] < IDxcIncludeHandler *, byte *, IDxcBlob **, int >)LpVtbl[3])(@this, pFilenamePtr, ppIncludeSource); Marshal.FreeHGlobal((IntPtr)pFilenamePtr); return(ret); }
public int LoadSource([NativeTypeName("LPCWSTR")] ushort *pFilename, IDxcBlob **ppIncludeSource) { return(((delegate * unmanaged <IDxcIncludeHandler *, ushort *, IDxcBlob **, int>)(lpVtbl[3]))((IDxcIncludeHandler *)Unsafe.AsPointer(ref this), pFilename, ppIncludeSource)); }
public HRESULT GetPDBContents(IDxcBlob *pPDBBlob, IDxcBlob **ppHash, IDxcBlob **ppContainer) { return(((delegate * unmanaged <IDxcUtils *, IDxcBlob *, IDxcBlob **, IDxcBlob **, int>)(lpVtbl[15]))((IDxcUtils *)Unsafe.AsPointer(ref this), pPDBBlob, ppHash, ppContainer)); }
/// <summary>To be documented.</summary> public readonly unsafe int RunOptimizer(ref IDxcBlob pBlob, ref char *ppOptions, uint optionCount, IDxcBlob **pOutputModule, ref IDxcBlobEncoding *ppOutputText) { var @this = (IDxcOptimizer *)Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed(IDxcBlob *pBlobPtr = &pBlob) { fixed(char **ppOptionsPtr = &ppOptions) { fixed(IDxcBlobEncoding **ppOutputTextPtr = &ppOutputText) { ret = ((delegate * unmanaged[Cdecl] < IDxcOptimizer *, IDxcBlob *, char **, uint, IDxcBlob **, IDxcBlobEncoding **, int >)LpVtbl[5])(@this, pBlobPtr, ppOptionsPtr, optionCount, pOutputModule, ppOutputTextPtr); } } } return(ret); }
public int CompileWithDebug([NativeTypeName("IDxcBlob *")] IDxcBlob *pSource, [NativeTypeName("LPCWSTR")] ushort *pSourceName, [NativeTypeName("LPCWSTR")] ushort *pEntryPoint, [NativeTypeName("LPCWSTR")] ushort *pTargetProfile, [NativeTypeName("LPCWSTR *")] ushort **pArguments, [NativeTypeName("UINT32")] uint argCount, [NativeTypeName("const DxcDefine *")] DxcDefine *pDefines, [NativeTypeName("UINT32")] uint defineCount, [NativeTypeName("IDxcIncludeHandler *")] IDxcIncludeHandler *pIncludeHandler, [NativeTypeName("IDxcOperationResult **")] IDxcOperationResult **ppResult, [NativeTypeName("LPWSTR *")] ushort **ppDebugBlobName, [NativeTypeName("IDxcBlob **")] IDxcBlob **ppDebugBlob) { return(((delegate * unmanaged <IDxcCompiler2 *, IDxcBlob *, ushort *, ushort *, ushort *, ushort **, uint, DxcDefine *, uint, IDxcIncludeHandler *, IDxcOperationResult **, ushort **, IDxcBlob **, int>)(lpVtbl[6]))((IDxcCompiler2 *)Unsafe.AsPointer(ref this), pSource, pSourceName, pEntryPoint, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob)); }
public int GetResult(IDxcBlob **pResult) { return(((delegate * unmanaged <IDxcOperationResult *, IDxcBlob **, int>)(lpVtbl[4]))((IDxcOperationResult *)Unsafe.AsPointer(ref this), pResult)); }
public HRESULT GetResult(IDxcBlob **ppResult) { return(((delegate * unmanaged[Stdcall] < IDxcOperationResult *, IDxcBlob **, int >)(lpVtbl[4]))((IDxcOperationResult *)Unsafe.AsPointer(ref this), ppResult)); }
public HRESULT GetHash(IDxcBlob **ppResult) { return(((delegate * unmanaged <IDxcPdbUtils *, IDxcBlob **, int>)(lpVtbl[18]))((IDxcPdbUtils *)Unsafe.AsPointer(ref this), ppResult)); }
public HRESULT GetPartContent([NativeTypeName("UINT32")] uint idx, IDxcBlob **ppResult) { return(((delegate * unmanaged <IDxcContainerReflection *, uint, IDxcBlob **, int>)(lpVtbl[6]))((IDxcContainerReflection *)Unsafe.AsPointer(ref this), idx, ppResult)); }
public HRESULT CreateBlobFromBlob(IDxcBlob *pBlob, [NativeTypeName("UINT32")] uint offset, [NativeTypeName("UINT32")] uint length, IDxcBlob **ppResult) { return(((delegate * unmanaged[Stdcall] < IDxcLibrary *, IDxcBlob *, uint, uint, IDxcBlob **, int >)(lpVtbl[4]))((IDxcLibrary *)Unsafe.AsPointer(ref this), pBlob, offset, length, ppResult)); }
public HRESULT GetFullPDB(IDxcBlob **ppFullPDB) { return(((delegate * unmanaged <IDxcPdbUtils *, IDxcBlob **, int>)(lpVtbl[21]))((IDxcPdbUtils *)Unsafe.AsPointer(ref this), ppFullPDB)); }
public int GetResult([NativeTypeName("IDxcBlob **")] IDxcBlob **ppResult) { return(((delegate * unmanaged <IDxcResult *, IDxcBlob **, int>)(lpVtbl[4]))((IDxcResult *)Unsafe.AsPointer(ref this), ppResult)); }
public int CreateBlobFromBlob([NativeTypeName("IDxcBlob *")] IDxcBlob *pBlob, [NativeTypeName("UINT32")] uint offset, [NativeTypeName("UINT32")] uint length, [NativeTypeName("IDxcBlob **")] IDxcBlob **ppResult) { return(((delegate * unmanaged <IDxcUtils *, IDxcBlob *, uint, uint, IDxcBlob **, int>)(lpVtbl[3]))((IDxcUtils *)Unsafe.AsPointer(ref this), pBlob, offset, length, ppResult)); }
public int GetPDBContents([NativeTypeName("IDxcBlob *")] IDxcBlob *pPDBBlob, [NativeTypeName("IDxcBlob **")] IDxcBlob **ppHash, [NativeTypeName("IDxcBlob **")] IDxcBlob **ppContainer) { return(((delegate * unmanaged <IDxcUtils *, IDxcBlob *, IDxcBlob **, IDxcBlob **, int>)(lpVtbl[15]))((IDxcUtils *)Unsafe.AsPointer(ref this), pPDBBlob, ppHash, ppContainer)); }
/// <summary>To be documented.</summary> public readonly unsafe int CreateBlobFromBlob(ref IDxcBlob pBlob, uint offset, uint length, IDxcBlob **ppResult) { var @this = (IDxcLibrary *)Unsafe.AsPointer(ref Unsafe.AsRef(in this)); int ret = default; fixed(IDxcBlob *pBlobPtr = &pBlob) { ret = ((delegate * unmanaged[Cdecl] < IDxcLibrary *, IDxcBlob *, uint, uint, IDxcBlob **, int >)LpVtbl[4])(@this, pBlobPtr, offset, length, ppResult); } return(ret); }
public HRESULT RunOptimizer(IDxcBlob *pBlob, [NativeTypeName("LPCWSTR *")] ushort **ppOptions, [NativeTypeName("UINT32")] uint optionCount, IDxcBlob **pOutputModule, IDxcBlobEncoding **ppOutputText) { return(((delegate * unmanaged <IDxcOptimizer *, IDxcBlob *, ushort **, uint, IDxcBlob **, IDxcBlobEncoding **, int>)(lpVtbl[5]))((IDxcOptimizer *)Unsafe.AsPointer(ref this), pBlob, ppOptions, optionCount, pOutputModule, ppOutputText)); }