GetNextDlgTabItem function user32
Retrieves a handle to the first control that has the WS_TABSTOP style that precedes (or follows) the specified control.
To learn more, see learn.microsoft.com/windows/win32/api/winuser/nf-winuser-getnextdlgtabitem.
Implementation
Win32Result<HWND> GetNextDlgTabItem(HWND hDlg, HWND? hCtl, bool bPrevious) {
final result_ = GetNextDlgTabItem_Wrapper(
hDlg,
hCtl ?? nullptr,
bPrevious ? TRUE : FALSE,
);
return .new(value: .new(result_.value.ptr), error: result_.error);
}