GeneratedDllImportAttribute
Indicates that method will be generated at compile time and invoke into an unmanaged library entry point
namespace System.Runtime.InteropServices
{
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
internal sealed class GeneratedDllImportAttribute : Attribute
{
public CharSet CharSet { get; set; }
public string EntryPoint { get; set; }
public bool ExactSpelling { get; set; }
public bool SetLastError { get; set; }
public string LibraryName { get; set; }
public GeneratedDllImportAttribute(string dllName)
{
LibraryName = dllName;
}
}
}