Commit 84d93d19 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

shdocvw: Return DIID_DWebBrowserEvents in GetGUID for WebBrowser_V1.

parent 04763973
......@@ -76,7 +76,8 @@ static HRESULT WINAPI ProvideClassInfo_GetGUID(IProvideClassInfo2 *iface,
return E_FAIL;
}
memcpy(pGUID, &DIID_DWebBrowserEvents2, sizeof(GUID));
memcpy(pGUID, This->version == 1 ? &DIID_DWebBrowserEvents : &DIID_DWebBrowserEvents2,
sizeof(GUID));
return S_OK;
}
......
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