Table of Contents

buffer_ItemSize

Description

Retrieve the size, in bytes, of each item in a buffer (as set in buffer_Init). To retrieve the combined size of all items in a buffer, use buffer_MemSize.

Function prototype

int CExtAPI::buffer_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.