Microsoft has done a decent job. Digital purchases made on 360 that are compatible with Xbox One/Series consoles have transferred over and you often get the PC and Xbox version of a title for buying a game in the Windows Store (and get the PC version if it is available in the Windows Store if you buy on Xbox).