Merge pull request #910 from akoeplinger/cleanup-test-ignores
[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 using System;
9
10 namespace System.Runtime.InteropServices.ComTypes
11 {
12         [ComImport]
13         [Guid ("00020411-0000-0000-C000-000000000046")]
14         [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
15         public interface ITypeLib2 : ITypeLib
16         {
17                 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);
18                 void GetCustData(ref Guid guid, out object pVarVal);
19                 new void GetDocumentation (int index, out string strName, out string strDocString, out int dwHelpContext, out string strHelpFile);
20                 new void GetLibAttr (out IntPtr ppTLibAttr);
21                 void GetLibStatistics(IntPtr pcUniqueNames, out int pcchUniqueNames);
22                 [LCIDConversion(1)]
23                 void GetDocumentation2(int index, out string pbstrHelpString, out int pdwHelpStringContext, out string pbstrHelpStringDll);
24                 void GetAllCustData(IntPtr pCustData);
25                 new void GetTypeComp (out ITypeComp ppTComp);
26                 new void GetTypeInfo (int index, out ITypeInfo ppTI);
27                 new void GetTypeInfoOfGuid (ref Guid guid, out ITypeInfo ppTInfo);
28                 new void GetTypeInfoType (int index, out TYPEKIND pTKind);
29                 [return: MarshalAs (UnmanagedType.Bool)]
30                 new bool IsName ([MarshalAs(UnmanagedType.LPWStr)] string szNameBuf, int lHashVal);
31                 [PreserveSig]
32                 new void ReleaseTLibAttr (IntPtr pTLibAttr);
33                 // undocumented
34                 [PreserveSig]
35                 new int GetTypeInfoCount ();
36         }
37 }