Category Creo Parametric TOOLKIT fundamentals, Object ProWstring

Function ProWstringArrayObjectAdd


Description
Adds and allocates memory for wide strings at a specified location to the array, or appends an object to the end of the array.

NOTE:

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

Synopsis
#include <ProWstring.h>
ProErrorProWstringArrayObjectAdd(
ProWstring** p_array
/* (In)
The address of the array.
*/
int index
/* (In)
The position at which to insert wide string in the array. If you specify a value less than 0 (PRO_VALUE_UNUSED), the function appends the wide strings to the end of the array.
*/
int n_objects
/* (In)
The number of objects to add to the array.
*/
ProWstring* p_objects
/* (In)
The address from which a contiguous set of wide strings is to be copied into 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 added the object.

Sample Code References:

  1. pt_examples ( TestGtol.c )
  2. pt_examples ( TestGtol.c )
  3. pt_examples ( TestGtol.c )
  4. pt_examples ( TestGtol.c )
  5. pt_examples ( TestGtol.c )
  6. pt_examples ( TestGtol.c )
  7. pt_examples ( TestGtol.c )
  8. pt_examples ( TestGtol.c )
  9. pt_examples ( TestGtol.c )
  10. pt_examples ( TestGtol.c )
  11. pt_examples ( TestGtol.c )
  12. pt_examples ( TestGtol.c )
  13. pt_examples ( TestGtol.c )
  14. pt_examples ( TestGtol.c )
  15. pt_examples ( TestGtol.c )
  16. pt_examples ( TestGtol.c )
  17. pt_examples ( TestGtol.c )
  18. pt_examples ( TestGtol.c )
  19. pt_examples ( TestGtol.c )
  20. pt_examples ( TestGtol.c )
  21. pt_examples ( TestGtol.c )
  22. pt_examples ( TestGtol.c )
  23. pt_examples ( TestGtol.c )
  24. pt_examples ( TestGtol.c )
  25. pt_examples ( TestGtol.c )
  26. pt_examples ( TestGtol.c )
  27. pt_examples ( TestGtol.c )
  28. pt_examples ( TestGtol.c )
  29. pt_examples ( TestPartMaterial.c )
  30. pt_examples ( UtilString.c )