Lines Matching refs:nRet

277     APIRET nRet = DosMove( aShortSource.Len()>0?(PSZ)aShortSource.GetStr():(PSZ)aSource.GetStr(),
280 if ( nRet == ERROR_DIRECTORY_IN_CDS ||
281 nRet == ERROR_CURRENT_DIRECTORY )
285 nRet = DosMove( aShortSource.Len()>0?(PSZ)aShortSource.GetStr():(PSZ)aSource.GetStr(),
288 else if ( nRet == ERROR_NOT_SAME_DEVICE )
292 nRet = aMover.Execute( FSYS_ACTION_MOVE|FSYS_ACTION_RECURSIVE );
293 return nRet;
296 if ( (nRet==NO_ERROR) && aShortDest.Len()>0)
301 return ApiRet2ToSolarError_Impl( nRet );
645 USHORT nRet; in TempDirImpl() local
649 nRet = DosScanEnv( (PSZ)"TEMP", &pVar ); in TempDirImpl()
650 if( nRet ) in TempDirImpl()
651 nRet = DosScanEnv( (PSZ)"temp", &pVar ); in TempDirImpl()
652 if( nRet ) in TempDirImpl()
653 nRet = DosScanEnv( (PSZ)"TMP", &pVar ); in TempDirImpl()
654 if( nRet ) in TempDirImpl()
655 nRet = DosScanEnv( (PSZ)"tmp", &pVar ); in TempDirImpl()
656 if( nRet ) in TempDirImpl()
657 nRet = DosScanEnv( (PSZ)"TMPDIR", &pVar ); in TempDirImpl()
662 sal_Bool bRemoveBS = nRet || *(pVar+strlen(pVar)-1) == '\\'; in TempDirImpl()
666 if( nRet ) in TempDirImpl()
668 nRet = DosScanEnv( (PSZ)"USER_INI",&pVar ); in TempDirImpl()
669 bAppendTemp = (0 == nRet); in TempDirImpl()
671 if( nRet ) in TempDirImpl()
673 nRet = DosScanEnv( (PSZ)"SYSTEM_INI", &pVar ); in TempDirImpl()
674 bAppendTemp = (0 == nRet); in TempDirImpl()
676 if( nRet ) in TempDirImpl()
786 APIRET nRet; in CreateDriveMapImpl()
794 nRet = DosDevConfig( (void*) &nFloppies, DEVINFO_FLOPPY ); in CreateDriveMapImpl()
820 nRet = DosOpen( (PSZ) pDriveName, &nDevHandle, in CreateDriveMapImpl()
826 if ( !nRet ) in CreateDriveMapImpl()
831 nRet = DosDevIOCtl(nDevHandle, 8, 0x20, in CreateDriveMapImpl()
836 if ( !nRet && !bFixed ) in CreateDriveMapImpl()
842 else if ( nRet == ERROR_NOT_READY ) in CreateDriveMapImpl()
847 nRet = 0; in CreateDriveMapImpl()
848 for ( USHORT n = 3; nRet != ERROR_NO_MORE_ITEMS; ++n ) in CreateDriveMapImpl()
851 nRet = DosQueryFSAttach( 0, n, FSAIL_DRVNUMBER, in CreateDriveMapImpl()
853 if ( !nRet ) in CreateDriveMapImpl()