Library. Get Export(IntPtr, String) Method
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.
Gets the address of an exported symbol.
public: static IntPtr GetExport(IntPtr handle, System::String ^ name);
public static IntPtr GetExport (IntPtr handle, string name);
static member GetExport : nativeint * string -> nativeint
Public Shared Function GetExport (handle As IntPtr, name As String) As IntPtr
The native library OS handle.
The name of the exported symbol.
The address of the symbol.
The symbol is not found.
This is a simple wrapper around OS calls and does not perform any name mangling.
Calling this method with an invalid
handle parameter other than IntPtr.Zero is not supported and will result in undefined behaviour.