Package com.sun.jna.win32
Class W32APITypeMapper
java.lang.Object
com.sun.jna.DefaultTypeMapper
com.sun.jna.win32.W32APITypeMapper
- All Implemented Interfaces:
TypeMapper
Provide standard conversion for W32 API types. This comprises the
following native types:
- Unicode or ASCII/MBCS strings and arrays of string, as appropriate
- BOOL
- Author:
- twall
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TypeMapper
Standard TypeMapper to use the ASCII/MBCS version of a w32 API.static final TypeMapper
Default TypeMapper to use - depends on the value ofw32.ascii
system propertystatic final TypeMapper
Standard TypeMapper to use the unicode version of a w32 API. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.sun.jna.DefaultTypeMapper
addFromNativeConverter, addToNativeConverter, addTypeConverter, getFromNativeConverter, getToNativeConverter
-
Field Details
-
UNICODE
Standard TypeMapper to use the unicode version of a w32 API. -
ASCII
Standard TypeMapper to use the ASCII/MBCS version of a w32 API. -
DEFAULT
Default TypeMapper to use - depends on the value ofw32.ascii
system property
-
-
Constructor Details
-
W32APITypeMapper
protected W32APITypeMapper(boolean unicode)
-