Allocate memory in a buffer variable.
Declaration | Zeolite.h |
---|---|
Implementation | Zeolite.cpp |
bool zbuffer_Init(ZVAR hBuf, long nItems, long ItemSize);
Name | Type | Comment |
---|---|---|
hBuf | ZVAR | A handle to the buffer variable to be initialised. |
nItems | long | The number of items for which memory is to be allocated. |
ItemSize | long | The size, in bytes, of the items in the buffer. |
False if an error occurred, and true otherwise.
The memory in a buffer variable is initialised as zeroes by zbuffer_Init
.