C# Class XAPI.DllInvoke

Inheritance: XAPI.InvokeBase
Show file Open project: QuantBox/XAPI2

Public Methods

Method Description
Dispose ( ) : void
DllInvoke ( string DLLPath ) : System
GetSysErrMsg ( int errCode ) : string
Invoke ( string APIName, Type t ) : Delegate

Private Methods

Method Description
FormatMessage ( int flag, IntPtr &source, int msgid, int langid, string &buf, int size, IntPtr &args ) : int
FreeLibrary ( IntPtr hModule ) : bool
GetDllDirectory ( int bufSize, StringBuilder buf ) : int
GetProcAddress ( IntPtr hModule, string lpProcName ) : IntPtr
LoadLibrary ( string lpFileName ) : IntPtr
LoadLibraryEx ( string lpFileName, IntPtr hReservedNull, LoadLibraryFlags dwFlags ) : IntPtr
SetDllDirectory ( string lpPathName ) : bool

Method Details

Dispose() public method

public Dispose ( ) : void
return void

DllInvoke() public method

public DllInvoke ( string DLLPath ) : System
DLLPath string
return System

GetSysErrMsg() public static method

public static GetSysErrMsg ( int errCode ) : string
errCode int
return string

Invoke() public method

public Invoke ( string APIName, Type t ) : Delegate
APIName string
t System.Type
return System.Delegate