com.jniwrapper.win32
Class IntPtr

java.lang.Object
  extended by com.jniwrapper.Parameter
      extended by com.jniwrapper.Pointer.Void
          extended by com.jniwrapper.win32.IntPtr
All Implemented Interfaces:
com.jniwrapper.IntegerParameter, com.jniwrapper.PointerParameter
Direct Known Subclasses:
SizeT

public class IntPtr
extends com.jniwrapper.Pointer.Void

This class represents LONG_PTR native type. This is guaranteed to be the same size as a pointer. Its size with change with pointer size (32/64). It should be used anywhere that a pointer is cast to an Int32 type.


Field Summary
 
Fields inherited from class com.jniwrapper.Parameter
LICENSE_TYPE, V
 
Constructor Summary
IntPtr()
          Constucts a blank instance.
IntPtr(long value)
          Constructs with the passed value.
 
Method Summary
 java.lang.Object clone()
           
 
Methods inherited from class com.jniwrapper.Pointer.Void
asFunction, asFunction, asTypedPointer, castTo, castTo, equals, getDebugInfo, getLength, getValue, hashCode, isNull, read, setValue, toString, write
 
Methods inherited from class com.jniwrapper.Parameter
, a, a, acceptIOPerformer, asReturnValue, b, dataBufferAssigned, getAlignedLength, getAlignmentRequirement, getDataBuffer, getDataBufferOffset, indent, pop, push, read, read, setDataBuffer, toByteArray, write
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IntPtr

public IntPtr()
Constucts a blank instance.


IntPtr

public IntPtr(long value)
Constructs with the passed value.

Parameters:
value - value.
Method Detail

clone

public java.lang.Object clone()
Overrides:
clone in class com.jniwrapper.Pointer.Void