shdocvw: Return DIID_DWebBrowserEvents in GetGUID for WebBrowser_V1.
This commit is contained in:
parent
0476397387
commit
84d93d1981
|
@ -76,7 +76,8 @@ static HRESULT WINAPI ProvideClassInfo_GetGUID(IProvideClassInfo2 *iface,
|
||||||
return E_FAIL;
|
return E_FAIL;
|
||||||
}
|
}
|
||||||
|
|
||||||
memcpy(pGUID, &DIID_DWebBrowserEvents2, sizeof(GUID));
|
memcpy(pGUID, This->version == 1 ? &DIID_DWebBrowserEvents : &DIID_DWebBrowserEvents2,
|
||||||
|
sizeof(GUID));
|
||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue