This method of the DllLib class allocates a native memory block using GlobalAlloc (GMEM_FIXED).
public static int allocHGlobal(int cb);
Returns a pointer to the allocated block.
cb | The required size of the memory block (in bytes). |
OutOfMemoryError if allocation fails.