Retrieve the size, in bytes, of each item in a buffer (as set in zbuffer_Init or zbuffer_InitByType). To retrieve the combined size of all items in a buffer, use zbuffer_MemSize.
Declaration | Zeolite.h |
---|---|
Implementation | Zeolite.cpp |
long zbuffer_ItemSize(ZVAR hBuffer);
Name | Type | Comment |
---|---|---|
hBuffer | ZVAR | A handle to a buffer variable, the item size of which is to be retrieved. |
Zero if the buffer is not initialised or an error occurred, and non-zero otherwise.
None.