Dlfcn.CachePointer(IntPtr, String, IntPtr*) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
查找指定库中的指定常量符号,并将其存储在指定的存储 (中,除非存储已包含值,在这种情况下,该值将返回)
public static IntPtr CachePointer (IntPtr handle, string constant, IntPtr* storage);
static member CachePointer : nativeint * string * nativeptr<nativeint> -> nativeint
参数
- handle
-
IntPtr
nativeint
要搜索的库的句柄。
- constant
- String
要查找的符号。
- storage
-
nativeint*
指向所生成指针的存储位置的指针。
返回
IntPtr
nativeint
指向指定库中常量符号的指针。