scrrun: Fix IFolder::QueryInterface() to respond to IDispatch query.

This commit is contained in:
Nikolay Sivov 2014-01-03 16:34:24 +04:00 committed by Alexandre Julliard
parent 2a3f1560bb
commit 0802e301ff

View file

@ -514,8 +514,9 @@ static HRESULT WINAPI folder_QueryInterface(IFolder *iface, REFIID riid, void **
*obj = NULL;
if (IsEqualGUID( riid, &IID_IFolder ) ||
IsEqualGUID( riid, &IID_IUnknown))
if (IsEqualIID( riid, &IID_IFolder ) ||
IsEqualIID( riid, &IID_IDispatch ) ||
IsEqualIID( riid, &IID_IUnknown))
{
*obj = iface;
IFolder_AddRef(iface);