lib/dcom: use HRESULT in dcom_create_object.