svc_storagevolenum.cpp 730 B

123456789101112131415161718192021222324252627282930
  1. #include <precomp.h>
  2. #include "svc_storagevolenum.h"
  3. //-----------------------------------------------------------------
  4. #define CBCLASS StorageVolumeI
  5. START_DISPATCH;
  6. CB(GETVOLUMENAME, getVolumeName);
  7. CB(GETMOUNTPATH, getMountPath);
  8. CB(GETLABEL, getLabel);
  9. CB(GETTYPE, getType);
  10. CB(ISREMOVABLE, isRemovable);
  11. CB(ISWRITABLE, isWritable);
  12. CB(GETFREESPACE, getFreeSpace);
  13. CB(GETSIZE, getSize);
  14. END_DISPATCH;
  15. #undef CBCLASS
  16. //-----------------------------------------------------------------
  17. #define CBCLASS svc_storageVolumeEnumI
  18. START_DISPATCH;
  19. CB(GETNUMVOLUMES, getNumVolumes);
  20. CB(ENUMVOLUME, enumVolume);
  21. END_DISPATCH;
  22. #undef CBCLASS
  23. //-----------------------------------------------------------------