Lines Matching refs:pPersist
172 ComSmart< IPersistStorage > pPersist; in CheckDefHandler() local
173 hr = m_pDefHandler->QueryInterface( IID_IPersistStorage, (void**)&pPersist ); in CheckDefHandler()
174 if ( SUCCEEDED( hr ) && pPersist ) in CheckDefHandler()
178 pPersist->HandsOffStorage(); in CheckDefHandler()
217 ComSmart< IPersistStorage > pPersist; in CheckDefHandler() local
218 … hr = m_pDefHandler->QueryInterface( IID_IPersistStorage, (void**)&pPersist ); in CheckDefHandler()
221 if ( SUCCEEDED( hr ) && pPersist && m_pStorage ) in CheckDefHandler()
222 hr = pPersist->InitNew( m_pStorage ); in CheckDefHandler()
227 ComSmart< IPersistStorage > pPersist; in CheckDefHandler() local
228 … hr = m_pDefHandler->QueryInterface( IID_IPersistStorage, (void**)&pPersist ); in CheckDefHandler()
231 if ( SUCCEEDED( hr ) && pPersist && m_pStorage ) in CheckDefHandler()
232 hr = pPersist->Load( m_pStorage ); in CheckDefHandler()
512 ComSmart< IPersistStorage > pPersist; in IsDirty() local
513 HRESULT hr = m_pDefHandler->QueryInterface( IID_IPersistStorage, (void**)&pPersist ); in IsDirty()
516 if ( SUCCEEDED( hr ) && pPersist ) in IsDirty()
517 return pPersist->IsDirty(); in IsDirty()
529 ComSmart< IPersistStorage > pPersist; in InitNew() local
530 HRESULT hr = m_pDefHandler->QueryInterface( IID_IPersistStorage, (void**)&pPersist ); in InitNew()
533 if ( SUCCEEDED( hr ) && pPersist ) in InitNew()
535 hr = pPersist->InitNew( pStg ); in InitNew()
563 ComSmart< IPersistStorage > pPersist; in Load() local
564 HRESULT hr = m_pDefHandler->QueryInterface( IID_IPersistStorage, (void**)&pPersist ); in Load()
567 if ( SUCCEEDED( hr ) && pPersist ) in Load()
570 hr = pPersist->Load( pStg ); in Load()
603 ComSmart< IPersistStorage > pPersist; in Save() local
604 HRESULT hr = m_pDefHandler->QueryInterface( IID_IPersistStorage, (void**)&pPersist ); in Save()
607 if ( SUCCEEDED( hr ) && pPersist ) in Save()
608 return pPersist->Save( pStgSave, fSameAsLoad ); in Save()
629 ComSmart< IPersistStorage > pPersist; in SaveCompleted() local
630 HRESULT hr = m_pDefHandler->QueryInterface( IID_IPersistStorage, (void**)&pPersist ); in SaveCompleted()
633 if ( SUCCEEDED( hr ) && pPersist ) in SaveCompleted()
635 hr = pPersist->SaveCompleted( pStgNew ); in SaveCompleted()
667 ComSmart< IPersistStorage > pPersist; in HandsOffStorage() local
668 HRESULT hr = m_pDefHandler->QueryInterface( IID_IPersistStorage, (void**)&pPersist ); in HandsOffStorage()
671 if ( SUCCEEDED( hr ) && pPersist ) in HandsOffStorage()
673 hr = pPersist->HandsOffStorage(); in HandsOffStorage()
694 ComSmart< IPersistFile > pPersist; in Load() local
695 HRESULT hr = m_pDefHandler->QueryInterface( IID_IPersistFile, (void**)&pPersist ); in Load()
698 if ( SUCCEEDED( hr ) && pPersist ) in Load()
700 hr = pPersist->Load( pszFileName, dwMode ); in Load()
725 ComSmart< IPersistFile > pPersist; in Save() local
726 HRESULT hr = m_pDefHandler->QueryInterface( IID_IPersistFile, (void**)&pPersist ); in Save()
729 if ( SUCCEEDED( hr ) && pPersist ) in Save()
730 return pPersist->Save( pszFileName, fRemember ); in Save()
742 ComSmart< IPersistFile > pPersist; in SaveCompleted() local
743 HRESULT hr = m_pDefHandler->QueryInterface( IID_IPersistFile, (void**)&pPersist ); in SaveCompleted()
746 if ( SUCCEEDED( hr ) && pPersist ) in SaveCompleted()
748 hr = pPersist->SaveCompleted( pszFileName ); in SaveCompleted()
772 ComSmart< IPersistFile > pPersist; in GetCurFile() local
773 HRESULT hr = m_pDefHandler->QueryInterface( IID_IPersistFile, (void**)&pPersist ); in GetCurFile()
776 if ( SUCCEEDED( hr ) && pPersist ) in GetCurFile()
777 return pPersist->GetCurFile( ppszFileName ); in GetCurFile()