Windows is a closed-source operating system, but many of its frameworks, including runtime packages, UI libraries, and even the Calculator app, are open-source.