Against Austria. Basically recover Hungary. By the first war after 1699. Is this possible?
At this point in time? Even the Venetians (though admittedly with Habsburg help) were giving them problems. There's a bigger chance of the Europeans recovering the Ottoman Balkans than the Ottomans recovering whatever gains they made in Central Europe.
Maybe Austria loses very hard in the WotSS and Hungary falls into chaos, with the Turks moving not much later? By that time Poland and Russia are busy with the Great Northern War and with Austria screwed there shouldn't be much external resistance.