strmbase: Allow constructor function to be NULL but display an error saying we don't implement the CLSID.
This commit is contained in:
parent
49962cd45d
commit
9ee4809dc3
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue