Retrieve the number of items allocated in a buffer, as set by zbuffer_Init or zbuffer_InitByType.
Declaration | Zeolite.h |
---|---|
Implementation | Zeolite.cpp |
long zbuffer_nItems(ZVAR hBuffer);
Name | Type | Comment |
---|---|---|
hBuffer | ZVAR | A handle to a buffer variable, from which the number of items contained are to be determined. |
Zero if the buffer is uninitialised or an error occurred, and otherwise a positive integer representing the number of items allocated in the buffer.
None.