It actually runs games sandboxed essentially in their own VM by a custom Hypervisor....
Therefore the SDK used to build for the XBOX platform is a custom subset OS/DirectX calls that don't necessarily have a direct comparative call on an x64 Windows OS however the more recompilation that's carried out the quicker standard calls will be recognised and mapped to optimised recreated code