Appends a path element to a file system path, automatically appending a path separator if needed, and then the specified text.
- Parameters
-
pBuffer | [ in ] The address of a buffer which will be appended to. |
cBuffer | [ in ] The size of pBuffer in characters |
pszElement | [ in ] A pointer to the path element text to append. |
pcWritten | [ out ] [OPTIONAL] The address of P6SIZE in which will be placed the number of characters appended to pBuffer on success. NULL can be passed if this information is not needed. |
- Returns
Success | P6R::eOk | |
Failure | P6R::eInvalidArg | pBuffer is NULL or cBuffer is zero or pszElement is NULL |
P6R::eNotInitialized | The initialize() method was not called successfully before calling this method. |
P6R::eTooSmall | The supplied buffer is too small. Try using using a buffer that is P6MAXPATH characters long |
Any valid P6ERR | |