New test.
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices.ComTypes / ITypeInfo2.cs
1 //
2 // System.Runtime.InteropServices.ComTypes.ITypeInfo2.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("00020412-0000-0000-C000-000000000046")]
15         [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
16         public interface ITypeInfo2 : ITypeInfo
17         {
18                 void GetTypeKind (out TYPEKIND pTypeKind);
19                 void GetTypeFlags (out int pTypeFlags);
20                 void GetFuncIndexOfMemId (int memid, INVOKEKIND invKind, out int pFuncIndex);
21                 void GetVarIndexOfMemId (int memid, out int pVarIndex);
22                 void GetCustData (ref Guid guid, out object pVarVal);
23                 void GetFuncCustData(int index, ref Guid guid, out object pVarVal);
24                 void GetParamCustData(int indexFunc, int indexParam, ref Guid guid, out object pVarVal);
25                 void GetVarCustData(int index, ref Guid guid, out object pVarVal);
26                 void GetImplTypeCustData(int index, ref Guid guid, out object pVarVal);
27                 [LCIDConversion (1)]
28                 void GetDocumentation2(int memid, out string pbstrHelpString, out int pdwHelpStringContext, out string pbstrHelpStringDll);
29                 void GetAllCustData(IntPtr pCustData);
30                 void GetAllFuncCustData(int index, IntPtr pCustData);
31                 void GetAllParamCustData(int indexFunc, int indexParam, IntPtr pCustData);
32                 void GetAllVarCustData(int index, IntPtr pCustData);
33                 void GetAllImplTypeCustData(int index, IntPtr pCustData);
34         }
35 }
36 #endif