Class NativeLibLoader
Inheritance
NativeLibLoader
Assembly: STMachiningToolsImportHelper.dll
public static class NativeLibLoader
Methods
Declaration
public static void FreeDll(nint handle)
Parameters
| Type |
Name |
Description |
| nint |
handle |
|
Declaration
public static delegateT GetProc<delegateT>(nint dllHandle, string procName) where delegateT : class
Parameters
| Type |
Name |
Description |
| nint |
dllHandle |
|
| string |
procName |
|
Returns
| Type |
Description |
| delegateT |
|
Type Parameters
| Name |
Description |
| delegateT |
|
Declaration
public static nint LoadDll(string libName)
Parameters
| Type |
Name |
Description |
| string |
libName |
|
Returns
Declaration
public static nint LoadDll(string libName, out int errorCode)
Parameters
| Type |
Name |
Description |
| string |
libName |
|
| int |
errorCode |
|
Returns