Dlfcn.GetNInt(IntPtr, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the nint value exposed with the given symbol from the dynamic library.
public static nint GetNInt (IntPtr handle, string symbol);
static member GetNInt : nativeint * string -> nint
Parameters
- handle
-
IntPtr
nativeint
Handle to the dynamic library previously opened with dlopen(String, Int32).
- symbol
- String
Name of the public symbol in the dynamic library to look up.
Returns
System.System.IntPtr
System.nativeint
The value from the library, or zero on failure.
Remarks
If this routine fails, it will return zero.