| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.actf.util.win32.MemoryUtil
public class MemoryUtil
Utility class to manipulate memory.
| Constructor Summary | |
|---|---|
| MemoryUtil() | |
| Method Summary | |
|---|---|
| static int | GlobalAlloc(int dwBytes)GlobalAlloc the memory | 
| static int | GlobalFree(int hMem)GlobalFree target memory | 
| static void | MoveMemory(char[] Destination,
           int SourcePtr,
           int Length)MoveMemory | 
| static void | MoveMemory(int[] Destination,
           int Source,
           int Length)MoveMemory | 
| static void | MoveMemory(int DestinationPtr,
           char[] Source,
           int Length)MoveMemory | 
| static void | MoveMemory(int DestinationPtr,
           int[] Source,
           int Length)MoveMemory | 
| static void | MoveMemory(int DestinationPtr,
           short[] Source,
           int Length)MoveMemory | 
| static void | MoveMemory(short[] Destination,
           int SourcePtr,
           int Length)MoveMemory | 
| static int | SysAllocString(char[] sz)Allocate OLE String | 
| static void | SysFreeString(int bstr)Free OLE String | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public MemoryUtil()
| Method Detail | 
|---|
public static int GlobalAlloc(int dwBytes)
dwBytes - size
public static int GlobalFree(int hMem)
hMem - target memory
public static int SysAllocString(char[] sz)
sz - target String as array of char
public static void SysFreeString(int bstr)
bstr - target BSTR pointer
public static void MoveMemory(int[] Destination,
                              int Source,
                              int Length)
Destination - Source - Length - 
public static void MoveMemory(short[] Destination,
                              int SourcePtr,
                              int Length)
Destination - SourcePtr - Length - 
public static void MoveMemory(char[] Destination,
                              int SourcePtr,
                              int Length)
Destination - SourcePtr - Length - 
public static void MoveMemory(int DestinationPtr,
                              short[] Source,
                              int Length)
DestinationPtr - Source - Length - 
public static void MoveMemory(int DestinationPtr,
                              int[] Source,
                              int Length)
DestinationPtr - Source - Length - 
public static void MoveMemory(int DestinationPtr,
                              char[] Source,
                              int Length)
DestinationPtr - Source - Length - | 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||