- get(Object) - Static method in class com.sun.jna.Structure.FFIType
-
- getArgumentNativeStackSize(Class) - Method in class com.sun.jna.win32.StdCallFunctionMapper
-
Override this to handle any custom class mappings.
- getArguments() - Method in class com.sun.jna.CallbackParameterContext
-
- getArguments() - Method in class com.sun.jna.FunctionResultContext
-
Get the arguments used in this function call.
- getAutoRead() - Method in class com.sun.jna.Structure
-
Returns whether the structure is read from native memory prior to
a native function call.
- getAutoWrite() - Method in class com.sun.jna.Structure
-
Returns whether the structure is written to native memory after a native
function call.
- getBaseArch() - Static method in class com.sun.jna.Platform
-
- getByte(long) - Method in class com.sun.jna.Memory
-
Indirect the native pointer to malloc
space, a la
Pointer.getByte
.
- getByte(long) - Method in class com.sun.jna.Pointer
-
Indirect the native pointer as a pointer to byte
.
- getByteArray(long, int) - Method in class com.sun.jna.Pointer
-
- getByteBuffer(long, long) - Method in class com.sun.jna.Memory
-
Get a ByteBuffer mapped to a portion of this memory.
- getByteBuffer(long, long) - Method in class com.sun.jna.Pointer
-
Get a ByteBuffer mapped to the memory pointed to by the pointer,
ensuring the buffer uses native byte order.
- getBytes(String) - Static method in class com.sun.jna.Native
-
Return a byte array corresponding to the given String.
- getBytes(String, String) - Static method in class com.sun.jna.Native
-
Return a byte array corresponding to the given String, using the given
encoding.
- getCallback(Class, Pointer) - Static method in class com.sun.jna.CallbackReference
-
Return a Callback associated with the given function pointer.
- getCallbackExceptionHandler() - Static method in class com.sun.jna.Native
-
Returns the current handler for callback uncaught exceptions.
- getCallingClass() - Static method in class com.sun.jna.Native
-
- getCallingConvention() - Method in class com.sun.jna.Function
-
- getChar(long) - Method in class com.sun.jna.Memory
-
Indirect the native pointer to malloc
space, a la
Pointer.getByte
.
- getChar(long) - Method in class com.sun.jna.Pointer
-
Indirect the native pointer as a pointer to wchar_t
.
- getCharArray(long, int) - Method in class com.sun.jna.Pointer
-
- getComponentID(Component) - Static method in class com.sun.jna.Native
-
Utility method to get the native window ID for a heavyweight Java
Component
as a long
value.
- getComponentPointer(Component) - Static method in class com.sun.jna.Native
-
Utility method to get the native window pointer for a heavyweight Java
Component
as a
Pointer
value.
- getDirectBufferPointer(Buffer) - Static method in class com.sun.jna.Native
-
Convert a direct
Buffer
into a
Pointer
.
- getDouble(long) - Method in class com.sun.jna.Memory
-
Indirect the native pointer to malloc
space, a la
Pointer.getDouble
.
- getDouble(long) - Method in class com.sun.jna.Pointer
-
Indirect the native pointer as a pointer to double
.
- getDoubleArray(long, int) - Method in class com.sun.jna.Pointer
-
- getErrorCode() - Method in exception com.sun.jna.LastErrorException
-
Returns the error code of the error.
- getField(Structure.StructField) - Method in class com.sun.jna.Structure
-
Obtain the value currently in the Java field.
- getField() - Method in class com.sun.jna.StructureReadContext
-
Get the Field
being read from native memory.
- getField() - Method in class com.sun.jna.StructureWriteContext
-
Get the Field
being written to native memory.
- getFieldOrder() - Method in class com.sun.jna.Structure
-
- getFields(boolean) - Method in class com.sun.jna.Structure
-
- getFile() - Method in class com.sun.jna.NativeLibrary
-
Returns the file on disk corresponding to this NativeLibrary instance.
- getFloat(long) - Method in class com.sun.jna.Memory
-
Indirect the native pointer to malloc
space, a la
Pointer.getFloat
.
- getFloat(long) - Method in class com.sun.jna.Pointer
-
Indirect the native pointer as a pointer to float
.
- getFloatArray(long, int) - Method in class com.sun.jna.Pointer
-
- getFromNativeConverter(Class) - Method in class com.sun.jna.DefaultTypeMapper
-
- getFromNativeConverter(Class) - Method in interface com.sun.jna.TypeMapper
-
- getFunction(String, String) - Static method in class com.sun.jna.Function
-
Obtain a Function
representing a native
function that follows the standard "C" calling convention.
- getFunction(String, String, int) - Static method in class com.sun.jna.Function
-
Obtain a Function
representing a native
function.
- getFunction(Pointer) - Static method in class com.sun.jna.Function
-
Obtain a Function
representing a native
function pointer.
- getFunction(Pointer, int) - Static method in class com.sun.jna.Function
-
Obtain a Function
representing a native
function pointer.
- getFunction() - Method in class com.sun.jna.FunctionParameterContext
-
Get the function that was invoked.
- getFunction() - Method in class com.sun.jna.FunctionResultContext
-
Get the function that was invoked.
- getFunction(String) - Method in class com.sun.jna.NativeLibrary
-
Create a new
Function
that is linked with a native
function that follows the NativeLibrary's calling convention.
- getFunction(String, Method) - Method in class com.sun.jna.NativeLibrary
-
Create a new
Function
that is linked with a native
function that follows the NativeLibrary's calling convention.
- getFunction(String, int) - Method in class com.sun.jna.NativeLibrary
-
Create a new @{link Function} that is linked with a native
function that follows a given calling flags.
- getFunctionName(NativeLibrary, Method) - Method in interface com.sun.jna.FunctionMapper
-
- getFunctionName(NativeLibrary, Method) - Method in class com.sun.jna.win32.StdCallFunctionMapper
-
Convert the given Java method into a decorated stdcall name,
if possible.
- getFunctionName(NativeLibrary, Method) - Method in class com.sun.jna.win32.W32APIFunctionMapper
-
Looks up the method name by adding a "W" or "A" suffix as appropriate.
- getFunctionPointer(Callback) - Static method in class com.sun.jna.CallbackReference
-
Return a
Pointer
to the native function address for the
given callback.
- getGlobalVariableAddress(String) - Method in class com.sun.jna.NativeLibrary
-
Look up the given global variable within this library.
- getIndex() - Method in class com.sun.jna.CallbackParameterContext
-
- getInstance(String) - Static method in class com.sun.jna.NativeLibrary
-
Returns an instance of NativeLibrary for the specified name.
- getInstance(String, Map) - Static method in class com.sun.jna.NativeLibrary
-
Returns an instance of NativeLibrary for the specified name.
- getInstance(Class) - Static method in class com.sun.jna.NativeMappedConverter
-
- getInt(long) - Method in class com.sun.jna.Memory
-
Indirect the native pointer to malloc
space, a la
Pointer.getInt
.
- getInt(long) - Method in class com.sun.jna.Pointer
-
Indirect the native pointer as a pointer to int
.
- getIntArray(long, int) - Method in class com.sun.jna.Pointer
-
- getInterfaceClass() - Method in class com.sun.jna.Library.Handler
-
- getInvocationHandler(NativeLibrary, Method) - Method in interface com.sun.jna.InvocationMapper
-
Return an InvocationHandler
responsible for handling the
invocation of the given method, or null
if the default
handling should be used.
- getLastError() - Static method in class com.sun.jna.Native
-
Retrieve the last error set by the OS.
- getLibraryName() - Method in class com.sun.jna.Library.Handler
-
- getLibraryOptions(Class) - Static method in class com.sun.jna.Native
-
Return the preferred native library configuration options for the given
class.
- getLong(long) - Method in class com.sun.jna.Memory
-
Indirect the native pointer to malloc
space, a la
Pointer.getLong
.
- getLong(long) - Method in class com.sun.jna.Pointer
-
Indirect the native pointer as a pointer to long
.
- getLongArray(long, int) - Method in class com.sun.jna.Pointer
-
- getMethod() - Method in class com.sun.jna.CallbackParameterContext
-
- getMethod() - Method in class com.sun.jna.CallbackResultContext
-
- getMethod() - Method in class com.sun.jna.MethodParameterContext
-
Get the Method in the Library instance the Function was called from.
- getMethod() - Method in class com.sun.jna.MethodResultContext
-
Get the Method used to invoke this function call.
- getName() - Method in class com.sun.jna.Function
-
- getName() - Method in class com.sun.jna.NativeLibrary
-
Returns the simple name of this library.
- getNativeAlignment(Class, Object, boolean) - Method in class com.sun.jna.Structure
-
Overridable in subclasses.
- getNativeAlignment(Class, Object, boolean) - Method in class com.sun.jna.Union
-
All fields are considered the "first" element.
- getNativeClass(Class) - Static method in class com.sun.jna.Native
-
- getNativeLibrary() - Method in class com.sun.jna.Library.Handler
-
- getNativeLibraryResourcePath(int, String, String) - Static method in class com.sun.jna.Native
-
- getNativeLong(long) - Method in class com.sun.jna.Pointer
-
Indirect the native pointer as a pointer to long
.
- getNativeSize(Class, Object) - Static method in class com.sun.jna.Native
-
Returns the native size of the given class, in bytes.
- getNativeSize(Class) - Static method in class com.sun.jna.Native
-
Returns the native size for a given Java class.
- getOptions() - Method in class com.sun.jna.NativeLibrary
-
Returns this native library instance's options.
- getOSType() - Static method in class com.sun.jna.Platform
-
- getParameterIndex() - Method in class com.sun.jna.FunctionParameterContext
-
- getParameters() - Method in class com.sun.jna.FunctionParameterContext
-
Get the arguments used in this function call.
- getParameterTypes() - Method in interface com.sun.jna.CallbackProxy
-
Returns the types of the parameters to the callback method.
- getPointer(long) - Method in class com.sun.jna.Memory
-
Indirect the native pointer to malloc
space, a la
Pointer.getPointer
.
- getPointer() - Method in class com.sun.jna.NativeString
-
- getPointer(long) - Method in class com.sun.jna.Pointer
-
Indirect the native pointer as a pointer to pointer.
- getPointer() - Method in class com.sun.jna.PointerType
-
Returns the associated native
Pointer
.
- getPointer() - Method in class com.sun.jna.Structure
-
Return a
Pointer
object to this structure.
- getPointerArray(long) - Method in class com.sun.jna.Pointer
-
- getPointerArray(long, int) - Method in class com.sun.jna.Pointer
-
Returns an array of
Pointer
of the requested size.
- getPreserveLastError() - Static method in class com.sun.jna.Native
-
Deprecated.
The preferred method of obtaining the last error result is
to declare your mapped method to throw LastErrorException
instead.
- getProcess() - Static method in class com.sun.jna.NativeLibrary
-
Returns an instance of NativeLibrary which refers to the current
process.
- getProcess(Map) - Static method in class com.sun.jna.NativeLibrary
-
Returns an instance of NativeLibrary which refers to the current
process.
- getReturnType() - Method in interface com.sun.jna.CallbackProxy
-
Returns the type of the callback method's return value.
- getShort(long) - Method in class com.sun.jna.Memory
-
Indirect the native pointer to malloc
space, a la
Pointer.getShort
.
- getShort(long) - Method in class com.sun.jna.Pointer
-
Indirect the native pointer as a pointer to short
.
- getShortArray(long, int) - Method in class com.sun.jna.Pointer
-
- getSize() - Method in class com.sun.jna.Memory
-
- getString(long, boolean) - Method in class com.sun.jna.Memory
-
Indirect the native pointer to malloc
space, a la
Pointer.getString
.
- getString(long, boolean) - Method in class com.sun.jna.Pointer
-
Copy native memory to a Java String.
- getString(long) - Method in class com.sun.jna.Pointer
-
Copy native memory to a Java String.
- getStringArray(long) - Method in class com.sun.jna.Pointer
-
Returns an array of String
based on a native array
of char *
.
- getStringArray(long, int) - Method in class com.sun.jna.Pointer
-
Returns an array of String
based on a native array
of char *
, using the given array length.
- getStringArray(long, boolean) - Method in class com.sun.jna.Pointer
-
Returns an array of String
based on a native array
of char*
or wchar_t*
based on the
wide
parameter.
- getStringArray(long, int, boolean) - Method in class com.sun.jna.Pointer
-
Returns an array of String
based on a native array
of char*
or wchar_t*
based on the
wide
parameter, using the given array length.
- getStructAlignment() - Method in class com.sun.jna.Structure
-
- getStructure() - Method in class com.sun.jna.StructureReadContext
-
- getStructure() - Method in class com.sun.jna.StructureWriteContext
-
- getStructureAlignment(Class) - Static method in class com.sun.jna.Native
-
Return the preferred structure alignment for the given native interface.
- getSymbolAddress(String) - Method in class com.sun.jna.NativeLibrary
-
Used by the Function class to locate a symbol
- getTargetType() - Method in class com.sun.jna.FromNativeContext
-
The desired Java type of the result.
- getToNativeConverter(Class) - Method in class com.sun.jna.DefaultTypeMapper
-
- getToNativeConverter(Class) - Method in interface com.sun.jna.TypeMapper
-
- getTrampoline() - Method in class com.sun.jna.CallbackReference
-
Obtain a pointer to the native glue code for this callback.
- getTypedValue(Class) - Method in class com.sun.jna.Union
-
Reads the Structure field of the given type from memory, sets it as
the active type and returns it.
- getTypeInfo() - Method in class com.sun.jna.Structure
-
Obtain native type information for this structure.
- getTypeInfo(Object) - Static method in class com.sun.jna.Structure
-
Exposed for testing purposes only.
- getTypeInfo() - Method in class com.sun.jna.Union
-
Avoid calculating type information until we know our biggest field.
- getTypeMapper(Class) - Static method in class com.sun.jna.Native
-
Return the preferred
TypeMapper
for the given native interface.
- getValue(long, Class, Object) - Method in class com.sun.jna.Pointer
-
- getValue() - Method in class com.sun.jna.ptr.ByteByReference
-
- getValue() - Method in class com.sun.jna.ptr.DoubleByReference
-
- getValue() - Method in class com.sun.jna.ptr.FloatByReference
-
- getValue() - Method in class com.sun.jna.ptr.IntByReference
-
- getValue() - Method in class com.sun.jna.ptr.LongByReference
-
- getValue() - Method in class com.sun.jna.ptr.NativeLongByReference
-
- getValue() - Method in class com.sun.jna.ptr.PointerByReference
-
- getValue() - Method in class com.sun.jna.ptr.ShortByReference
-
- getWebStartLibraryPath(String) - Static method in class com.sun.jna.Native
-
If running web start, determine the location of a given native
library.
- getWindowID(Window) - Static method in class com.sun.jna.Native
-
Utility method to get the native window ID for a Java Window
as a long
value.
- getWindowPointer(Window) - Static method in class com.sun.jna.Native
-
Utility method to get the native window pointer for a Java
Window
as a
Pointer
value.
- read() - Method in interface com.sun.jna.Function.PostCallRead
-
Perform any necessary post-call synchronization.
- read(long, byte[], int, int) - Method in class com.sun.jna.Memory
-
Indirect the native pointer to malloc
space, a la
Pointer.read
.
- read(long, short[], int, int) - Method in class com.sun.jna.Memory
-
Indirect the native pointer to malloc
space, a la
Pointer.read
.
- read(long, char[], int, int) - Method in class com.sun.jna.Memory
-
Indirect the native pointer to malloc
space, a la
Pointer.read
.
- read(long, int[], int, int) - Method in class com.sun.jna.Memory
-
Indirect the native pointer to malloc
space, a la
Pointer.read
.
- read(long, long[], int, int) - Method in class com.sun.jna.Memory
-
Indirect the native pointer to malloc
space, a la
Pointer.read
.
- read(long, float[], int, int) - Method in class com.sun.jna.Memory
-
Indirect the native pointer to malloc
space, a la
Pointer.read
.
- read(long, double[], int, int) - Method in class com.sun.jna.Memory
-
Indirect the native pointer to malloc
space, a la
Pointer.read
.
- read(long, byte[], int, int) - Method in class com.sun.jna.Pointer
-
Indirect the native pointer, copying from memory pointed to by
native pointer, into the specified array.
- read(long, short[], int, int) - Method in class com.sun.jna.Pointer
-
Indirect the native pointer, copying from memory pointed to by
native pointer, into the specified array.
- read(long, char[], int, int) - Method in class com.sun.jna.Pointer
-
Indirect the native pointer, copying from memory pointed to by
native pointer, into the specified array.
- read(long, int[], int, int) - Method in class com.sun.jna.Pointer
-
Indirect the native pointer, copying from memory pointed to by
native pointer, into the specified array.
- read(long, long[], int, int) - Method in class com.sun.jna.Pointer
-
Indirect the native pointer, copying from memory pointed to by
native pointer, into the specified array.
- read(long, float[], int, int) - Method in class com.sun.jna.Pointer
-
Indirect the native pointer, copying from memory pointed to by
native pointer, into the specified array.
- read(long, double[], int, int) - Method in class com.sun.jna.Pointer
-
Indirect the native pointer, copying from memory pointed to by
native pointer, into the specified array.
- read(long, Pointer[], int, int) - Method in class com.sun.jna.Pointer
-
Indirect the native pointer, copying from memory pointed to by
native pointer, into the specified array.
- read() - Method in class com.sun.jna.StringArray
-
Read back from native memory.
- read() - Method in class com.sun.jna.Structure
-
Reads the fields of the struct from native memory
- readConverter - Variable in class com.sun.jna.Structure.StructField
-
- readField(String) - Method in class com.sun.jna.Structure
-
Force a read of the given field from native memory.
- readField(Structure.StructField) - Method in class com.sun.jna.Structure
-
Read the given field and return its value.
- readField(String) - Method in class com.sun.jna.Union
-
Force a read of the given field from native memory.
- readField(Structure.StructField) - Method in class com.sun.jna.Union
-
Avoid reading pointer-based fields and structures unless explicitly
selected.
- reading() - Static method in class com.sun.jna.Structure
-
- register(String) - Static method in class com.sun.jna.Native
-
When called from a class static initializer, maps all native methods
found within that class to native libraries via the JNA raw calling
interface.
- register(NativeLibrary) - Static method in class com.sun.jna.Native
-
When called from a class static initializer, maps all native methods
found within that class to native libraries via the JNA raw calling
interface.
- register(Class, NativeLibrary) - Static method in class com.sun.jna.Native
-
When called from a class static initializer, maps all native methods
found within that class to native libraries via the JNA raw calling
interface.
- replace(String, String, String) - Static method in class com.sun.jna.Native
-
- run() - Method in class com.sun.jna.Native.DeleteNativeLibrary
-
- setAlignType(int) - Method in class com.sun.jna.Structure
-
Change the alignment of this structure.
- setAutoRead(boolean) - Method in class com.sun.jna.Structure
-
Set whether the structure is read from native memory prior to
a native function call.
- setAutoSynch(boolean) - Method in class com.sun.jna.Structure
-
Set whether the structure is automatically synchronized to native memory
before and after a native function call.
- setAutoWrite(boolean) - Method in class com.sun.jna.Structure
-
Set whether the structure is written to native memory after a native
function call.
- setByte(long, byte) - Method in class com.sun.jna.Memory
-
Indirect the native pointer to malloc
space, a la
Pointer.setByte
.
- setByte(long, byte) - Method in class com.sun.jna.Pointer
-
Set value
at location being pointed to.
- setCallbackExceptionHandler(Callback.UncaughtExceptionHandler) - Static method in class com.sun.jna.Native
-
Set the default handler invoked when a callback throws an uncaught
exception.
- setChar(long, char) - Method in class com.sun.jna.Memory
-
Indirect the native pointer to malloc
space, a la
Pointer.setChar
.
- setChar(long, char) - Method in class com.sun.jna.Pointer
-
Set value
at location being pointed to.
- setDouble(long, double) - Method in class com.sun.jna.Memory
-
Indirect the native pointer to malloc
space, a la
Pointer.setDouble
.
- setDouble(long, double) - Method in class com.sun.jna.Pointer
-
Set value
at location being pointed to.
- setField(Structure.StructField, Object) - Method in class com.sun.jna.Structure
-
- setFieldOrder(String[]) - Method in class com.sun.jna.Structure
-
Provided for VMs where the field order as returned by Class.getFields()
is not predictable.
- setFloat(long, float) - Method in class com.sun.jna.Memory
-
Indirect the native pointer to malloc
space, a la
Pointer.setFloat
.
- setFloat(long, float) - Method in class com.sun.jna.Pointer
-
Set value
at location being pointed to.
- setInt(long, int) - Method in class com.sun.jna.Memory
-
Indirect the native pointer to malloc
space, a la
Pointer.setInt
.
- setInt(long, int) - Method in class com.sun.jna.Pointer
-
Set value
at location being pointed to.
- setLastError(int) - Static method in class com.sun.jna.Native
-
Set the OS last error code.
- setLong(long, long) - Method in class com.sun.jna.Memory
-
Indirect the native pointer to malloc
space, a la
Pointer.setLong
.
- setLong(long, long) - Method in class com.sun.jna.Pointer
-
Set value
at location being pointed to.
- setMemory(long, long, byte) - Method in class com.sun.jna.Pointer
-
Write value
to the requested bank of memory.
- setNativeLong(long, NativeLong) - Method in class com.sun.jna.Pointer
-
Set value
at location being pointed to.
- setPointer(long, Pointer) - Method in class com.sun.jna.Memory
-
Indirect the native pointer to malloc
space, a la
Pointer.setPointer
.
- setPointer(long, Pointer) - Method in class com.sun.jna.Pointer
-
Set value
at location being pointed to.
- setPointer(Pointer) - Method in class com.sun.jna.PointerType
-
- setPreserveLastError(boolean) - Static method in class com.sun.jna.Native
-
Deprecated.
The preferred method of obtaining the last error result is
to declare your mapped method to throw LastErrorException
instead.
- setProtected(boolean) - Static method in class com.sun.jna.Native
-
Set whether native memory accesses are protected from invalid
accesses.
- setShort(long, short) - Method in class com.sun.jna.Memory
-
Indirect the native pointer to malloc
space, a la
Pointer.setShort
.
- setShort(long, short) - Method in class com.sun.jna.Pointer
-
Set value
at location being pointed to.
- setString(long, String, boolean) - Method in class com.sun.jna.Memory
-
Indirect the native pointer to malloc
space, a la
Pointer.setString
.
- setString(long, String, boolean) - Method in class com.sun.jna.Pointer
-
Copy string value
to the location being pointed to.
- setString(long, String) - Method in class com.sun.jna.Pointer
-
Copy string value
to the location being pointed to.
- setType(Class) - Method in class com.sun.jna.Union
-
Indicates which field will be used to write to native memory.
- setTypedValue(Object) - Method in class com.sun.jna.Union
-
Set the active type and its value.
- setTypeMapper(TypeMapper) - Method in class com.sun.jna.Structure
-
Change the type mapping for this structure.
- setValue(long) - Method in class com.sun.jna.IntegerType
-
Change the value for this data.
- setValue(long, Object, Class) - Method in class com.sun.jna.Pointer
-
- setValue(byte) - Method in class com.sun.jna.ptr.ByteByReference
-
- setValue(double) - Method in class com.sun.jna.ptr.DoubleByReference
-
- setValue(float) - Method in class com.sun.jna.ptr.FloatByReference
-
- setValue(int) - Method in class com.sun.jna.ptr.IntByReference
-
- setValue(long) - Method in class com.sun.jna.ptr.LongByReference
-
- setValue(NativeLong) - Method in class com.sun.jna.ptr.NativeLongByReference
-
- setValue(Pointer) - Method in class com.sun.jna.ptr.PointerByReference
-
- setValue(short) - Method in class com.sun.jna.ptr.ShortByReference
-
- share(long) - Method in class com.sun.jna.Memory
-
Provide a view onto this structure from the given offset.
- share(long, long) - Method in class com.sun.jna.Memory
-
Provide a view onto this structure from the given offset.
- share(long) - Method in class com.sun.jna.Pointer
-
- share(long, long) - Method in class com.sun.jna.Pointer
-
Provide a view of this pointer with a different peer base.
- ShortByReference - Class in com.sun.jna.ptr
-
- ShortByReference() - Constructor for class com.sun.jna.ptr.ShortByReference
-
- ShortByReference(short) - Constructor for class com.sun.jna.ptr.ShortByReference
-
- size - Variable in class com.sun.jna.Memory
-
- size() - Method in class com.sun.jna.Memory
-
- SIZE - Static variable in class com.sun.jna.NativeLong
-
Size of a native long, in bytes.
- SIZE - Static variable in class com.sun.jna.Pointer
-
Size of a native pointer, in bytes.
- size - Variable in class com.sun.jna.Structure.FFIType
-
- size() - Method in class com.sun.jna.Structure
-
- size - Variable in class com.sun.jna.Structure.StructField
-
- SIZE_T_SIZE - Static variable in class com.sun.jna.Native
-
Size of a native size_t
type, in bytes.
- SOLARIS - Static variable in class com.sun.jna.Platform
-
- sortFields(List, List) - Method in class com.sun.jna.Structure
-
Sort the structure fields according to the given array of names.
- StdCall - Interface in com.sun.jna.win32
-
Tagging interface for __stdcall calling convention.
- STDCALL_CONVENTION - Static variable in interface com.sun.jna.win32.StdCallLibrary
-
Constant identifying the w32 stdcall calling convention.
- StdCallFunctionMapper - Class in com.sun.jna.win32
-
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.
- StdCallFunctionMapper() - Constructor for class com.sun.jna.win32.StdCallFunctionMapper
-
- StdCallLibrary - Interface in com.sun.jna.win32
-
Interface for w32 stdcall calling convention.
- StdCallLibrary.StdCallCallback - Interface in com.sun.jna.win32
-
Interface defining a callback using the w32 stdcall calling convention.
- StringArray - Class in com.sun.jna
-
Handle native array of char*
or wchar_t*
type
by managing allocation/disposal of native strings within an array of
pointers.
- StringArray(String[]) - Constructor for class com.sun.jna.StringArray
-
Create a native array of strings.
- StringArray(String[], boolean) - Constructor for class com.sun.jna.StringArray
-
Create a native array of wide strings.
- StringArray(WString[]) - Constructor for class com.sun.jna.StringArray
-
Create a native array of wide strings.
- Structure - Class in com.sun.jna
-
Represents a native structure with a Java peer class.
- Structure() - Constructor for class com.sun.jna.Structure
-
- Structure(TypeMapper) - Constructor for class com.sun.jna.Structure
-
- Structure(Pointer) - Constructor for class com.sun.jna.Structure
-
Create a structure cast onto preallocated memory.
- Structure(Pointer, int) - Constructor for class com.sun.jna.Structure
-
- Structure(Pointer, int, TypeMapper) - Constructor for class com.sun.jna.Structure
-
- Structure.ByReference - Interface in com.sun.jna
-
Tagging interface to indicate the address of an instance of the
Structure type is to be used within a Structure
definition
rather than nesting the full Structure contents.
- Structure.ByValue - Interface in com.sun.jna
-
Tagging interface to indicate the value of an instance of the
Structure
type is to be used in function invocations rather
than its address.
- Structure.FFIType - Class in com.sun.jna
-
This class auto-generates an ffi_type structure appropriate for a given
structure for use by libffi.
- Structure.FFIType.size_t - Class in com.sun.jna
-
- Structure.FFIType.size_t() - Constructor for class com.sun.jna.Structure.FFIType.size_t
-
- Structure.FFIType.size_t(long) - Constructor for class com.sun.jna.Structure.FFIType.size_t
-
- Structure.StructField - Class in com.sun.jna
-
- Structure.StructField() - Constructor for class com.sun.jna.Structure.StructField
-
- StructureReadContext - Class in com.sun.jna
-
Provide native to Java type conversion context for a
Structure
field read.
- StructureReadContext(Structure, Field) - Constructor for class com.sun.jna.StructureReadContext
-
- StructureWriteContext - Class in com.sun.jna
-
Provide Java to native type conversion context for a
Structure
field write.
- StructureWriteContext(Structure, Field) - Constructor for class com.sun.jna.StructureWriteContext
-
- subSequence(int, int) - Method in class com.sun.jna.NativeString
-
- subSequence(int, int) - Method in class com.sun.jna.WString
-
- synchronizedLibrary(Library) - Static method in class com.sun.jna.Native
-
Returns a synchronized (thread-safe) library backed by the specified
library.
- W32APIFunctionMapper - Class in com.sun.jna.win32
-
Encapsulates lookup of W32 API UNICODE/ASCII functions.
- W32APIFunctionMapper(boolean) - Constructor for class com.sun.jna.win32.W32APIFunctionMapper
-
- W32APIOptions - Interface in com.sun.jna.win32
-
- W32APITypeMapper - Class in com.sun.jna.win32
-
Provide standard conversion for W32 API types.
- W32APITypeMapper(boolean) - Constructor for class com.sun.jna.win32.W32APITypeMapper
-
- WCHAR_SIZE - Static variable in class com.sun.jna.Native
-
Size of a native wchar_t
type, in bytes.
- WINDOWS - Static variable in class com.sun.jna.Platform
-
- WINDOWSCE - Static variable in class com.sun.jna.Platform
-
- write(long, byte[], int, int) - Method in class com.sun.jna.Memory
-
Indirect the native pointer to malloc
space, a la
Pointer.write
.
- write(long, short[], int, int) - Method in class com.sun.jna.Memory
-
Indirect the native pointer to malloc
space, a la
Pointer.write
.
- write(long, char[], int, int) - Method in class com.sun.jna.Memory
-
Indirect the native pointer to malloc
space, a la
Pointer.write
.
- write(long, int[], int, int) - Method in class com.sun.jna.Memory
-
Indirect the native pointer to malloc
space, a la
Pointer.write
.
- write(long, long[], int, int) - Method in class com.sun.jna.Memory
-
Indirect the native pointer to malloc
space, a la
Pointer.write
.
- write(long, float[], int, int) - Method in class com.sun.jna.Memory
-
Indirect the native pointer to malloc
space, a la
Pointer.write
.
- write(long, double[], int, int) - Method in class com.sun.jna.Memory
-
Indirect the native pointer to malloc
space, a la
Pointer.write
.
- write(long, byte[], int, int) - Method in class com.sun.jna.Pointer
-
Indirect the native pointer, copying into memory pointed to by
native pointer, from the specified array.
- write(long, short[], int, int) - Method in class com.sun.jna.Pointer
-
Indirect the native pointer, copying into memory pointed to by
native pointer, from the specified array.
- write(long, char[], int, int) - Method in class com.sun.jna.Pointer
-
Indirect the native pointer, copying into memory pointed to by
native pointer, from the specified array.
- write(long, int[], int, int) - Method in class com.sun.jna.Pointer
-
Indirect the native pointer, copying into memory pointed to by
native pointer, from the specified array.
- write(long, long[], int, int) - Method in class com.sun.jna.Pointer
-
Indirect the native pointer, copying into memory pointed to by
native pointer, from the specified array.
- write(long, float[], int, int) - Method in class com.sun.jna.Pointer
-
Indirect the native pointer, copying into memory pointed to by
native pointer, from the specified array.
- write(long, double[], int, int) - Method in class com.sun.jna.Pointer
-
Indirect the native pointer, copying into memory pointed to by
native pointer, from the specified array.
- write(long, Pointer[], int, int) - Method in class com.sun.jna.Pointer
-
Write the given array of Pointer to native memory.
- write() - Method in class com.sun.jna.Structure
-
Writes the fields of the struct to native memory
- writeConverter - Variable in class com.sun.jna.Structure.StructField
-
- writeField(String) - Method in class com.sun.jna.Structure
-
Write the given field to native memory.
- writeField(String, Object) - Method in class com.sun.jna.Structure
-
Write the given field value to the field and native memory.
- writeField(Structure.StructField) - Method in class com.sun.jna.Structure
-
- writeField(String) - Method in class com.sun.jna.Union
-
Write the given field value to native memory.
- writeField(String, Object) - Method in class com.sun.jna.Union
-
Write the given field value to the field and native memory.
- writeField(Structure.StructField) - Method in class com.sun.jna.Union
-
Only the currently selected field will be written.
- WString - Class in com.sun.jna
-
Simple wrapper class to identify a wide string argument or return type.
- WString(String) - Constructor for class com.sun.jna.WString
-