Package com.sun.jna.win32
Klasse StdCallFunctionMapper
java.lang.Object
com.sun.jna.win32.StdCallFunctionMapper
- Alle implementierten Schnittstellen:
FunctionMapper
Provides mapping from simple method names to w32 stdcall-decorated names
where the name suffix is "@" followed by the number of bytes popped by
the called function.
NOTE: if you use custom type mapping for primitive types, you may need to
override getArgumentNativeStackSize(Class).
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected intgetArgumentNativeStackSize(Class<?> cls) Override this to handle any custom class mappings.getFunctionName(NativeLibrary library, Method method) Convert the given Java method into a decoratedstdcallname, if possible.
-
Konstruktordetails
-
StdCallFunctionMapper
public StdCallFunctionMapper()
-
-
Methodendetails
-
getArgumentNativeStackSize
Override this to handle any custom class mappings.- Parameter:
cls- Java class of a parameter- Gibt zurück:
- number of native bytes used for this class on the stack
-
getFunctionName
Convert the given Java method into a decoratedstdcallname, if possible.- Angegeben von:
getFunctionNamein SchnittstelleFunctionMapper- Parameter:
library- TheNativeLibraryinstancemethod- The invokedMethod- Gibt zurück:
- The decorated name
-