Dlfcn.CachePointer(IntPtr, String, IntPtr*) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Looks up the specified constant symbol in the specified library, and stores it in the specified storage (unless the storage already contains a value, in which case that value is returned)
public static IntPtr CachePointer (IntPtr handle, string constant, IntPtr* storage);
static member CachePointer : nativeint * string * nativeptr<nativeint> -> nativeint
Parameters
- handle
-
IntPtr
nativeint
The handle for the library to search.
- constant
- String
The symbol to find.
- storage
-
nativeint*
A pointer to a storage location for the resulting pointer.
Returns
nativeint
A pointer to the constant symbol in the specified library.