strmbase: Allow constructor function to be NULL but display an error saying we don't implement the CLSID.

This commit is contained in:
Christian Costa 2012-03-15 08:17:10 +01:00 committed by Alexandre Julliard
parent 49962cd45d
commit 9ee4809dc3
1 changed files with 6 additions and 1 deletions

View File

@ -362,7 +362,12 @@ HRESULT WINAPI STRMBASE_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *
if (i == g_cTemplates)
{
FIXME("%s: no class found.\n", debugstr_guid(rclsid));
ERR("%s: no class found.\n", debugstr_guid(rclsid));
return CLASS_E_CLASSNOTAVAILABLE;
}
else if (!pList->m_lpfnNew)
{
FIXME("%s: class not implemented yet.\n", debugstr_guid(rclsid));
return CLASS_E_CLASSNOTAVAILABLE;
}