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>
ProWstringArrayObjectAdd
(
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
The size of the array is less than 0.
The *p_array is NULL.
The function successfully added the object.
Sample Code References
¿Fue esto útil?