Christian Costa : strmbase: Allow constructor function to be NULL but display an error saying we don' t implement the CLSID.
Alexandre Julliard
julliard at winehq.org
Thu Mar 15 15:35:20 CDT 2012
Module: wine
Branch: master
Commit: 9ee4809dc3dac7a281188ec133b20e79798c003c
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9ee4809dc3dac7a281188ec133b20e79798c003c
Author: Christian Costa <titan.costa at gmail.com>
Date: Thu Mar 15 08:17:10 2012 +0100
strmbase: Allow constructor function to be NULL but display an error saying we don't implement the CLSID.
---
dlls/strmbase/dllfunc.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/dlls/strmbase/dllfunc.c b/dlls/strmbase/dllfunc.c
index 44b115e..34e03e6 100644
--- a/dlls/strmbase/dllfunc.c
+++ b/dlls/strmbase/dllfunc.c
@@ -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;
}
More information about the wine-cvs
mailing list