|
JNA API> 4.0.0 | ||||||||
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.Ole32.CoCreateGuid(Guid.GUID)
.
<type> *
)
representations.DnDConstants.ACTION_COPY
.
coredll.dll
.(void*)CONSTANT
.
(void*)CONSTANT
.
Date
into a filetime.
DropHandler
to customize drop target
feedback.pFrom/pTo
paths.
Pointer
to the specified object.
PointerType
with identical pointers compare
equal by default.
Date
.
1
, the logical processors identified by the value of the
WinNT.SYSTEM_LOGICAL_PROCESSOR_INFORMATION.processorMask
member share functional units, as in Hyperthreading or SMT.
Kernel32.GetLastError()
or Native.getLastError()
.
Kernel32Util.formatMessage(WinNT.HRESULT)
instead.
Atom
values.
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.gdi32.dll
.GraphicsConfiguration
comptible with alpha
compositing.
malloc
space, a la
Pointer.getByte
.
byte
.
arraySize
from the
given offset
from this Pointer
.
Native.register(String)
call
was made.
malloc
space, a la
Pointer.getByte
.
wchar_t
.
arraySize
from the
given offset
from this Pointer
.
Component
as a long
value.
Component
as a Pointer
value.
Buffer
into a Pointer
.
malloc
space, a la
Pointer.getDouble
.
double
.
arraySize
from the
given offset
from this Pointer
.
Advapi32.CreateProcessAsUser(com.sun.jna.platform.win32.WinNT.HANDLE, java.lang.String, java.lang.String, com.sun.jna.platform.win32.WinBase.SECURITY_ATTRIBUTES, com.sun.jna.platform.win32.WinBase.SECURITY_ATTRIBUTES, boolean, int, java.lang.String, java.lang.String, com.sun.jna.platform.win32.WinBase.STARTUPINFO, com.sun.jna.platform.win32.WinBase.PROCESS_INFORMATION)
.
Field
being read from native memory.
Field
being written to native memory.
Structure.getFieldOrder()
malloc
space, a la
Pointer.getFloat
.
float
.
arraySize
from the
given offset
from this Pointer
.
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.
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
.
arraySize
from the
given offset
from this Pointer
.
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
.
arraySize
from the
given offset
from this Pointer
.
DropHandler
.
long
.
malloc
space, a la
Pointer.getPointer
.
Pointer
.
Pointer
object to this structure.
Pointer
.
Pointer
of the requested size.
malloc
space, a la
Pointer.getShort
.
short
.
arraySize
from the
given offset
from this Pointer
.
Pointer.getString(long,String)
or Pointer.getWideString(long)
instead.
String
based on a native array
of char *
.
String
based on a native array
of char *
, using the requested encoding.
String
based on a native array
of char *
, using the given array length.
Pointer.getStringArray(long,String)
or Pointer.getWideStringArray(long)
instead.
Pointer.getStringArray(long,int,String)
or Pointer.getWideStringArray(long,int)
instead.
String
based on a native array
of char*
or wchar_t*
based on the
wide
parameter, using the given array length.
String
to native const
char*
.
Structure
the field is a member of.
Structure
the field is a member of.
ToNativeConverter
appropriate for the given Java class.
Transferable
during a drag,
if available.
Transferable
representing
the data being dragged.
TypeMapper
for the given native interface.
const wchar_t *
) string from memory.
Window
as a long
value.
Window
as a Pointer
value.
DragSource.isDragImageSupported()
returns false.Kernel32.CloseHandle(com.sun.jna.platform.win32.WinNT.HANDLE)
function will not
close the object handle.
Function
s which are
equivalent.
Pointer
object
PointerType
is the same as that for
its pointer.
Structure.equals(java.lang.Object)
depends on the contents of memory, use that
as the basis for the hash code.
invoke(Double.class, args)
.
invoke(Float.class, args)
.
invoke(Integer.class, args)
.
invoke(Long.class, args)
.
invokeObject(Object.class, args)
.
Object
.
invoke(Pointer.class, args)
.
invoke(String.class, args)
or invoke(WString.class, args)
invoke(Void.class, args)
.
kernel32.dll
.auto_repeat_mode
can change the auto repeat settings of this key.
errno
or GetLastError()
.DnDConstants.ACTION_LINK
.
long
type, in bytes.
System.mapLibraryName(java.lang.String)
, except that it maps to
standard shared library formats rather than specifically JNI formats.
Pointer
to memory obtained from the native heap via a
call to malloc
.malloc
.
DnDConstants.ACTION_MOVE
.
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
.
wchar_t
.
char
),
using the requested encoding.
PointerType
classes represent a native Pointer
.
ToNativeConverter.toNative(java.lang.Object, com.sun.jna.ToNativeContext)
.
DnDConstants.ACTION_NONE
.
null
.
WinNT.SYSTEM_LOGICAL_PROCESSOR_INFORMATION.relationship
is WinNT.LOGICAL_PROCESSOR_RELATIONSHIP.RelationNumaNode
.
FunctionMapper
for the library.
InvocationMapper
for the library.
Native.open(String,int)
)
Integer
), which should
be one of the predefined alignment types in Structure
.
TypeMapper
for the library.
WinNT.SYSTEM_LOGICAL_PROCESSOR_INFORMATION.relationship
.
void*
) on the current
platform, in bytes.
PointerType.fromNative(java.lang.Object, com.sun.jna.FromNativeContext)
if generating
a new object instance.
WinNT.SYSTEM_LOGICAL_PROCESSOR_INFORMATION.relationship
is WinNT.LOGICAL_PROCESSOR_RELATIONSHIP.RelationProcessorCore
.
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
.
WinNT.SYSTEM_LOGICAL_PROCESSOR_INFORMATION.processorMask
member.
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.
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.
malloc
space, a la
Pointer.setShort
.
value
at location being pointed to.
Pointer.setWideString(long,String)
instead.
value
to the location being pointed to as a
wide string (wchar_t*
).
value
to the location being
pointed to, using the encoding indicated by Native.getDefaultStringEncoding()
.
value
to the location being pointed to, using
the requested encoding.
value
to the location being pointed to as a
wide string (wchar_t*
).
Shape
.
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.Native.getDefaultStringEncoding()
.
Pointer
).
DragHandler.getModifiers()
returns this value when the current
modifiers state is unknown.
DragHandler.getTransferable(java.awt.dnd.DropTargetEvent)
returns this value when
the current Transferable
is unknown.
User32.dll
.wchar_t
type, in bytes.
Window
.JLayeredPane
in order to
listen for repaint requests.WinNT.SYSTEM_LOGICAL_PROCESSOR_INFORMATION
or SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX
structure.WinNT.CACHE_DESCRIPTOR
structure.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
.
X11.XVisualInfo
which must be freed by X11.XFree(com.sun.jna.Pointer)
.
X11.XWMHints
which must be freed by X11.XFree(com.sun.jna.Pointer)
.
|
JNA API> 4.0.0 | ||||||||
PREV NEXT | FRAMES NO FRAMES |