equal
deleted
inserted
replaced
226 // Return the capabilities of the media |
226 // Return the capabilities of the media |
227 { |
227 { |
228 |
228 |
229 TLocalDriveCapsV2 caps; |
229 TLocalDriveCapsV2 caps; |
230 caps.iType=EMediaRam; |
230 caps.iType=EMediaRam; |
231 caps.iBattery=EBatNotSupported; |
231 caps.iConnectionBusType=EConnectionBusInternal; |
232 caps.iDriveAtt=KDriveAttLocal|KDriveAttRemovable; |
232 caps.iDriveAtt=KDriveAttLocal|KDriveAttRemovable; |
233 caps.iMediaAtt=KMediaAttFormattable; |
233 caps.iMediaAtt=KMediaAttFormattable; |
234 caps.iFileSystemId=KDriveFileSysFAT; |
234 caps.iFileSystemId=KDriveFileSysFAT; |
235 caps.iHiddenSectors=0; |
235 caps.iHiddenSectors=0; |
236 aCapsBuf.FillZ(aCapsBuf.MaxLength()); |
236 aCapsBuf.FillZ(aCapsBuf.MaxLength()); |