Function ProStringCopy
Description
Copies a string into memory allocated by Creo Parametric. This allows you to free the string with ProStringFree() and allows Creo Parametric to free this string if necessary.
Synopsis
#include <ProUtil.h>
ProStringCopy
(
char* string
/* (In)
The original string.
*/
char** to
/* (Out)
The copy of the string. Creo Parametric allocates memory for this argument.
*/
)
Returns
The function succeeded.
One or more input arguments was invalid.
The function failed to allocate memory for the new string.
Was this helpful?