1723 if (aDriveNumber==EDriveZ) |
1723 if (aDriveNumber==EDriveZ) |
1724 { |
1724 { |
1725 anInfo.iType=EMediaRom; |
1725 anInfo.iType=EMediaRom; |
1726 anInfo.iMediaAtt=KMediaAttWriteProtected; |
1726 anInfo.iMediaAtt=KMediaAttWriteProtected; |
1727 anInfo.iDriveAtt=KDriveAttRom|KDriveAttInternal; |
1727 anInfo.iDriveAtt=KDriveAttRom|KDriveAttInternal; |
|
1728 anInfo.iConnectionBusType=EConnectionBusInternal; |
1728 return; |
1729 return; |
1729 } |
1730 } |
1730 if (aDriveNumber==EDriveC) |
1731 if (aDriveNumber==EDriveC) |
1731 { |
1732 { |
1732 anInfo.iType=EMediaHardDisk; |
1733 anInfo.iType=EMediaHardDisk; |
1733 anInfo.iMediaAtt=KMediaAttVariableSize; |
1734 anInfo.iMediaAtt=KMediaAttVariableSize; |
1734 anInfo.iDriveAtt=KDriveAttLocal|KDriveAttInternal; |
1735 anInfo.iDriveAtt=KDriveAttLocal|KDriveAttInternal; |
|
1736 anInfo.iConnectionBusType=EConnectionBusInternal; |
1735 return; |
1737 return; |
1736 } |
1738 } |
1737 TFileName envValue; |
1739 TFileName envValue; |
1738 if (MapDrive(envValue,aDriveNumber)) |
1740 if (MapDrive(envValue,aDriveNumber)) |
1739 { |
1741 { |
1740 anInfo.iType=EMediaHardDisk; |
1742 anInfo.iType=EMediaHardDisk; |
1741 anInfo.iDriveAtt=KDriveAttLocal|KDriveAttInternal; |
1743 anInfo.iDriveAtt=KDriveAttLocal|KDriveAttInternal; |
|
1744 anInfo.iConnectionBusType=EConnectionBusInternal; |
1742 return; |
1745 return; |
1743 } |
1746 } |
1744 anInfo.iType=EMediaNotPresent; |
1747 anInfo.iType=EMediaNotPresent; |
1745 anInfo.iDriveAtt=0; |
1748 anInfo.iDriveAtt=0; |
1746 } |
1749 } |