(Shell.File): added GetLastError method.

This commit is contained in:
morkt 2014-07-29 06:55:52 +04:00
parent 32f3dd134f
commit 616fce969c

View File

@ -53,6 +53,11 @@ namespace GARbro.Shell
{
return MoveFileEx (szFrom, szTo, MoveFileFlags.ReplaceExisting);
}
public static int GetLastError ()
{
return Marshal.GetLastWin32Error();
}
}
public class TemporaryFile : IDisposable