m
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>Controls the marshaling behavior of a delegate signature passed as an unmanaged function pointer to or from unmanaged code. This class cannot be inherited.</summary>
|
||||
// Token: 0x02000584 RID: 1412
|
||||
[Token(Token = "0x2000584")]
|
||||
[AttributeUsage(AttributeTargets.Delegate)]
|
||||
[ComVisible(true)]
|
||||
public sealed class UnmanagedFunctionPointerAttribute : Attribute
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.UnmanagedFunctionPointerAttribute" /> class with the specified calling convention.</summary>
|
||||
/// <param name="callingConvention">The specified calling convention.</param>
|
||||
// Token: 0x06002CA9 RID: 11433 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002CA9")]
|
||||
[Address(RVA = "0x41F8E0", Offset = "0x41E8E0", VA = "0x18041F8E0")]
|
||||
public UnmanagedFunctionPointerAttribute(CallingConvention callingConvention)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400196B RID: 6507
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400196B")]
|
||||
private CallingConvention m_callingConvention;
|
||||
|
||||
/// <summary>Indicates how to marshal string parameters to the method, and controls name mangling.</summary>
|
||||
// Token: 0x0400196C RID: 6508
|
||||
[FieldOffset(Offset = "0x14")]
|
||||
[Token(Token = "0x400196C")]
|
||||
public CharSet CharSet;
|
||||
|
||||
/// <summary>Enables or disables best-fit mapping behavior when converting Unicode characters to ANSI characters.</summary>
|
||||
// Token: 0x0400196D RID: 6509
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400196D")]
|
||||
public bool BestFitMapping;
|
||||
|
||||
/// <summary>Enables or disables the throwing of an exception on an unmappable Unicode character that is converted to an ANSI "?" character.</summary>
|
||||
// Token: 0x0400196E RID: 6510
|
||||
[FieldOffset(Offset = "0x19")]
|
||||
[Token(Token = "0x400196E")]
|
||||
public bool ThrowOnUnmappableChar;
|
||||
|
||||
/// <summary>Indicates whether the callee calls the <see langword="SetLastError" /> Win32 API function before returning from the attributed method.</summary>
|
||||
// Token: 0x0400196F RID: 6511
|
||||
[FieldOffset(Offset = "0x1A")]
|
||||
[Token(Token = "0x400196F")]
|
||||
public bool SetLastError;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user