|
|||||||||||
| 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.
| Constructor Summary | |
Pointer.Void()
Constructs a new null pointer. |
|
Pointer.Void(long value)
Constructs a new void pointer that has the given value. |
|
Pointer.Void(Pointer.Void that)
|
|
| Method Summary | |
Function |
asFunction()
Converts this poiter to a function. |
Function |
asFunction(byte callingConvention)
Converts this poiter to a function. |
void |
asTypedPointer(Pointer destPtr)
|
java.lang.Object |
clone()
|
boolean |
equals(java.lang.Object obj)
Compares this Parameter object to a given object. |
int |
getLength()
Returns a length of the parameter in memory. |
long |
getValue()
Returns handle value of this object. |
int |
hashCode()
|
boolean |
isNull()
Tests if this pointer is null. |
void |
read(DataBuffer stackBuffer,
int offset,
boolean invokedByCallback)
Reads this parameter from a specified data source. |
void |
setValue(long value)
Sets handle value of this pointer. |
java.lang.String |
toString()
Converts this pointer to string representation. |
void |
write(DataBuffer stackBuffer,
int offset,
boolean invokedByCallback)
Writes this parameter to a specified data source. |
| Methods inherited from class com.jniwrapper.Parameter |
acceptIOPerformer, asReturnValue, getAlignedLength, getAlignmentRequirement, getDataBuffer, getDataBufferOffset, indent, pop, push, read, setDataBuffer, toByteArray, write |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Pointer.Void()
public Pointer.Void(long value)
(HWND)-1.
public Pointer.Void(Pointer.Void that)
| Method Detail |
public int getLength()
Parametersizeof() operator.
getLength in class Parameter
public void write(DataBuffer stackBuffer,
int offset,
boolean invokedByCallback)
throws MemoryAccessViolationException
Parameter
write in class ParameterMemoryAccessViolationException
public void read(DataBuffer stackBuffer,
int offset,
boolean invokedByCallback)
throws MemoryAccessViolationException
Parameter
read in class ParameterMemoryAccessViolationExceptionpublic java.lang.Object clone()
clone in class Parameterpublic void setValue(long value)
setValue in interface IntegerParameterpublic long getValue()
getValue in interface IntegerParameterpublic boolean isNull()
public java.lang.String toString()
toString in class java.lang.Objectpublic Function asFunction()
public Function asFunction(byte callingConvention)
callingConvention - calling convention.public void asTypedPointer(Pointer destPtr)
public boolean equals(java.lang.Object obj)
ParameterParameter object to a given object.
Two Parameter objects are considered equal if their
byte representations are equal and they are of the same type.
Subclasses may override this method as appropriate.
equals in class Parameterobj - value to compare this object to
true if two objects are equal.public int hashCode()
hashCode in class java.lang.Object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||