|
JNA API> 3.2.7 | ||||||||
PREV NEXT | FRAMES NO FRAMES |
FromNativeConverter
to convert a native result type into the
given Java type.
ToNativeConverter
to define the conversion into a native
type from arguments of the given Java type.
TypeConverter
to provide bidirectional mapping between
a native and Java type.
Callback
closure.Callback
result to a native value.<type> *
)
representations.(void*)CONSTANT
.
(void*)CONSTANT
.
Pointer
to the specified object.
PointerType
with identical pointers compare
equal by default.
Function
that is linked with a native
function that follows the given calling convention.
Function
that is linked with a native
function that follows the given calling convention.
Function.PostCallRead.read()
method called immediately after function invocation.malloc
space, a la
Pointer.getByte
.
byte
.
malloc
space, a la
Pointer.getByte
.
wchar_t
.
Component
as a long
value.
Component
as a Pointer
value.
Buffer
into a Pointer
.
malloc
space, a la
Pointer.getDouble
.
double
.
Field
being read from native memory.
Field
being written to native memory.
malloc
space, a la
Pointer.getFloat
.
float
.
FromNativeConverter
appropriate for the given Java class.
Function
representing a native
function that follows the standard "C" calling convention.
Function
representing a native
function.
Function
representing a native
function pointer.
Function
representing a native
function pointer.
Function
that is linked with a native
function that follows the NativeLibrary's calling convention.
Function
that is linked with a native
function that follows the NativeLibrary's calling convention.
Pointer
to the native function address for the
given callback.
malloc
space, a la
Pointer.getInt
.
int
.
InvocationHandler
responsible for handling the
invocation of the given method, or null
if the default
handling should be used.
malloc
space, a la
Pointer.getLong
.
long
.
long
.
malloc
space, a la
Pointer.getPointer
.
Pointer
.
Pointer
object to this structure.
Pointer
.
Pointer
of the requested size.
LastErrorException
instead.
malloc
space, a la
Pointer.getShort
.
short
.
Memory.size()
instead.
malloc
space, a la
Pointer.getString
.
String
based on a native array
of char *
.
String
based on a native array
of char *
, using the given array length.
String
based on a native array
of char*
or wchar_t*
based on the
wide
parameter.
String
based on a native array
of char*
or wchar_t*
based on the
wide
parameter, using the given array length.
Structure
the field is a member of.
Structure
the field is a member of.
ToNativeConverter
appropriate for the given Java class.
TypeMapper
for the given native interface.
Window
as a long
value.
Window
as a Pointer
value.
Pointer
object
PointerType
is the same as that for
its pointer.
Structure.equals(java.lang.Object)
depends on the native address, use that
as the hash code.
invoke(Double.class, args)
.
invoke(Float.class, args)
.
invoke(Integer.class, args)
.
invoke(Long.class, args)
.
invokeObject(Object.class, args)
.
invoke(Pointer.class, args)
.
invoke(String.class, args)
or invoke(WString.class, args)
invoke(Void.class, args)
.
Memory.valid()
instead.
errno
or GetLastError()
.long
type, in bytes.
Pointer
to memory obtained from the native heap via a
call to malloc
.malloc
.
long
C data type, which may be 32 or 64 bits
on *nix-based systems.NativeMapped
.const char*
or const wchar_t*
) for use when
converting a Java String into a native memory function argument.char
).
wchar_t
(if wide
is true) or char
.
PointerType
classes represent a native Pointer
.
ToNativeConverter.toNative(java.lang.Object, com.sun.jna.ToNativeContext)
.
null
.
FunctionMapper
for the library.
InvocationMapper
for the library.
Integer
), which should
be one of the predefined alignment types in Structure
.
TypeMapper
for the library.
void*
) on the current
platform, in bytes.
PointerType.fromNative(java.lang.Object, com.sun.jna.FromNativeContext)
if generating
a new object instance.
malloc
space, a la
Pointer.read
.
malloc
space, a la
Pointer.read
.
malloc
space, a la
Pointer.read
.
malloc
space, a la
Pointer.read
.
malloc
space, a la
Pointer.read
.
malloc
space, a la
Pointer.read
.
malloc
space, a la
Pointer.read
.
malloc
space, a la
Pointer.setByte
.
value
at location being pointed to.
malloc
space, a la
Pointer.setChar
.
value
at location being pointed to.
malloc
space, a la
Pointer.setDouble
.
value
at location being pointed to.
Class.getFields()
is not predictable.
malloc
space, a la
Pointer.setFloat
.
value
at location being pointed to.
malloc
space, a la
Pointer.setInt
.
value
at location being pointed to.
malloc
space, a la
Pointer.setLong
.
value
at location being pointed to.
value
to the requested bank of memory.
value
at location being pointed to.
malloc
space, a la
Pointer.setPointer
.
value
at location being pointed to.
LastErrorException
instead.
malloc
space, a la
Pointer.setShort
.
value
at location being pointed to.
malloc
space, a la
Pointer.setString
.
value
to the location being pointed to.
value
to the location being pointed to.
size_t
type, in bytes.
char*
or wchar_t*
type
by managing allocation/disposal of native strings within an array of
pointers.Structure
definition
rather than nesting the full Structure contents.Structure
type is to be used in function invocations rather
than its address.Structure
field read.Structure
field write.jna.encoding
or the default platform encoding if
that property is not set.
Pointer
).
wchar_t
type, in bytes.
malloc
space, a la
Pointer.write
.
malloc
space, a la
Pointer.write
.
malloc
space, a la
Pointer.write
.
malloc
space, a la
Pointer.write
.
malloc
space, a la
Pointer.write
.
malloc
space, a la
Pointer.write
.
malloc
space, a la
Pointer.write
.
|
JNA API> 3.2.7 | ||||||||
PREV NEXT | FRAMES NO FRAMES |