mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
scrrun: Fix IFolder::QueryInterface() to respond to IDispatch query.
This commit is contained in:
parent
2a3f1560bb
commit
0802e301ff
1 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue