共用方式為


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

指定程式庫中常數符號的指標。

適用於