Support CsWinRT CCW marshalling in WinUI project

このコミットが含まれているのは:
Sergio Pedri committed 2023-04-20 20:07:19 +02:00
1 親 df8a4c250b
コミット 2578cf3028
7ファイル変更
+35 -20

検索条件に一致するファイルはありません

+1 -1
ファイルの表示
@@ -141,7 +141,7 @@ unsafe partial class PixelShaderEffect<T>
using ComPtr<ICanvasImageInterop> canvasImageInterop = default;
// Try to get the ICanvasImageInterop interface from the input source
HRESULT hresult = RcwMarshaller.QueryInterface(value, canvasImageInterop.GetAddressOf());
HRESULT hresult = RcwMarshaller.GetNativeObject(value, canvasImageInterop.GetAddressOf());
if (!Win32.SUCCEEDED(hresult))
{