Commit 20e302e2 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

explorerframe: Return interface pointer from QI instead of impl pointer.

parent d7f0a5ff
......@@ -818,7 +818,7 @@ static HRESULT WINAPI NSTC2_fnQueryInterface(INameSpaceTreeControl2* iface,
IsEqualIID(riid, &IID_INameSpaceTreeControl) ||
IsEqualIID(riid, &IID_IUnknown))
{
*ppvObject = This;
*ppvObject = &This->INameSpaceTreeControl2_iface;
}
else if(IsEqualIID(riid, &IID_IOleWindow))
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment