Lines Matching refs:hret
842 HRESULT hret;
843 hret = m_ActiveX.QueryInterface(iid, pUnk);
844 wxASSERT(SUCCEEDED(hret));
849 hret = m_clientSite.QueryInterface(
851 wxASSERT(SUCCEEDED(hret));
857 hret = m_Dispatch.QueryInterface(IID_IDispatch, m_ActiveX);
869 hret = classInfo->GetClassInfo(typeInfo.GetRef());
874 hret = typeInfo->GetTypeAttr(&ta);
886 hret = typeInfo->GetRefTypeOfImplType(i, &rt);
887 if (! SUCCEEDED(hret))
892 hret = typeInfo->GetRefTypeInfo(rt, ti.GetRef());
920 hret = ti->GetTypeAttr(&ta);
934 HRESULT hret =
936 wxASSERT ( SUCCEEDED(hret));
940 hret = cp->Advise(new wxActiveXEvents(this, ta->guid),
942 wxASSERT_MSG( SUCCEEDED(hret),
943 wxString::Format(wxT("Cannot connect!\nHRESULT:%X"), (unsigned int)hret)
959 hret = m_oleObject.QueryInterface(IID_IOleObject, m_ActiveX);
960 wxASSERT(SUCCEEDED(hret));
963 hret = m_viewObject.QueryInterface(IID_IViewObject, m_ActiveX);
964 wxASSERT(SUCCEEDED(hret));
968 hret = m_oleObject->Advise(adviseSink, &m_docAdviseCookie);
970 // hret = m_viewObject->SetAdvise(DVASPECT_CONTENT, 0, adviseSink);
977 hret = m_oleInPlaceObject.QueryInterface(
979 wxASSERT(SUCCEEDED(hret));
984 wxASSERT(SUCCEEDED(hret));
997 hret = pPersistStreamInit->InitNew();
1011 hret = m_oleInPlaceObject->GetWindow(&m_oleObjectHWND);
1012 if (SUCCEEDED(hret))
1023 hret = m_oleObject->DoVerb(OLEIVERB_INPLACEACTIVATE, NULL,
1025 hret = m_oleObject->DoVerb(OLEIVERB_SHOW, 0, m_clientSite, 0,
1031 hret = m_oleInPlaceObject->GetWindow(&m_oleObjectHWND);