Exemple #1
0
 private void InitFsp()
 {
     Fsp                      = new WinFsp(Config, this, null, null);
     FsVolumeInfo             = new VolInfo();
     FsVolumeInfo.FreeSize    = (ulong)1024 * 1024 * 1024 * 10;
     FsVolumeInfo.TotalSize   = (ulong)1024 * 1024 * 1024 * 10;
     FsVolumeInfo.VolumeLable = "InfyCloud";
     rootDirectory            = new RamDir("\\");
     _fileObjects.TryAdd("\\", rootDirectory);
     _fileObjects.TryAdd("", rootDirectory);
 }
Exemple #2
0
 public uint SetVolumeLabelA(WinFspFileSystem FileSystem, string VolumeLabel, ref VolInfo VolumeInfo)
 {
     return(0);
 }
Exemple #3
0
 public uint GetVolumeInfo(WinFspFileSystem FileSystem, ref VolInfo VolumeInfo)
 {
     VolumeInfo = FsVolumeInfo;
     return(0);
 }