* HttpListener2Test.cs: Added test for bug #513849.
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices.ComTypes / ITypeLib2.cs
1 //
2 // System.Runtime.InteropServices.ComTypes.ITypeLib2.cs
3 //
4 // Author:
5 //   Kazuki Oikawa (kazuki@panicode.com)
6 //
7
8 #if NET_2_0
9 using System;
10
11 namespace System.Runtime.InteropServices.ComTypes
12 {
13         [ComImport]
14         [Guid ("00020411-0000-0000-C000-000000000046")]
15         [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
16         public interface ITypeLib2 : ITypeLib
17         {
18                 new void FindName ([MarshalAs(UnmanagedType.LPWStr)] string szNameBuf, int lHashVal, [Out, MarshalAs (UnmanagedType.LPArray)] ITypeInfo[] ppTInfo, [Out, MarshalAs (UnmanagedType.LPArray)] int[] rgMemId, ref short pcFound);
19                 void GetCustData(ref Guid guid, out object pVarVal);
20                 new void GetDocumentation (int index, out string strName, out string strDocString, out int dwHelpContext, out string strHelpFile);
21                 new void GetLibAttr (out IntPtr ppTLibAttr);
22                 void GetLibStatistics(IntPtr pcUniqueNames, out int pcchUniqueNames);
23                 [LCIDConversion(1)]
24                 void GetDocumentation2(int index, out string pbstrHelpString, out int pdwHelpStringContext, out string pbstrHelpStringDll);
25                 void GetAllCustData(IntPtr pCustData);
26                 new void GetTypeComp (out ITypeComp ppTComp);
27                 new void GetTypeInfo (int index, out ITypeInfo ppTI);
28                 new void GetTypeInfoOfGuid (ref Guid guid, out ITypeInfo ppTInfo);
29                 new void GetTypeInfoType (int index, out TYPEKIND pTKind);
30                 [return: MarshalAs (UnmanagedType.Bool)]
31                 new bool IsName ([MarshalAs(UnmanagedType.LPWStr)] string szNameBuf, int lHashVal);
32                 [PreserveSig]
33                 new void ReleaseTLibAttr (IntPtr pTLibAttr);
34                 // undocumented
35                 [PreserveSig]
36                 new int GetTypeInfoCount ();
37         }
38 }
39 #endif