Re: [2/5] gameux: Add IClassFactory implementation
19 Jul
2010
19 Jul
'10
1:10 p.m.
2010/7/18 Mariusz PluciĆski <vshader(a)gmail.com>:
+static HRESULT WINAPI gameuxcf_QueryInterface( + IClassFactory *iface, + REFIID riid, + LPVOID *ppobj ) +{ + if (IsEqualGUID(riid, &IID_IUnknown) || + IsEqualGUID(riid, &IID_IClassFactory)) + { + IClassFactory_AddRef( iface ); + *ppobj = iface; + return S_OK; + } + + FIXME("interface %s not implemented\n", debugstr_guid(riid)); + return E_NOINTERFACE; +} QueryInterface() is usually supposed to set "*ppobj" to NULL if the interface is not implemented by the object, any reason for not doing that here?
5630
Age (days ago)
5630
Last active (days ago)
0 comments
1 participants
participants (1)
-
Henri Verbeet