That function now takes just one argument, and the bool is to determine the quiet option (meaning whether or not to show the dialog).
You'd need to copy the newer implementation, tweak it for your needs, and then save and load it in your own custom macro file.