Browse Source
Merge pull request #12553 from EgorRudakov2/fix_wait_for_OleGetClipboard
Set PreserveSig to true for OleGetClipboard
pull/12563/head
Max Katz
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/Windows/Avalonia.Win32/Interop/UnmanagedMethods.cs
|
|
|
@ -1509,7 +1509,7 @@ namespace Avalonia.Win32.Interop |
|
|
|
[DllImport("user32.dll")] |
|
|
|
public static extern IntPtr SetClipboardData(ClipboardFormat uFormat, IntPtr hMem); |
|
|
|
|
|
|
|
[DllImport("ole32.dll", PreserveSig = false)] |
|
|
|
[DllImport("ole32.dll", PreserveSig = true)] |
|
|
|
public static extern int OleGetClipboard(out IntPtr dataObject); |
|
|
|
|
|
|
|
[DllImport("ole32.dll", PreserveSig = true)] |
|
|
|
|