Example #1
0
            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));
            }
Example #2
0
 public ErrorException(IntPtr error_ptr)
 {
     OSError = (OS.Error)Marshal.PtrToStructure(error_ptr, typeof(OS.Error));
 }
Example #3
0
 internal static extern IntPtr Wimp_ReportError(OS.Error error,
                                                Wimp.ErrorBoxFlags flags,
                                                string name,
                                                out int click);