public ErrorEventArgs(IntPtr unmanagedEventData) : base(unmanagedEventData) { IntPtr error_ptr = new IntPtr(unmanagedEventData.ToInt32() + EventOffset.OSError); Error = (OS.Error)Marshal.PtrToStructure(error_ptr, typeof(OS.Error)); }
public ErrorException(IntPtr error_ptr) { OSError = (OS.Error)Marshal.PtrToStructure(error_ptr, typeof(OS.Error)); }
internal static extern IntPtr Wimp_ReportError(OS.Error error, Wimp.ErrorBoxFlags flags, string name, out int click);