If people look beyond desktop, specifically to enterprise software and cloud computing it should be pretty clear that Microsoft is not in decline. If anything they are more in control and cohesive than ever..
In healthcare and government, MSFT has things owned at the desktop level.
They may be losing at the home level, but they can just jack up their license fees (or move to more subscription models) to make up for it.