Method TryGetExport
TryGetExport(nint, string, out nint)
Get a pointer to an export from the given library.
public static bool TryGetExport(this nint libraryPtr, string name, out nint functionPtr)
Parameters
libraryPtrnint- The library handle.
namestring- The function name.
functionPtrnint- The export pointer, or null if it wasn't found.