System.Reflection.MethodImportAttributes
namespace System.Reflection
{
public enum MethodImportAttributes : short
{
None = 0,
ExactSpelling = 1,
BestFitMappingDisable = 32,
BestFitMappingEnable = 16,
BestFitMappingMask = 48,
CharSetAnsi = 2,
CharSetUnicode = 4,
CharSetAuto = 6,
CharSetMask = 6,
ThrowOnUnmappableCharEnable = 4096,
ThrowOnUnmappableCharDisable = 8192,
ThrowOnUnmappableCharMask = 12288,
SetLastError = 64,
CallingConventionWinApi = 256,
CallingConventionCDecl = 512,
CallingConventionStdCall = 768,
CallingConventionThisCall = 1024,
CallingConventionFastCall = 1280,
CallingConventionMask = 1792
}
}