namespace System.Runtime.InteropServices {
+ [ComVisible(true)]
[AttributeUsage (AttributeTargets.Method, Inherited=false)]
+ [StructLayout (LayoutKind.Sequential)]
public sealed class DllImportAttribute: Attribute {
+ #region Sync with reflection.h
public CallingConvention CallingConvention;
public CharSet CharSet;
+ private string Dll;
public string EntryPoint;
public bool ExactSpelling;
public bool PreserveSig;
public bool SetLastError;
-#if (NET_1_1)
-
public bool BestFitMapping;
public bool ThrowOnUnmappableChar;
+ #endregion
-#endif
-
- private string Dll;
-
public string Value {
get {return Dll;}
}
public DllImportAttribute (string dllName) {
Dll = dllName;
}
+
+
}
}