org.xvolks.jnative.misc
Class MSG
java.lang.Object
org.xvolks.jnative.misc.MSG
- All Implemented Interfaces:
- BasicData<Pointer>
public class MSG
- extends java.lang.Object
- implements BasicData<Pointer>
$Id: MSG.java,v 1.2 2006/01/12 21:35:45 mdenty Exp $
TODO : Create each value : createPointer should copy values in memory and back
TODO : this should be a BasicData
The C structure
typedef struct {
HWND hwnd;
UINT message;
WPARAM wParam;
LPARAM lParam;
DWORD time;
POINT pt;
} MSG, *PMSG;
This software is released under the GPL.
Constructor Summary |
MSG()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MSG
public MSG()
throws NativeException
- Throws:
NativeException
getPointer
public Pointer getPointer()
- Method getPointer
- Specified by:
getPointer
in interface BasicData<Pointer>
- Returns:
- a Pointer
createPointer
public Pointer createPointer()
throws NativeException
- Method createPointer
- Specified by:
createPointer
in interface BasicData<Pointer>
- Returns:
- a MemoryBlock
- Throws:
NativeException
getValueFromPointer
public Pointer getValueFromPointer()
throws NativeException
- Method getValueFromPointer
- Specified by:
getValueFromPointer
in interface BasicData<Pointer>
- Returns:
- a T
- Throws:
NativeException
getValue
public Pointer getValue()
- Method getValue
- Specified by:
getValue
in interface BasicData<Pointer>
- Returns:
- a T
getSizeOf
public int getSizeOf()
- Method getSizeOf
- Specified by:
getSizeOf
in interface BasicData<Pointer>
- Returns:
- the size of this data
sizeOf
public static int sizeOf()