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(IntPtr hWnd, String text, String caption, uint type);

VB.Net Signature:

Please Add Some!

VB Signature:

Private Declare Function MessageBox Lib "user32.dll" Alias "MessageBoxA" (ByVal hWnd As Long, ByVal lpText As String, ByVal lpCaption As String, ByVal uType As Long) As Long

Alternative Managed API:

System.Windows.Forms.MessageBox (WinForms)

System.Windows.MessageBox (WPF)

Notes:

https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-messagebox

Documentation
MessageBox on MSDN