Back to main

 

Function 64 - reallocate memory in the application

 

Options:

  eax = 64 - function number

  ebx = 1 - subfunction only

  ecx = new size of memory

 

Returned value:

  eax = 0 - successful

  eax = 1 - there is not enough memory

 

Comments:

  There is another method of allocation/release of dynamic memory - subfunction 11, 12, 13 of function 68.

  The function cannot be used in conjunction with 68.11, 68.12, 68.13. The function call will be ignored if the application creates a local heap by calling 68.11.

 

Constants for registers: eax - SF_MEMORY_RESIZE (64)