Set the maximum size of a window's client area.
void SDL_SetWindowMaximumSize(SDL_Window * window, int max_w, int max_h);
This function is available since SDL 2.0.0.
CategoryAPI