equal
deleted
inserted
replaced
231 // Return the capabilities of the media |
231 // Return the capabilities of the media |
232 { |
232 { |
233 |
233 |
234 TLocalDriveCapsV2 caps; |
234 TLocalDriveCapsV2 caps; |
235 caps.iType=EMediaFlash; // Pretend its a Flash device |
235 caps.iType=EMediaFlash; // Pretend its a Flash device |
236 caps.iBattery=EBatNotSupported; |
236 caps.iConnectionBusType=EConnectionBusInternal; |
237 caps.iDriveAtt=KDriveAttLocal|KDriveAttRemovable; |
237 caps.iDriveAtt=KDriveAttLocal|KDriveAttRemovable; |
238 caps.iMediaAtt=KMediaAttFormattable; |
238 caps.iMediaAtt=KMediaAttFormattable; |
239 caps.iFileSystemId=KDriveFileSysFAT; |
239 caps.iFileSystemId=KDriveFileSysFAT; |
240 caps.iHiddenSectors=0; |
240 caps.iHiddenSectors=0; |
241 aCapsBuf.FillZ(aCapsBuf.MaxLength()); |
241 aCapsBuf.FillZ(aCapsBuf.MaxLength()); |