MakeResult
HResult facility function