|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.jniwrapper.Parameter | +--com.jniwrapper.Pointer.Void
Represents a void *
. This pointer can be used for parameters where the referenced object type/size
is not known or is of no interest for the client. Good example of such object is Win32 HANDLE
type.
Constructor Summary | |
Pointer.Void()
Constructs a new null pointer. |
|
Pointer.Void(long value)
Constructs a new void pointer that has the given value. |
Method Summary | |
java.lang.Object |
clone()
|
int |
getLength()
Returns a length of the parameter in memory. |
long |
getValue()
Returns handle value of this object. |
boolean |
isNull()
Tests if this pointer is null. |
void |
read(DataBuffer stackBuffer,
int offset)
Reads this parameter from a specified data source. |
void |
setValue(long value)
Sets handle value of this pointer. |
void |
write(DataBuffer stackBuffer,
int offset)
Writes this parameter to a specified data source. |
Methods inherited from class com.jniwrapper.Parameter |
acceptIOPerformer, asReturnValue, equals, getAlignedLength, getBuffer, getOffset, indent, pop, push, read, setBuffer, toByteArray, write |
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Pointer.Void()
public Pointer.Void(long value)
(HWND)-1
.
Method Detail |
public int getLength()
Parameter
sizeof()
operator.
getLength
in class Parameter
public void write(DataBuffer stackBuffer, int offset) throws MemoryAccessViolationException
Parameter
write
in class Parameter
MemoryAccessViolationException
public void read(DataBuffer stackBuffer, int offset) throws MemoryAccessViolationException
Parameter
read
in class Parameter
MemoryAccessViolationException
public java.lang.Object clone()
clone
in class Parameter
public void setValue(long value)
public long getValue()
public boolean isNull()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |