1 // IErrorInfo interface
3 // Eberhard Beilharz (eb1@sil.org)
5 // Copyright (C) 2011 SIL International
10 using System.Runtime.CompilerServices;
11 using System.Security;
13 namespace System.Runtime.InteropServices
16 [SuppressUnmanagedCodeSecurity]
17 [Guid ("1CF2B120-547D-101B-8E65-08002B2BD119")]
18 [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
19 internal interface IErrorInfo
21 [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
23 int GetGUID (out Guid pGuid);
25 [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
27 int GetSource ([MarshalAs (UnmanagedType.BStr)] out string pBstrSource);
29 [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
31 int GetDescription ([MarshalAs (UnmanagedType.BStr)] out string pbstrDescription);
33 [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
35 int GetHelpFile ([MarshalAs (UnmanagedType.BStr)] out string pBstrHelpFile);
37 [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
39 int GetHelpContext (out uint pdwHelpContext);