Changeset 489 for branches/eraser6/Util/VolumeInfo.cs
- Timestamp:
- 11/10/2008 9:22:48 AM (5 years ago)
- File:
-
- 1 edited
-
branches/eraser6/Util/VolumeInfo.cs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eraser6/Util/VolumeInfo.cs
r466 r489 147 147 if (GetVolumeNameForVolumeMountPoint(currentDir, volumeID, 50)) 148 148 return new VolumeInfo(volumeID.ToString()); 149 else if (Marshal.GetLastWin32Error() != 4390 /*ERROR_NOT_A_REPARSE_POINT*/) 150 throw new Win32Exception(Marshal.GetLastWin32Error()); 149 else 150 switch (Marshal.GetLastWin32Error()) 151 { 152 case 1: 153 case 4390: 154 break; 155 default: 156 throw new Win32Exception(Marshal.GetLastWin32Error()); 157 } 151 158 mountpointDir = mountpointDir.Parent; 152 159 }
Note: See TracChangeset
for help on using the changeset viewer.
