MCPcopy Create free account
hub / github.com/cinience/RedisStudio / GetContainer

Method GetContainer

DuiLib/Control/UIActiveX.cpp:395–404  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

393}
394
395STDMETHODIMP CActiveXCtrl::GetContainer(IOleContainer** ppContainer)
396{
397 DUITRACE(_T("AX: CActiveXCtrl::GetContainer"));
398 if( ppContainer == NULL ) return E_POINTER;
399 *ppContainer = NULL;
400 HRESULT Hr = E_NOTIMPL;
401 if( m_pUnkSite != NULL ) Hr = m_pUnkSite->QueryInterface(IID_IOleContainer, (LPVOID*) ppContainer);
402 if( FAILED(Hr) ) Hr = QueryInterface(IID_IOleContainer, (LPVOID*) ppContainer);
403 return Hr;
404}
405
406STDMETHODIMP CActiveXCtrl::ShowObject(void)
407{

Callers

nothing calls this directly

Calls 1

QueryInterfaceMethod · 0.45

Tested by

no test coverage detected