Microsoft has not "open-sourced the code" of Windows to anyone, anywhere. Windows is proprietary. Open source means it is not only publicly readable, but also, anyone may modify it.
I think you must mean, "made the code available under Non-Disclosure Agreement (NDA)". Yes?
The distinction is huge, and profound. Proprietary code, under NDA, is the opposite of open source.