49 lines
3.0 KiB
C#
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.EnumBuilder" /> class to unmanaged code.</summary>
|
|
// Token: 0x0200036F RID: 879
|
|
[ComVisible(true)]
|
|
[CLSCompliant(false)]
|
|
[TypeLibImportClass(typeof(EnumBuilder))]
|
|
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
|
[Guid("C7BD73DE-9F85-3290-88EE-090B8BDFE2DF")]
|
|
public interface _EnumBuilder
|
|
{
|
|
/// <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: 0x06002411 RID: 9233
|
|
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: 0x06002412 RID: 9234
|
|
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: 0x06002413 RID: 9235
|
|
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: 0x06002414 RID: 9236
|
|
void Invoke(uint dispIdMember, [In] ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr);
|
|
}
|
|
}
|