Browse Source

Merge pull request #8016 from kivarsen/fix-6603-pinvoke-stack-imbalance

Fix #6603: PInvokeStackImbalance error caused by incorrect signature
pull/8023/head
Nikita Tsukanov 4 years ago
committed by GitHub
parent
commit
9765a592eb
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/Windows/Avalonia.Win32/WinRT/NativeWinRTMethods.cs

2
src/Windows/Avalonia.Win32/WinRT/NativeWinRTMethods.cs

@ -23,7 +23,7 @@ namespace Avalonia.Win32.WinRT
[DllImport("api-ms-win-core-winrt-string-l1-1-0.dll",
CallingConvention = CallingConvention.StdCall, PreserveSig = false)]
internal static extern unsafe IntPtr WindowsDeleteString(IntPtr hString);
internal static extern unsafe void WindowsDeleteString(IntPtr hString);
[DllImport("Windows.UI.Composition", EntryPoint = "DllGetActivationFactory",
CallingConvention = CallingConvention.StdCall, PreserveSig = false)]

Loading…
Cancel
Save