public static int GetLastError() { return System.Runtime.InteropServices.Marshal.GetLastWin32Error(); }