Convert HRESULT return value to Exception RRS feed

  • Question

  • I vaguely remember reading about a function that would take an HRESULT and throw the proper exception if !SUCCESS().  Does this function already exist or do I remember incorrectly?  If it doesn't exist then it would be easy to implement, but I would rather not rewrite it if not necessary.
    Saturday, March 23, 2013 7:17 PM