winamp/Src/Wasabi/api/service/svcs/svc_storagevolenum.cpp

31 lines
730 B
C++
Raw Normal View History

2024-09-24 14:54:57 +02:00
#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
//-----------------------------------------------------------------