Lines Matching refs:pOleObject

129                 ComSmart< IOleObject > pOleObject;  in CheckDefHandler()  local
130 HRESULT hr = m_pDefHandler->QueryInterface( IID_IOleObject, (void**)&pOleObject ); in CheckDefHandler()
131 if ( SUCCEEDED( hr ) && pOleObject ) in CheckDefHandler()
138 pOleObject->Unadvise( nID ); in CheckDefHandler()
142 pOleObject->SetClientSite( NULL ); in CheckDefHandler()
259 ComSmart< IOleObject > pOleObject; in CheckDefHandler() local
260 hr = m_pDefHandler->QueryInterface( IID_IOleObject, (void**)&pOleObject ); in CheckDefHandler()
261 if ( SUCCEEDED( hr ) && pOleObject ) in CheckDefHandler()
265 pOleObject->SetClientSite( m_pClientSite ); in CheckDefHandler()
272 … if ( SUCCEEDED( pOleObject->Advise( m_pOleAdvises[nInd], &nRegID ) ) && nRegID > 0 ) in CheckDefHandler()
803 ComSmart< IOleObject > pOleObject; in SetClientSite() local
804 HRESULT hr = m_pDefHandler->QueryInterface( IID_IOleObject, (void**)&pOleObject ); in SetClientSite()
807 if ( SUCCEEDED( hr ) && pOleObject ) in SetClientSite()
809 HRESULT hr = pOleObject->SetClientSite( pSite ); in SetClientSite()
838 ComSmart< IOleObject > pOleObject; in GetClientSite() local
839 HRESULT hr = m_pDefHandler->QueryInterface( IID_IOleObject, (void**)&pOleObject ); in GetClientSite()
842 if ( SUCCEEDED( hr ) && pOleObject ) in GetClientSite()
843 return pOleObject->GetClientSite( pSite ); in GetClientSite()
856 ComSmart< IOleObject > pOleObject; in SetHostNames() local
857 HRESULT hr = m_pDefHandler->QueryInterface( IID_IOleObject, (void**)&pOleObject ); in SetHostNames()
860 if ( SUCCEEDED( hr ) && pOleObject ) in SetHostNames()
863 hr = pOleObject->SetHostNames( szContainerApp, szContainerObj ); in SetHostNames()
877 ComSmart< IOleObject > pOleObject; in Close() local
878 HRESULT hr = m_pDefHandler->QueryInterface( IID_IOleObject, (void**)&pOleObject ); in Close()
881 if ( SUCCEEDED( hr ) && pOleObject ) in Close()
883 hr = pOleObject->Close( dwSaveOption ); in Close()
900 ComSmart< IOleObject > pOleObject; in SetMoniker() local
901 HRESULT hr = m_pDefHandler->QueryInterface( IID_IOleObject, (void**)&pOleObject ); in SetMoniker()
904 if ( SUCCEEDED( hr ) && pOleObject ) in SetMoniker()
905 return pOleObject->SetMoniker( dwWhichMoniker, pmk ); in SetMoniker()
917 ComSmart< IOleObject > pOleObject; in GetMoniker() local
918 HRESULT hr = m_pDefHandler->QueryInterface( IID_IOleObject, (void**)&pOleObject ); in GetMoniker()
921 if ( SUCCEEDED( hr ) && pOleObject ) in GetMoniker()
922 return pOleObject->GetMoniker( dwAssign, dwWhichMoniker, ppmk ); in GetMoniker()
934 ComSmart< IOleObject > pOleObject; in InitFromData() local
935 HRESULT hr = m_pDefHandler->QueryInterface( IID_IOleObject, (void**)&pOleObject ); in InitFromData()
938 if ( SUCCEEDED( hr ) && pOleObject ) in InitFromData()
939 return pOleObject->InitFromData( pDataObject, fCreation, dwReserved ); in InitFromData()
951 ComSmart< IOleObject > pOleObject; in GetClipboardData() local
952 HRESULT hr = m_pDefHandler->QueryInterface( IID_IOleObject, (void**)&pOleObject ); in GetClipboardData()
955 if ( SUCCEEDED( hr ) && pOleObject ) in GetClipboardData()
956 return pOleObject->GetClipboardData( dwReserved, ppDataObject ); in GetClipboardData()
975 ComSmart< IOleObject > pOleObject; in DoVerb() local
976 HRESULT hr = m_pDefHandler->QueryInterface( IID_IOleObject, (void**)&pOleObject ); in DoVerb()
981 if ( SUCCEEDED( hr ) && pOleObject ) in DoVerb()
984 hr = pOleObject->DoVerb( iVerb, pMsg, pActiveSite, nLong, hWin, pRect ); in DoVerb()
1005 ComSmart< IOleObject > pOleObject; in EnumVerbs() local
1006 HRESULT hr = m_pDefHandler->QueryInterface( IID_IOleObject, (void**)&pOleObject ); in EnumVerbs()
1009 if ( SUCCEEDED( hr ) && pOleObject ) in EnumVerbs()
1010 return pOleObject->EnumVerbs( ppEnumOleVerb ); in EnumVerbs()
1023 ComSmart< IOleObject > pOleObject; in Update() local
1024 HRESULT hr = m_pDefHandler->QueryInterface( IID_IOleObject, (void**)&pOleObject ); in Update()
1027 if ( SUCCEEDED( hr ) && pOleObject ) in Update()
1028 return pOleObject->Update(); in Update()
1040 ComSmart< IOleObject > pOleObject; in IsUpToDate() local
1041 HRESULT hr = m_pDefHandler->QueryInterface( IID_IOleObject, (void**)&pOleObject ); in IsUpToDate()
1044 if ( SUCCEEDED( hr ) && pOleObject ) in IsUpToDate()
1045 return pOleObject->IsUpToDate(); in IsUpToDate()
1067 ComSmart< IOleObject > pOleObject; in GetUserType() local
1068 HRESULT hr = m_pDefHandler->QueryInterface( IID_IOleObject, (void**)&pOleObject ); in GetUserType()
1071 if ( SUCCEEDED( hr ) && pOleObject ) in GetUserType()
1072 return pOleObject->GetUserType( dwFormOfType, pszUserType ); in GetUserType()
1084 ComSmart< IOleObject > pOleObject; in SetExtent() local
1085 HRESULT hr = m_pDefHandler->QueryInterface( IID_IOleObject, (void**)&pOleObject ); in SetExtent()
1088 if ( SUCCEEDED( hr ) && pOleObject ) in SetExtent()
1089 return pOleObject->SetExtent( dwDrawAspect, psizel ); in SetExtent()
1101 ComSmart< IOleObject > pOleObject; in GetExtent() local
1102 HRESULT hr = m_pDefHandler->QueryInterface( IID_IOleObject, (void**)&pOleObject ); in GetExtent()
1105 if ( SUCCEEDED( hr ) && pOleObject ) in GetExtent()
1106 return pOleObject->GetExtent( dwDrawAspect, psizel ); in GetExtent()
1129 ComSmart< IOleObject > pOleObject; in Advise() local
1130 HRESULT hr = m_pDefHandler->QueryInterface( IID_IOleObject, (void**)&pOleObject ); in Advise()
1133 if ( SUCCEEDED( hr ) && pOleObject ) in Advise()
1138 if ( SUCCEEDED( pOleObject->Advise( pOwnAdvise, &nRegID ) ) && nRegID > 0 ) in Advise()
1145 pOleObject->Unadvise( nRegID ); in Advise()
1161 ComSmart< IOleObject > pOleObject; in Unadvise() local
1162 HRESULT hr = m_pDefHandler->QueryInterface( IID_IOleObject, (void**)&pOleObject ); in Unadvise()
1165 if ( SUCCEEDED( hr ) && pOleObject ) in Unadvise()
1168 pOleObject->Unadvise( nID ); in Unadvise()
1205 ComSmart< IOleObject > pOleObject; in GetMiscStatus() local
1206 HRESULT hr = m_pDefHandler->QueryInterface( IID_IOleObject, (void**)&pOleObject ); in GetMiscStatus()
1209 if ( SUCCEEDED( hr ) && pOleObject ) in GetMiscStatus()
1210 return pOleObject->GetMiscStatus( dwAspect, pdwStatus ); in GetMiscStatus()
1222 ComSmart< IOleObject > pOleObject; in SetColorScheme() local
1223 HRESULT hr = m_pDefHandler->QueryInterface( IID_IOleObject, (void**)&pOleObject ); in SetColorScheme()
1226 if ( SUCCEEDED( hr ) && pOleObject ) in SetColorScheme()
1227 return pOleObject->SetColorScheme( pLogpal ); in SetColorScheme()