Package com.sun.jna.win32
Class W32APIFunctionMapper
- java.lang.Object
-
- com.sun.jna.win32.W32APIFunctionMapper
-
- All Implemented Interfaces:
FunctionMapper
public class W32APIFunctionMapper extends Object implements FunctionMapper
Encapsulates lookup of W32 API UNICODE/ASCII functions.
-
-
Field Summary
Fields Modifier and Type Field Description static FunctionMapper
ASCII
static FunctionMapper
UNICODE
-
Constructor Summary
Constructors Modifier Constructor Description protected
W32APIFunctionMapper(boolean unicode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFunctionName(NativeLibrary library, Method method)
Looks up the method name by adding a "W" or "A" suffix as appropriate.
-
-
-
Field Detail
-
UNICODE
public static final FunctionMapper UNICODE
-
ASCII
public static final FunctionMapper ASCII
-
-
Method Detail
-
getFunctionName
public String getFunctionName(NativeLibrary library, Method method)
Looks up the method name by adding a "W" or "A" suffix as appropriate.- Specified by:
getFunctionName
in interfaceFunctionMapper
-
-