Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IDir::rename ( const P6WCHAR pszFrom,
const P6WCHAR pszTo 
)
pure virtual

Rename or move files and directories in the same directory or across directories.

Parameters
pszFromA pointer to a P6WCHAR string containing the pathname of the ietm to rename.
pszToA pointer to a P6WCHAR string containing the new pathname to rename pszFrom to. NOTE: On some platforms you can not rename accross devices.
Returns
SuccessP6R::eOk 
FailureP6R::eInvalidArgpszFrom or pszTo is NULL
P6R::eNotInitializedThe initialize() method was not called successfully before calling this method.
Any valid P6ERR