Edit

Share via


Dlfcn.GetIndirect(IntPtr, String) Method

Definition

Gets the pointer in memory to the specified symbol.

public static IntPtr GetIndirect (IntPtr handle, string symbol);
static member GetIndirect : nativeint * string -> nativeint

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

IntPtr

nativeint

The value from the library, or IntPtr.Zero on failure.

Remarks

Use this to get a generic pointer to a public symbol in the library.

Applies to