Top Description Fields Constructors Methods
com.sun.jna.win32

public Class W32APIFunctionMapper

extends Object
implements FunctionMapper
Class Inheritance
All Implemented Interfaces
com.sun.jna.FunctionMapper
Imports
java.lang.reflect.Method, com.sun.jna.FunctionMapper, .NativeLibrary

Encapsulates lookup of W32 API UNICODE/ASCII functions.

Field Summary

Modifier and TypeField and Description
public static final FunctionMapper
private final String
public static final FunctionMapper

Constructor Summary

AccessConstructor and Description
protected
W32APIFunctionMapper(boolean unicode)

Method Summary

Modifier and TypeMethod and Description
public String
getFunctionName(NativeLibrary library, Method method)

Implements com.sun.jna.FunctionMapper.getFunctionName.

Looks up the method name by adding a "W" or "A" suffix as appropriate.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

ASCIIback to summary
public static final FunctionMapper ASCII
suffixback to summary
private final String suffix
UNICODEback to summary
public static final FunctionMapper UNICODE

Constructor Detail

W32APIFunctionMapperback to summary
protected W32APIFunctionMapper(boolean unicode)

Method Detail

getFunctionNameback to summary
public String getFunctionName(NativeLibrary library, Method method)

Implements com.sun.jna.FunctionMapper.getFunctionName.

Looks up the method name by adding a "W" or "A" suffix as appropriate.