EndDialog function user32

int EndDialog(
  1. int hDlg,
  2. int nResult
)

Destroys a modal dialog box, causing the system to end any processing for the dialog box.

BOOL EndDialog(
  HWND    hDlg,
  INT_PTR nResult
);

Implementation

int EndDialog(int hDlg, int nResult) => _EndDialog(hDlg, nResult);