public class WinFunctionCache
extends com.jniwrapper.util.FunctionCache
In addition, this class is a factory for string parameters, which are created also according to whether Unicode or ANSI functions should be used.
Constructor and Description |
---|
WinFunctionCache(com.jniwrapper.Library library) |
WinFunctionCache(java.lang.String libraryName) |
Modifier and Type | Method and Description |
---|---|
boolean |
isUnicode() |
void |
setUnicode(boolean unicode)
Instructs the cache to use Unicode or ANSI functions and parameter types.
|
protected void |
setupEncoding() |
public WinFunctionCache(java.lang.String libraryName)
public WinFunctionCache(com.jniwrapper.Library library)
protected void setupEncoding()
public boolean isUnicode()
public void setUnicode(boolean unicode)
unicode
- if true, Unicode names and types will be used; otherwise
ANSI.