Table of Contents

zbuffer_ItemSize

Description

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.

Files

Declaration Zeolite.h
Implementation Zeolite.cpp

Function prototype

long zbuffer_ItemSize(ZVAR hBuffer);

Arguments

Name Type Comment
hBuffer ZVAR A handle to a buffer variable, the item size of which is to be retrieved.

Return value

Zero if the buffer is not initialised or an error occurred, and non-zero otherwise.

Comments

None.