W32APIFunctionMapper (JNA API)
Description: declaration: package: com.sun.jna.win32, class: W32APIFunctionMapper

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 final FunctionMapper`
  `ASCII`
  `static final FunctionMapper`
  `UNICODE`

- ## Constructor Summary

  Constructors
  Modifier
  Constructor
  Description
  `protected`
  `W32APIFunctionMapper(boolean unicode)`

- ## Method Summary

  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.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### UNICODE

    public static final FunctionMapper UNICODE

  - ### ASCII

    public static final FunctionMapper ASCII

- ## Constructor Details

  - ### W32APIFunctionMapper

    protected W32APIFunctionMapper(boolean unicode)

- ## Method Details

  - ### 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 interface `FunctionMapper`