GetDlgItem function Null safety user32

int GetDlgItem(
  1. int hDlg,
  2. int nIDDlgItem
)

Retrieves a handle to a control in the specified dialog box.

HWND GetDlgItem(
  HWND hDlg,
  int  nIDDlgItem
);

Implementation

int GetDlgItem(int hDlg, int nIDDlgItem) => _GetDlgItem(hDlg, nIDDlgItem);