PBXGetVolInfoSync is deprecated as is just about every other function that will convert from a path to a vol ref number so don't bother. Just use the volume name to flush since that was the only thing the vol ref number was used for.

Compute volume size using block size times number of blocks.
This commit is contained in:
Steve Checkoway
2006-02-06 02:58:34 +00:00
parent e541108c52
commit 52b7411cee
2 changed files with 9 additions and 41 deletions
@@ -11,7 +11,6 @@ struct UsbStorageDevice
iBus = -1;
iPort = -1;
iLevel = -1;
iRefNum = -1;
sDevice = "";
sSerial = "<none>"; // be different than a card with no serial
sOsMountDir = "";
@@ -28,7 +27,6 @@ struct UsbStorageDevice
int iBus;
int iPort;
int iLevel;
int iRefNum;
RString sSerial;
RString sDevice;
RString sOsMountDir; // WITHOUT trailing slash