Text says “depth”, I read “spaghetti”
Having read the code and lots of other MS code. It is in pretty typical MS style. Though a bit undercommented for the random few modules I looked at. I am sure there are probably a few bits in there that are hairy. But I think I will skip that code review today.
Do not mistake someone else's "style" for "ugly". It is an easy trap to fall into.