Lines Matching refs:nDrive
767 for ( USHORT nDrive = 0; nDrive < 26; ++nDrive ) in CreateDriveMapImpl() local
769 if ( nDrive < nFloppies ) in CreateDriveMapImpl()
771 aDriveMap[nDrive].nKind = FSYS_KIND_REMOVEABLE; in CreateDriveMapImpl()
772 aDriveMap[nDrive].nStyle = FSYS_STYLE_FAT; in CreateDriveMapImpl()
776 aDriveMap[nDrive].nKind = FSYS_KIND_UNKNOWN; in CreateDriveMapImpl()
777 aDriveMap[nDrive].nStyle = FSYS_STYLE_UNKNOWN; in CreateDriveMapImpl()
787 USHORT nDrive; in CreateDriveMapImpl()
797 for ( nDrive = 0; nDrive < 26; ++nDrive ) in CreateDriveMapImpl()
799 if ( nDrive < nFloppies ) in CreateDriveMapImpl()
801 aDriveMap[nDrive].nKind = FSYS_KIND_REMOVEABLE; in CreateDriveMapImpl()
802 aDriveMap[nDrive].nStyle = FSYS_STYLE_FAT; in CreateDriveMapImpl()
806 aDriveMap[nDrive].nKind = FSYS_KIND_UNKNOWN; in CreateDriveMapImpl()
807 aDriveMap[nDrive].nStyle = FSYS_STYLE_UNKNOWN; in CreateDriveMapImpl()
812 for ( nDrive = 2; nDrive < 26; ++nDrive ) in CreateDriveMapImpl()
818 pDriveName[0] = nDrive+'a'; in CreateDriveMapImpl()
829 PM_BYTE nDriveId = nDrive; in CreateDriveMapImpl()
837 aDriveMap[nDrive].nKind = FSYS_KIND_REMOVEABLE; in CreateDriveMapImpl()
843 aDriveMap[nDrive].nKind = FSYS_KIND_REMOVEABLE | FSYS_KIND_CDROM; in CreateDriveMapImpl()
855 nDrive = toupper(aBuf.aBuf.szName[0]) - 'A'; in CreateDriveMapImpl()
857 if ( aDriveMap[nDrive].nKind == FSYS_KIND_UNKNOWN ) in CreateDriveMapImpl()
858 aDriveMap[nDrive].nKind = in CreateDriveMapImpl()
864 aDriveMap[nDrive].nStyle = in CreateDriveMapImpl()
877 aDriveMap[nDrive].nKind = FSYS_KIND_CDROM|FSYS_KIND_REMOVEABLE; in CreateDriveMapImpl()