GetNextDlgTabItem function Null safety user32

int GetNextDlgTabItem(
  1. int hDlg,
  2. int hCtl,
  3. int bPrevious

Retrieves a handle to the first control that has the WS_TABSTOP style that precedes (or follows) the specified control.

HWND GetNextDlgTabItem(
  HWND hDlg,
  HWND hCtl,
  BOOL bPrevious


int GetNextDlgTabItem(int hDlg, int hCtl, int bPrevious) {
  final _GetNextDlgTabItem = _user32.lookupFunction<
      IntPtr Function(IntPtr hDlg, IntPtr hCtl, Int32 bPrevious),
      int Function(int hDlg, int hCtl, int bPrevious)>('GetNextDlgTabItem');
  return _GetNextDlgTabItem(hDlg, hCtl, bPrevious);