Ignore:
Timestamp:
1/27/2010 5:58:28 AM (4 years ago)
Author:
lowjoel
Message:

Replace all Marshal.GetExceptionForHR with Win32ErrorCode.GetExceptionForWin32Error since we deal with Win32 errors not unlike COM errors, except with a few exceptions and that we should be throwing Win32Exception instead of COMException.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/CodeReview/Eraser.Util/NtfsApi.cs

    r1681 r1705  
    7575                } 
    7676 
    77                 throw Marshal.GetExceptionForHR(Marshal.GetHRForLastWin32Error()); 
     77                throw Win32ErrorCode.GetExceptionForWin32Error(Marshal.GetLastWin32Error()); 
    7878            } 
    7979        } 
Note: See TracChangeset for help on using the changeset viewer.