Dlfcn.CachePointer(IntPtr, String, IntPtr*) 方法

定义

查找指定库中的指定常量符号,并将其存储在指定的存储 (中,除非存储已包含值,在这种情况下,该值将返回)

public static IntPtr CachePointer (IntPtr handle, string constant, IntPtr* storage);
static member CachePointer : nativeint * string * nativeptr<nativeint> -> nativeint

参数

handle
IntPtr

nativeint

要搜索的库的句柄。

constant
String

要查找的符号。

storage

IntPtr*

nativeint*

指向所生成指针的存储位置的指针。

返回

IntPtr

nativeint

指向指定库中常量符号的指针。

适用于