internal DllImportAttribute(string dllName, string entryPoint, System.Runtime.InteropServices.CharSet charSet, bool exactSpelling, bool setLastError, bool preserveSig, System.Runtime.InteropServices.CallingConvention callingConvention, bool bestFitMapping, bool throwOnUnmappableChar) { this._val = dllName; this.EntryPoint = entryPoint; this.CharSet = charSet; this.ExactSpelling = exactSpelling; this.SetLastError = setLastError; this.PreserveSig = preserveSig; this.CallingConvention = callingConvention; this.BestFitMapping = bestFitMapping; this.ThrowOnUnmappableChar = throwOnUnmappableChar; }
public DefaultCharSetAttribute(System.Runtime.InteropServices.CharSet charSet) { this._CharSet = charSet; }
public DynamicDllImport(string dllName, System.Runtime.InteropServices.CharSet charSet = System.Runtime.InteropServices.CharSet.Auto, System.Runtime.InteropServices.CallingConvention callingConvention = System.Runtime.InteropServices.CallingConvention.Cdecl) { this.dllName = dllName; this.CharSet = charSet; this.CallingConvention = callingConvention; }