This commit is contained in:
niko
2026-06-04 11:42:34 +02:00
parent f39ba70a9f
commit e720b98cd1
7488 changed files with 2493818 additions and 0 deletions
@@ -0,0 +1,50 @@
using System;
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: 0x02000361 RID: 865
[ComVisible(true)]
[AttributeUsage(AttributeTargets.Delegate, Inherited = false, AllowMultiple = false)]
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: 0x060023AA RID: 9130 RVA: 0x0007AB60 File Offset: 0x00078D60
public UnmanagedFunctionPointerAttribute(CallingConvention callingConvention)
{
this.call_conv = callingConvention;
}
/// <summary>Gets the value of the calling convention.</summary>
/// <returns>The value of the calling convention specified by the <see cref="M:System.Runtime.InteropServices.UnmanagedFunctionPointerAttribute.#ctor(System.Runtime.InteropServices.CallingConvention)" /> constructor.</returns>
// Token: 0x17000662 RID: 1634
// (get) Token: 0x060023AB RID: 9131 RVA: 0x0007AB70 File Offset: 0x00078D70
public CallingConvention CallingConvention
{
get
{
return this.call_conv;
}
}
// Token: 0x04000E26 RID: 3622
private CallingConvention call_conv;
/// <summary>Indicates how to marshal string parameters to the method, and controls name mangling.</summary>
// Token: 0x04000E27 RID: 3623
public CharSet CharSet;
/// <summary>Indicates whether the callee calls the SetLastError Win32 API function before returning from the attributed method.</summary>
// Token: 0x04000E28 RID: 3624
public bool SetLastError;
/// <summary>Enables or disables best-fit mapping behavior when converting Unicode characters to ANSI characters.</summary>
// Token: 0x04000E29 RID: 3625
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: 0x04000E2A RID: 3626
public bool ThrowOnUnmappableChar;
}
}