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