An introduction to memory management functions that you can use with in-process and out-of-process operations.
Parameters:
count: The number of bytes to allocate.
Returns: A pointer to the allocated memory.
Parameters:
old_mem_ptr: A pointer to the old memory.
new_size: The size of the new block of memory to be reallocated.
Returns: Nothing.
Parameters:
mem_ptr: A pointer to the memory to be freed.
Returns: Nothing.
Although the memory management API is the same for in-process and out-of-process operations, some special cautions apply when these are used with in-process operations. These cautions are explained in the following section.