Adopt an open standard, add proprietary bits so that content worked best (or exclusively) on their own version, and force other players and competitors out.
I'm terribly sorry, I could not resist.
in fact, i've got my win10 box set up for dev, and it's nearly identical to my mac! it wasn't 100% straightforward, and to get windowed emacs working from the cli took a little twiddling, but overall in less than a few hours i had everything running flawlessly. :)