This method is specific to version 3, or higher, of the OS/2 operating system.
This instance method sets the current title of an object and renames the file to match the title.
#define INCL_WINWORKPLACE
#include <os2.h>
WPFileSystem *somSelf; /* Pointer to the object on which the method is being invoked. */
PSZ pszNewTitle; /* Pointer to new the title of object. */
ULONG fConfirmations; /* Confirmation flag. . */
BOOL rc; /* Success indicator. */
rc = _wpSetTitleAndRenameFile(somSelf, pszNewTitle,
fConfirmations);