Infrastructure Enhancement

* All: Added the interface to get HRESULT to the exception class that represents the COM error.