2010/7/18 Mariusz PluciƄski <vsha...@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?


Reply via email to