Implement StringToCoTaskMem{Ansi,Uni} (bug 58102).
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / UCOMITypeInfo.cs
1
2 // System.Runtime.InteropServices.UCOMITypeInfo.cs
3 //
4 // Paolo Molaro (lupus@ximian.com)
5 //
6 // (C) 2002 Ximian, Inc.
7
8 using System;
9
10 namespace System.Runtime.InteropServices
11 {
12
13         [Guid("00020401-0000-0000-c000-000000000046")]
14         [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
15         public interface UCOMITypeInfo {
16                 void AddressOfMember (int memid, INVOKEKIND invKind, out IntPtr ppv); 
17                 void CreateInstance (object pUnkOuter, ref Guid riid, out object ppvObj);
18                 void GetContainingTypeLib (out UCOMITypeLib ppTLB, out int pIndex);
19                 void GetDllEntry (int memid, INVOKEKIND invKind, out string pBstrDllName, out string pBstrName, out short pwOrdinal);
20                 void GetDocumentation (int index, out string strName, out string strDocString, out int dwHelpContext, out string strHelpFile);
21                 void GetFuncDesc (int index, out IntPtr ppFuncDesc);
22                 void GetIDsOfNames ([In] string[] rgszNames, int cNames, [Out] int[] pMemId);
23                 void GetImplTypeFlags (int index, out int pImplTypeFlags);
24                 void GetMops (int memid, out string pBstrMops);
25                 void GetNames (int memid, [Out] string[] rgBstrNames, int cMaxNames, out int pcNames);
26                 void GetRefTypeInfo (int hRef, out UCOMITypeInfo ppTI);
27                 void GetRefTypeOfImplType (int index, out int href);
28                 void GetTypeAttr (out IntPtr ppTypeAttr);
29                 void GetTypeComp (out UCOMITypeComp ppTComp);
30                 void GetVarDesc (int index, out IntPtr ppVarDesc);
31                 void Invoke (object pvInstance, int memid, short wFlags, ref DISPPARAMS pDispParams, out object pVarResult, out EXCEPINFO pExcepInfo, out int puArgErr);
32                 void ReleaseFuncDesc (IntPtr pFuncDesc);
33                 void ReleaseTypeAttr (IntPtr pTypeAttr);
34                 void ReleaseVarDesc (IntPtr pVarDesc);
35         }
36 }
37