Lines Matching refs:fSuccess

177 	BOOL	fSuccess = FALSE;	// assume failure  in MoveFileEx9x()  local
208 fSuccess = WritePrivateProfileSectionA( RENAME_SECTION, szBuffer, WININIT_FILENAME ); in MoveFileEx9x()
217 fSuccess = MoveFileA( lpExistingFileNameA, lpNewFileNameA ); in MoveFileEx9x()
219 if ( !fSuccess && GetLastError() != ERROR_ACCESS_DENIED && in MoveFileEx9x()
224 fSuccess = CopyFileA( lpExistingFileNameA, lpNewFileNameA, bFailIfExist ); in MoveFileEx9x()
226 if ( fSuccess ) in MoveFileEx9x()
227 fSuccess = DeleteFileA( lpExistingFileNameA ); in MoveFileEx9x()
232 return fSuccess; in MoveFileEx9x()
247 bool fSuccess = true; in SwapFiles() local
250 fSuccess = MoveFileExImpl( sFileName1.c_str(), sTempFileName.c_str(), MOVEFILE_REPLACE_EXISTING); in SwapFiles()
254 if ( fSuccess ) in SwapFiles()
256 fSuccess = MoveFileExImpl( sFileName2.c_str(), sFileName1.c_str(), MOVEFILE_REPLACE_EXISTING ); in SwapFiles()
258 if ( fSuccess ) in SwapFiles()
260 fSuccess = MoveFileExImpl( sTempFileName.c_str(), sFileName2.c_str(), in SwapFiles()
262 if ( !fSuccess ) in SwapFiles()
281 fSuccess = MoveFileExImpl( sFileName2.c_str(), sFileName1.c_str(), MOVEFILE_REPLACE_EXISTING ); in SwapFiles()
301 …OutputDebugStringFormat( TEXT("%s <-> %s: %s"), sFileName1.c_str(), sFileName2.c_str(), fSuccess ?… in SwapFiles()
303 if (!fSuccess ) in SwapFiles()
326 return fSuccess; in SwapFiles()
690 BOOL fSuccess = false; in IsOfficeRunning() local
702 fSuccess = FindNextFile( hFind, &aFindFileData ); in IsOfficeRunning()
704 } while ( fSuccess && fRenameSucceeded ); in IsOfficeRunning()