C++
Acad::ErrorStatus acutUpdString( const ACHAR* pString, ACHAR*& newString );
File
rxvarcache.h
Description
This function makes a copy of the pInput string and sets pOutput to point to the resulting copy. If pOutput is currently pointing to any allocated memory, then that memory is deallocated even if pInput is NULL.
Returns Acad::eOk if successful. If the memory allocation for the string copy fails, returns Acad::eOutOfMemory.
Parameters
Parameters | Description |
---|---|
pInput | Input string to copy |
pOutput | Output pointer to string copy |