Microsoft is really good at supporting products it releases even if they don't take off, at least when it comes to software.
But by the time they finally had a really good OS, developer interest simply wasn't there anymore and a mobile platform lives or dies by it's app store.
Gaming is different because you have the advantage of being able to court and fund exclusive titles eg Halo and Gears of War