This depends on the degree of the French victory. Blenheim is often used in TLs for this although there are other chances. A siege of Vienna or an invasion of Britain are not plausible IMO but it's possible for the French to overrun the Allies' armies in Flanders, northern Italy and Spain. Naples, Sicily, Sardinia and Milan actually did swear fealty to Philip V but were occupied later by the Allies. Anyway, let's presume the Bourbons win this way.
Philip V gets Spain, Naples, Sicily, Sardinia, Duchy of Milan, State of Presidi and the Spanish Netherlands. He could cede something to back to his grandfather, maybe some bordering cities in the Southern Netherlands
France could also get some cities on the Rhine, Breisgau or some other territories and in Italy it could be Duchy of Savoy and Nice. If British take some regions in North America like Acadia it would be returned. Asiento would also go to France weakening Britain even further.
Other important butterflied could be that maybe the Duke of Burgundy or his oldest son survives 1711 removing the possible succession crisis in France and maintaining the Franco-Spanish alliance in the future decades
EDIT: also, maybe France takes Lorraine and compensates the Duke with Milan or the ANL