Top Description Methods
com.sun.jna

public Interface SymbolProvider


Interface to define a custom symbol provider. This can be used for method hooking, or special classes like direct mapping the Win32 OpenGL.

Method Summary

Modifier and TypeMethod and Description
public long

Returns:

Address of the symbol, typically a function.
getSymbolAddress
(long
Handle of the original library
handle
,
String
Name of the symbol to load
name
,
SymbolProvider
Parent symbol provider
parent
)

Gets the address of a symbol by its name and the handle of the library.

Method Detail

getSymbolAddressback to summary
public long getSymbolAddress(long handle, String name, SymbolProvider parent)

Gets the address of a symbol by its name and the handle of the library.

Parameters
handle:long

Handle of the original library

name:String

Name of the symbol to load

parent:SymbolProvider

Parent symbol provider

Returns:long

Address of the symbol, typically a function.