X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=activex%2Folecontrol.cpp;h=32e2f1c82ff3f74b8a81e5128631617d3bd68aa6;hb=9e11182b0b6accaaed446c064836d37e7249f8b1;hp=0cdd7e710f91e94417963674b8c679398629bce7;hpb=2cb472dba008f7d877ffe6bae9c5575253365282;p=vlc diff --git a/activex/olecontrol.cpp b/activex/olecontrol.cpp index 0cdd7e710f..32e2f1c82f 100644 --- a/activex/olecontrol.cpp +++ b/activex/olecontrol.cpp @@ -40,18 +40,18 @@ STDMETHODIMP VLCOleControl::GetControlInfo(CONTROLINFO *pCI) STDMETHODIMP VLCOleControl::OnMnemonic(LPMSG pMsg) { - return E_NOTIMPL; + return S_OK; }; STDMETHODIMP VLCOleControl::OnAmbientPropertyChange(DISPID dispID) { HRESULT hr; - IOleObject *oleObj; + LPOLEOBJECT oleObj; hr = QueryInterface(IID_IOleObject, (LPVOID *)&oleObj); if( SUCCEEDED(hr) ) { - IOleClientSite *clientSite; + LPOLECLIENTSITE clientSite; hr = oleObj->GetClientSite(&clientSite); if( SUCCEEDED(hr) && (NULL != clientSite) )