3.2.5.4.15 SchRpcRename (Opnum 14)

The SchRpcRename method renames a folder or task.

 HRESULT SchRpcRename(
   [in, string] const wchar_t* path,
   [in, string] const wchar_t* newName,
   [in] DWORD flags
 );

path: MUST be the full path to the task or to a folder to rename. The path MUST be in the format specified in section 2.3.11.

newName: The new name of the task.

flags: Reserved. The client MUST set this parameter to zero.

Return Values: For more information on return codes, see section 2.3.14, or Win32 Error Codes in [MS-ERREF] section 2.1.

Upon receipt of the SchRpcRename call the server MUST return E_NOTIMPL.