<div class="content" name="SchRpcRename" uuid="c00c1975-6d0a-4e9b-a104-2805527aa8d1"><p>The SchRpcRename method renames a folder or task.</p><dl>
<dd>
<div><pre> HRESULT SchRpcRename(
   [in, string] const wchar_t* path,
   [in, string] const wchar_t* newName,
   [in] DWORD flags
 );
</pre></div>
</dd></dl><p><b>path: </b>MUST be the full path to the task or to
a folder to rename. The path MUST be in the format specified in section <a href="fa8809c8-4f0f-4c6d-994a-6c10308757c1" data-linktype="relative-path">2.3.11</a>.</p><p><b>newName: </b>The new name of the task.</p><p><b>flags: </b>Reserved. The client MUST set this
parameter to zero.</p><p><b>Return Values: </b>For more information on return
codes, see section <a href="774cd43a-8376-4c8b-a2e3-57aaa6357088" data-linktype="relative-path">2.3.14</a>,
or Win32 Error Codes in <a href="../ms-erref/1bc92ddf-b79e-413c-bbaa-99a5281a6c90" data-linktype="relative-path">[MS-ERREF]</a>
section <a href="../ms-erref/0642cb2f-2075-4469-918c-4441e69c548a" data-linktype="relative-path">2.1</a>.</p><p>Upon receipt of the SchRpcRename call the server MUST return
E_NOTIMPL.</p></div>