[bcl] Remove the ValueAdd and InetAccess NUnit categories (#2212)
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / IErrorInfo.cs
1 // IErrorInfo interface
2 //
3 // Eberhard Beilharz (eb1@sil.org)
4 //
5 // Copyright (C) 2011 SIL International
6
7 #if FEATURE_COMINTEROP
8
9 using System;
10 using System.Runtime.CompilerServices;
11 using System.Security;
12
13 namespace System.Runtime.InteropServices
14 {
15         [ComImport]
16         [SuppressUnmanagedCodeSecurity]
17         [Guid ("1CF2B120-547D-101B-8E65-08002B2BD119")]
18         [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
19         internal interface IErrorInfo
20         {
21                 [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
22                 [PreserveSig]
23                 int GetGUID (out Guid pGuid);
24
25                 [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
26                 [PreserveSig]
27                 int GetSource ([MarshalAs (UnmanagedType.BStr)] out string pBstrSource);
28
29                 [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
30                 [PreserveSig]
31                 int GetDescription ([MarshalAs (UnmanagedType.BStr)] out string pbstrDescription);
32
33                 [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
34                 [PreserveSig]
35                 int GetHelpFile ([MarshalAs (UnmanagedType.BStr)] out string pBstrHelpFile);
36
37                 [MethodImpl (MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
38                 [PreserveSig]
39                 int GetHelpContext (out uint pdwHelpContext);
40         }
41 }
42
43 #endif