aboutsummaryrefslogtreecommitdiff
path: root/Src/Wasabi/api/service/svcs/svc_storagevolenum.cpp
blob: 8e26b7935ed2606e3424e083f85fedf35744704a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#include <precomp.h>
#include "svc_storagevolenum.h"

//-----------------------------------------------------------------

#define CBCLASS StorageVolumeI
START_DISPATCH;
  CB(GETVOLUMENAME, getVolumeName);
  CB(GETMOUNTPATH, getMountPath);
  CB(GETLABEL, getLabel);
  CB(GETTYPE, getType);
  CB(ISREMOVABLE, isRemovable);
  CB(ISWRITABLE, isWritable);
  CB(GETFREESPACE, getFreeSpace);
  CB(GETSIZE, getSize);
END_DISPATCH;
#undef CBCLASS

//-----------------------------------------------------------------

#define CBCLASS svc_storageVolumeEnumI
START_DISPATCH;
  CB(GETNUMVOLUMES, getNumVolumes);
  CB(ENUMVOLUME, enumVolume);
END_DISPATCH;
#undef CBCLASS

//-----------------------------------------------------------------