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); }
public uint SetVolumeLabelA(WinFspFileSystem FileSystem, string VolumeLabel, ref VolInfo VolumeInfo) { return(0); }
public uint GetVolumeInfo(WinFspFileSystem FileSystem, ref VolInfo VolumeInfo) { VolumeInfo = FsVolumeInfo; return(0); }