Category Creo Parametric TOOLKIT fundamentals, Object ProWstring

Function ProWstringArraySizeSet


Description
Enables you to increase or decrease the size of an array.

NOTE:

Because this call may cause the array to be reallocated, you must pass the address of the array.

Synopsis
#include <ProWstring.h>
ProErrorProWstringArraySizeSet(
ProWstring** p_array
/* (In)
The address of the array whose size should be changed
*/
int size
/* (In)
The new size for the array
*/
)
Returns
PRO_TK_BAD_INPUTSThe size of the array is less than 0.
PRO_TK_INVALID_PTRThe *p_array is NULL.
PRO_TK_NO_ERRORThe function successfully changed the size of the array.

Sample Code References:

  1. pt_examples ( TestPartMaterial.c )