Is it possible to use DLLImport to import the Win32 MessageBox function?
using System.Runtime.InteropServices;
[DllImport("user32.dll", CharSet = CharSet.Unicode, ExactSpelling = true)] public static extern int MessageBox(IntPtr hWnd, String text, String caption, uint type);
The following
seems to indicate that it is valid for UWP
However, although it compiles in my UWP C# app, it does not run.