====== buffer_nItems ====== ===== Description ===== Retrieve the number of items allocated in a buffer, as set by [[zeolite:functions:buffer_Init]]. ===== Function prototype ===== long CExtAPI::buffer_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.