Zebediah Figura : objsel: Do not create an object from IClassFactory::QueryInterface().
Module: wine Branch: master Commit: 512f8b17aee3fe25d1ec062667ef9e1eb24a485a URL: https://gitlab.winehq.org/wine/wine/-/commit/512f8b17aee3fe25d1ec062667ef9e1... Author: Zebediah Figura <zfigura(a)codeweavers.com> Date: Wed Sep 6 17:46:54 2023 -0500 objsel: Do not create an object from IClassFactory::QueryInterface(). --- dlls/objsel/objsel.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/dlls/objsel/objsel.c b/dlls/objsel/objsel.c index 41f548bbc75..fce397cf557 100644 --- a/dlls/objsel/objsel.c +++ b/dlls/objsel/objsel.c @@ -189,10 +189,6 @@ static HRESULT WINAPI class_factory_QueryInterface(IClassFactory *iface, REFIID IClassFactory_AddRef(iface); return S_OK; } - else if (IsEqualGUID(iid, &IID_IDsObjectPicker)) - { - return IClassFactory_CreateInstance(iface, NULL, iid, out); - } WARN("%s not implemented, returning E_NOINTERFACE.\n", debugstr_guid(iid)); return E_NOINTERFACE;
participants (1)
-
Alexandre Julliard