mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-03-16 20:02:42 +00:00
Migrate to Avalonia (#1220)
This commit is contained in:
12
DiscordChatExporter.Gui/Utils/NativeMethods.cs
Normal file
12
DiscordChatExporter.Gui/Utils/NativeMethods.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace DiscordChatExporter.Gui.Utils;
|
||||
|
||||
internal static class NativeMethods
|
||||
{
|
||||
public static class Windows
|
||||
{
|
||||
[DllImport("user32.dll", SetLastError = true)]
|
||||
public static extern int MessageBox(nint hWnd, string text, string caption, uint type);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user