2 // System.Runtime.InteropServices.ComTypes.ITypeLib2.cs
5 // Kazuki Oikawa (kazuki@panicode.com)
10 namespace System.Runtime.InteropServices.ComTypes
13 [Guid ("00020411-0000-0000-C000-000000000046")]
14 [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
15 public interface ITypeLib2 : ITypeLib
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);
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);
32 new void ReleaseTLibAttr (IntPtr pTLibAttr);
35 new int GetTypeInfoCount ();