Files
Dec2017-Script-Dump/mscorlib/System/Runtime/InteropServices/_MethodRental.cs
T
2026-06-04 11:42:34 +02:00

49 lines
3.0 KiB
C#

using System;
using System.Reflection.Emit;
namespace System.Runtime.InteropServices
{
/// <summary>Exposes the <see cref="T:System.Reflection.Emit.MethodRental" /> class to unmanaged code.</summary>
// Token: 0x02000379 RID: 889
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[ComVisible(true)]
[CLSCompliant(false)]
[Guid("C2323C25-F57F-3880-8A4D-12EBEA7A5852")]
[TypeLibImportClass(typeof(MethodRental))]
public interface _MethodRental
{
/// <summary>Maps a set of names to a corresponding set of dispatch identifiers.</summary>
/// <param name="riid">Reserved for future use. Must be IID_NULL.</param>
/// <param name="rgszNames">An array of names to be mapped.</param>
/// <param name="cNames">The count of the names to be mapped.</param>
/// <param name="lcid">The locale context in which to interpret the names.</param>
/// <param name="rgDispId">An array allocated by the caller that receives the identifiers corresponding to the names.</param>
// Token: 0x060024B0 RID: 9392
void GetIDsOfNames([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId);
/// <summary>Retrieves the type information for an object, which can be used to get the type information for an interface.</summary>
/// <param name="iTInfo">The type information to return.</param>
/// <param name="lcid">The locale identifier for the type information.</param>
/// <param name="ppTInfo">A pointer to the requested type information object.</param>
// Token: 0x060024B1 RID: 9393
void GetTypeInfo(uint iTInfo, uint lcid, IntPtr ppTInfo);
/// <summary>Retrieves the number of type information interfaces that an object provides (either 0 or 1).</summary>
/// <param name="pcTInfo">When this method returns, contains a pointer to a location that receives the number of type information interfaces provided by the object. This parameter is passed uninitialized.</param>
// Token: 0x060024B2 RID: 9394
void GetTypeInfoCount(out uint pcTInfo);
/// <summary>Provides access to properties and methods exposed by an object.</summary>
/// <param name="dispIdMember">An identifier of a member.</param>
/// <param name="riid">Reserved for future use. Must be IID_NULL.</param>
/// <param name="lcid">The locale context in which to interpret arguments.</param>
/// <param name="wFlags">Flags describing the context of the call.</param>
/// <param name="pDispParams">A pointer to a structure containing an array of arguments, an array of argument DISPIDs for named arguments, and counts for the number of elements in the arrays.</param>
/// <param name="pVarResult">A pointer to the location where the result will be stored.</param>
/// <param name="pExcepInfo">A pointer to a structure that contains exception information.</param>
/// <param name="puArgErr">The index of the first argument that has an error.</param>
// Token: 0x060024B3 RID: 9395
void Invoke(uint dispIdMember, [In] ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr);
}
}