enddialog (user32)
Last changed: -77.61.241.196

.
Summary

C# Signature:

[DllImport("user32.dll")]
static extern bool EndDialog(IntPtr hDlg, IntPtr nResult);

User-Defined Types:

None.

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

IntPtr result = IntPtr.Zero
IntPtr hwnd = FindWindowByCaption((IntPtr)null, "Untitled - Notepad");
if (null != hwnd)
{
    EndDialog(hwnd, result);
}

Alternative Managed API:

Do you know one? Please contribute it!

Documentation
EndDialog on MSDN