Table of Contents

zbuffer_nItems

Description

Retrieve the number of items allocated in a buffer, as set by zbuffer_Init or zbuffer_InitByType.

Files

Declaration Zeolite.h
Implementation Zeolite.cpp

Function prototype

long zbuffer_nItems(ZVAR hBuffer);

Arguments

Name Type Comment
hBuffer ZVAR A handle to a buffer variable, from which the number of items contained are to be determined.

Return value

Zero if the buffer is uninitialised or an error occurred, and otherwise a positive integer representing the number of items allocated in the buffer.

Comments

None.