Move D2D reflection code to D2D generator only
このコミットが含まれているのは:
1 親
76752e2e47
コミット
5d58622ddf
5ファイル変更
+41
-74
検索条件に一致するファイルはありません
@@ -5,7 +5,6 @@
|
||||
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using Windows.Win32.Foundation;
|
||||
using Windows.Win32.System.Com;
|
||||
|
||||
namespace Windows.Win32;
|
||||
@@ -44,18 +43,6 @@ internal unsafe struct ComPtr<T> : IDisposable
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Increments the reference count for the current COM object, if any, and copies its address to a target raw pointer.</summary>
|
||||
/// <param name="ptr">The target raw pointer to copy the address of the current COM object to.</param>
|
||||
/// <returns>This method always returns <see cref="HRESULT.S_OK"/>.</returns>
|
||||
public readonly HRESULT CopyTo(T** ptr)
|
||||
{
|
||||
_ = ((IUnknown*)this.ptr)->AddRef();
|
||||
|
||||
*ptr = this.ptr;
|
||||
|
||||
return HRESULT.S_OK;
|
||||
}
|
||||
|
||||
/// <summary>Gets the currently wrapped raw pointer to a COM object.</summary>
|
||||
/// <returns>The raw pointer wrapped by the current <see cref="ComPtr{T}"/> instance.</returns>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
|
||||
@@ -4,5 +4,4 @@ DxcCreateInstance
|
||||
IDxcCompiler3
|
||||
IDxcUtils
|
||||
IDxcResult
|
||||
IUnknown
|
||||
S_OK
|
||||
IUnknown
|
||||
新しいイシューから参照
ユーザーをブロックする