Memory allocation.
AllocHGlobal | Allocates the specified number of bytes from the global heap. |
AllocMem | Allocates the specified number of bytes from the custom library heap. |
AllocMemTo | Allocates the specified number of bytes from the custom library heap and stores a pointer to the allocated memory at the passed address. |
AMemBlocks | Stores information about all blocks allocated from the library internal heap into an array. |
CompactMem | Returns the size of the largest committed free block in the library specific heap. |
FreeHGlobal | Frees memory allocated with AllocHGlobal. |
FreeMem | Frees a memory block allocated from the library internal heap by the AllocMem or ReAllocMem function. |
FreePMem | Frees the memory block the passed in pointer points to from the library internal heap. |
FreeRefArray | Frees all memory allocated for the passed in C style array. |
LockHGlobal | Locks a global memory object and returns a pointer to the first byte of the object's memory block. |
ReAllocHGlobal | Changes the size of a specified global memory object. |
ReAllocMem | Changes the size of a memory block previously allocated by AllocMem. |
SizeOfMem | Retrieves the size of a memory block allocated by AllocMem. |
UnlockHGlobal | Decrements the lock count associated with a memory object allocated with AllocHGlobal. |
ValidateMem | Validates the library internal heap. The function scans all the memory blocks in the heap and verifies that the heap control structures maintained by the heap manager are in a consistent state. You can also use the ValidateMem function to validate a single memory block without checking the validity of the entire heap. |