Class WindowsLibraryLoader
This class handles native libraries on Windows
Inheritance
WindowsLibraryLoader
Assembly: FRC.WPIUtil.dll
Syntax
public class WindowsLibraryLoader : ILibraryLoader, IFunctionPointerLoader
Properties
|
Improve this Doc
View Source
NativeLibraryHandle
Gets the native library handle for the library
Declaration
public IntPtr NativeLibraryHandle { get; }
Property Value
Methods
|
Improve this Doc
View Source
TryLoadLibrary(String)
Try to load a native library from a path
Declaration
public bool TryLoadLibrary(string filename)
Parameters
Type |
Name |
Description |
String |
filename |
|
Returns
Explicit Interface Implementations
|
Improve this Doc
View Source
IFunctionPointerLoader.GetProcAddress(String)
Declaration
IntPtr IFunctionPointerLoader.GetProcAddress(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Returns
|
Improve this Doc
View Source
ILibraryLoader.LoadLibrary(String)
Declaration
void ILibraryLoader.LoadLibrary(string filename)
Parameters
Type |
Name |
Description |
String |
filename |
|
|
Improve this Doc
View Source
ILibraryLoader.UnloadLibrary()
Declaration
void ILibraryLoader.UnloadLibrary()
Implements