Function ProArrayMaxCountGet
Description
Calculates the maximum number of objects that can be stored in a ProArray with objects of size obj_size. Refer to ProArrayAlloc for data on specifying the ProArray.
Synopsis
#include <ProArray.h>
ProArrayMaxCountGet
(
int obj_size
/* (In)
The size of the object.
*/
int* max_num_objs
/* (Out)
The maximum number of objects of size obj_size that can be stored in a ProArray.
*/
)
Returns
The function successfully calculated the maximum number of objects.
User Guide References
這是否有幫助?