[Android] Enable access to up-to-date tzdata on Android 10+ (#20350)
[mono-project.git] / mcs / class / corlib / System.Runtime.InteropServices / IErrorInfo.cs
blob8d23dc645970f3fb69e0bcd44bb7596bc07a96f5
1 // IErrorInfo interface
2 //
3 // Eberhard Beilharz (eb1@sil.org)
4 //
5 // Copyright (C) 2011 SIL International
7 #if FEATURE_COMINTEROP
9 using System;
10 using System.Runtime.CompilerServices;
11 using System.Security;
13 namespace System.Runtime.InteropServices
15 [ComImport]
16 [SuppressUnmanagedCodeSecurity]
17 [Guid ("1CF2B120-547D-101B-8E65-08002B2BD119")]
18 [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
19 internal interface IErrorInfo
21 [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
22 [PreserveSig]
23 int GetGUID (out Guid pGuid);
25 [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
26 [PreserveSig]
27 int GetSource ([MarshalAs (UnmanagedType.BStr)] out string pBstrSource);
29 [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
30 [PreserveSig]
31 int GetDescription ([MarshalAs (UnmanagedType.BStr)] out string pbstrDescription);
33 [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
34 [PreserveSig]
35 int GetHelpFile ([MarshalAs (UnmanagedType.BStr)] out string pBstrHelpFile);
37 [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
38 [PreserveSig]
39 int GetHelpContext (out uint pdwHelpContext);
43 #endif