shdocvw: Return DIID_DWebBrowserEvents in GetGUID for WebBrowser_V1.

This commit is contained in:
Jacek Caban 2006-08-09 16:31:31 +02:00 committed by Alexandre Julliard
parent 0476397387
commit 84d93d1981
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}