次の方法で共有


Dlfcn.GetUInt32(IntPtr, String) メソッド

定義

動的ライブラリから、指定されたシンボルで公開される uint 値を取得します。

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

パラメーター

handle
IntPtr

nativeint

で以前に開いた動的ライブラリへの dlopen(String, Int32)ハンドル。

symbol
String

参照する動的ライブラリ内のパブリック シンボルの名前。

戻り値

ライブラリからの値。エラーが発生した場合は 0。

注釈

このルーチンが失敗すると、0 が返されます。

適用対象