kerneltest/e32test/pccd/d_medt2.cpp
changeset 44 36bfc973b146
parent 43 96e5fb8b040d
equal deleted inserted replaced
43:96e5fb8b040d 44:36bfc973b146
   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());