Author: tfaber
Date: Sun Jul 7 10:20:49 2013
New Revision: 59444
URL:
http://svn.reactos.org/svn/reactos?rev=59444&view=rev
Log:
[ATL]
- Don't pretend success if we actually failed in CComModule::GetClassObject
Modified:
trunk/reactos/lib/atl/atlbase.h
Modified: trunk/reactos/lib/atl/atlbase.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/atl/atlbase.h?rev=5944…
==============================================================================
--- trunk/reactos/lib/atl/atlbase.h [iso-8859-1] (original)
+++ trunk/reactos/lib/atl/atlbase.h [iso-8859-1] Sun Jul 7 10:20:49 2013
@@ -617,6 +617,11 @@
objectMapEntry++;
}
}
+ if (hResult == S_OK && *ppv == NULL)
+ {
+ // FIXME: call AtlComModuleGetClassObject
+ hResult = CLASS_E_CLASSNOTAVAILABLE;
+ }
return hResult;
}