Enum ImplementationMapAttributes
- Namespace
- AsmResolver.PE.DotNet.Metadata.Tables
- Assembly
- AsmResolver.PE.dll
Provides members defining all possible flags that can be assigned to a P/Invoke implementation mapping.
[Flags]
public enum ImplementationMapAttributes : ushort
Fields
BestFitDisabled = 32Indicates best-fit mapping behavior when converting Unicode characters to ANSI characters is disabled.
BestFitEnabled = 16Indicates best-fit mapping behavior when converting Unicode characters to ANSI characters is enabled.
BestFitMask = BestFitEnabled | BestFitDisabledProvides a mask for the best-fit behaviour.
BestFitUseAssem = 0Indicates best fit mapping behavior when converting Unicode characters to ANSI characters is determined by the runtime.
CallConvCdecl = 512Indicates P/Invoke will use the C calling convention.
CallConvFastcall = CallConvWinapi | CallConvThiscallIndicates P/Invoke will use the fastcall calling convention.
CallConvMask = CallConvCdecl | CallConvFastcallProvides a mask for the calling convention flags.
CallConvStdcall = CallConvWinapi | CallConvCdeclIndicates P/Invoke will use the stdcall calling convention.
CallConvThiscall = 1024Indicates P/Invoke will use the thiscall calling convention.
CallConvWinapi = 256Indicates P/Invoke will use the native calling convention appropriate to target windows platform.
CharSetAnsi = 2Indicates the character set used is ANSI.
CharSetAuto = CharSetAnsi | CharSetUnicodeIndicates the character set is determined by the runtime.
CharSetMask = CharSetAnsi | CharSetUnicodeProvides a mask for the character set.
CharSetNotSpec = 0Indicates the character set was not specified.
CharSetUnicode = 4Indicates the character set used is unicode.
NoMangle = 1Indicates no name mangling was used.
SupportsLastError = 64Indicates whether the callee calls the SetLastError Win32 API function before returning from the attributed method.
ThrowOnUnmappableCharDisabled = 8192Indicates the runtime will not throw an exception on an unmappable Unicode character that is converted to an ANSI "?" character.
ThrowOnUnmappableCharEnabled = 4096Indicates the runtime will throw an exception on an unmappable Unicode character that is converted to an ANSI "?" character.
ThrowOnUnmappableCharMask = ThrowOnUnmappableCharEnabled | ThrowOnUnmappableCharDisabledProvides a mask for the throw on unmappable behaviour.
ThrowOnUnmappableCharUseAssem = 0Indicates the throw behaviour on an unmappable Unicode character is undefined.