MessageBox (user32)
Last changed: -106.166.110.35

.
Summary
Displays a modal dialog box that contains a system icon, a set of buttons, and a brief application-specific message, such as status or error information. The message box returns an integer value that indicates which button the user clicked.

C# Signature:

[DllImport("user32.dll", SetLastError = true, CharSet= CharSet.Auto)]

public static extern int MessageBox(int hWnd, String text, String caption, uint type);

VB.Net Signature:

Please Add Some!

User-Defined Types:

use MessageBoxButtons.* enumeration for type argument, cast as integer.

Use enumeration for type aruments, cast as uint with Flags

Alternative Managed API:

System.Windows.Forms.MessageBox (WinForms)

System.Windows.MessagBox (WPF)

Documentation
[MessageBox]://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-messagebox