Пример #1
0
        private static Int32 GetVolumeInfo(
            IntPtr FileSystemPtr,
            out VolumeInfo VolumeInfo)
        {
            FileSystemBase FileSystem = (FileSystemBase)Api.GetUserContext(FileSystemPtr);

            try
            {
                return(FileSystem.GetVolumeInfo(
                           out VolumeInfo));
            }
            catch (Exception ex)
            {
                VolumeInfo = default(VolumeInfo);
                return(ExceptionHandler(FileSystem, ex));
            }
        }