Dlfcn.GetUInt32(IntPtr, String) Method

Definition

Gets the uint value exposed with the given symbol from the dynamic library.

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

Parameters

handle
IntPtr

Handle to the dynamic library previously opened with dlopen.

symbol
String

Name of the public symbol in the dynamic library to look up.

Returns

UInt32

The value from the library, or zero on failure.

Remarks

If this routine fails, it will return zero.

Applies to