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

Removes the trailing element from the path and optionally returns it in the specified buffer.

Parameters
pBuffer[ out ] A pointer to a P6WCHAR buffer which will receive the element that was trimmed from the path. NULL may passed if the element is not needed.
cBuffer[ in ] The size in characters of pBuffer. If pBuffer is NULL this MUST be zero.
pcWritten[ out ] If a buffer was provided in pBuffer, this can be used to return the number of characters written to pBuffer. If this information is not needed, NULL may be passed.
Returns