What library was Unreal Engine 4 written in?

Hi, I know this is an unusual question, but what library was Unreal Engine 4 written in? I know it was written in C++, but which library? SFML, OpenGL, DirectX, or something else? Thanks for your time!

Unreal can interface with different graphics API’s, and supports a variety of them.

Okay, thanks a lot.