From d6952ab3270db4433ed3d2aea73f1d2baa1e3e9f Mon Sep 17 00:00:00 2001 From: James Touton Date: Tue, 3 Oct 2023 18:40:20 -0700 Subject: [PATCH] /permissive- fixes --- .../SurfaceQueueInteropHelper.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Microsoft.Wpf.Interop.DirectX/SurfaceQueueInteropHelper.h b/src/Microsoft.Wpf.Interop.DirectX/SurfaceQueueInteropHelper.h index a624641..3967394 100644 --- a/src/Microsoft.Wpf.Interop.DirectX/SurfaceQueueInteropHelper.h +++ b/src/Microsoft.Wpf.Interop.DirectX/SurfaceQueueInteropHelper.h @@ -73,13 +73,13 @@ namespace Microsoft { public: /// The action delegate called when a render is required. - property Action^ SurfaceQueueInteropHelper::RenderD2D + property Action^ RenderD2D { void set(Action^ value) { m_renderD2D = value; } } /// Gets or sets the associated D3DImage object that is working in conjunction with this helper. - property D3DImage^ SurfaceQueueInteropHelper::D3DImage + property D3DImage^ D3DImage { System::Windows::Interop::D3DImage^ get() { @@ -103,7 +103,7 @@ namespace Microsoft { } /// Gets the desired pixel width for the surface. - property unsigned int SurfaceQueueInteropHelper::PixelWidth + property unsigned int PixelWidth { unsigned int get() { @@ -112,7 +112,7 @@ namespace Microsoft { } /// Gets the desired pixel height for the surface. - property unsigned int SurfaceQueueInteropHelper::PixelHeight + property unsigned int PixelHeight { unsigned int get() { @@ -124,7 +124,7 @@ namespace Microsoft { void SetPixelSize(unsigned int pixelWidth, unsigned int pixelHeight); /// Gets or sets the HWND used by the helper while creating DirectX devices. - property IntPtr SurfaceQueueInteropHelper::HWND + property IntPtr HWND { IntPtr get() { return (IntPtr)(void*)m_hwnd; } void set(IntPtr hwnd) { m_hwnd = (::HWND)(void*)hwnd; }