Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IDir::appendPathElement ( P6WCHAR pBuffer,
P6SIZE  cBuffer,
const P6WCHAR pszElement,
P6SIZE pcWritten 
)
pure virtual

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
SuccessP6R::eOk 
FailureP6R::eInvalidArgpBuffer is NULL or cBuffer is zero or pszElement is NULL
P6R::eNotInitializedThe initialize() method was not called successfully before calling this method.
P6R::eTooSmallThe supplied buffer is too small. Try using using a buffer that is P6MAXPATH characters long
Any valid P6ERR