All COM objects return HRESULTS. They're part of the COM standard.