====== zbuffer_MemSize ====== ===== Description ===== Determine the total number of bytes allocated in the buffer. ===== Files ===== ^ Declaration | ''Zeolite.h'' | ^ Implementation | ''Zeolite.cpp'' | ===== Function prototype ===== long zbuffer_MemSize(ZVAR hBuffer); ===== Arguments ===== ^ Name ^ Type ^ Comment ^ | //hBuffer// | ZVAR | A handle to a buffer variable, from which the total memory allocation (in bytes) is to be determined. | ===== Return value ===== A positive integer representing the total number of bytes allocated in the buffer, or zero if the buffer is uninitialised or an error occurred. ===== Comments ===== This function is equivalent to the product of the outputs from [[zeolite:functions:zbuffer_nItems]] and [[zeolite:functions:zbuffer_ItemSize]].