1236
ret = LIBMTP_Get_Storageinfo(mtpdevice, &totalbytes, &freebytes, &desc, &label);
1236
// ret = LIBMTP_Get_Storageinfo(mtpdevice, &totalbytes, &freebytes, &desc, &label);
1237
ret = LIBMTP_Get_Storage(mtpdevice, LIBMTP_STORAGE_SORTBY_NOTSORTED);
1240
totalbytes = mtpdevice->storage->MaxCapacity;
1241
freebytes = mtpdevice->storage->FreeSpaceInBytes;
1243
// These are not used right now.
1238
1247
totalbytes = 0;