I was thinking how could Austria win this rather disasterous war? For gain I think what would later become Danube(Tuna) Vilayet would be likely plus the Danube principalities. (thanks to Abdul) Why this area, because it's easier to control than Bosnia with the transportion at the time. A interesting aspect are also what would the effect of the ethnic cleansing of eastern Tun be*. Could we see a Black Sea "Swabia"? or would Romanians settle it. What would the consequences for the Romanians be if their entire population was part of the Austrian Empire, would we see the Eastern Catholic Church end up dominant among Romanians? What would the early influx of a large number of Danubian Muslims mean for the Ottoman Empire (Muslim majority in Edirne)? *More or less unavoidable at the time.