Allocates the specified number of bytes from the custom library heap and stores a pointer to the allocated memory at the passed address.
AllocMemTo(nAddress, nNumberOfBytes)
Parameters
- nAddress
The memory address where to store a pointer to the newly allocated memory.
- nNumberOfBytes
The number of bytes to allocate.
Return Value
A pointer (numeric) to the allocated memory or 0 if an error occured.
Remarks
The allocated memory is initialized to zero.
See Also
Reference
AllocHGlobal
AllocMem
AMemBlocks
CompactMem
FreeHGlobal
FreeMem
FreePMem
FreeRefArray
LockHGlobal
ReAllocHGlobal
ReAllocMem
SizeOfMem
UnlockHGlobal
ValidateMem