- Don't pretend success if we actually failed in CComModule::GetClassObject

svn path=/trunk/; revision=59444
This commit is contained in:
Thomas Faber 2013-07-07 10:20:49 +00:00
parent 915aea7b1a
commit 5e435112e9

View file

@ -617,6 +617,11 @@ public:
objectMapEntry++;
}
}
if (hResult == S_OK && *ppv == NULL)
{
// FIXME: call AtlComModuleGetClassObject
hResult = CLASS_E_CLASSNOTAVAILABLE;
}
return hResult;
}