UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:mmc.IResultData2.RenameResultItem |
IResultData2::RenameResultItem (mmc.h) |
The RenameResultItem method programmatically places the specified result item into rename mode, after which, the user can manually enter the new name. |
|
mmc\iresultdata2_renameresultitem.htm |
mmc |
a667f638-88bb-4758-8df7-478b0d6c18c4 |
12/05/2018 |
IResultData2 interface [MMC],RenameResultItem method, IResultData2.RenameResultItem, IResultData2::RenameResultItem, RenameResultItem, RenameResultItem method [MMC], RenameResultItem method [MMC],IResultData2 interface, _slate_iresultdata2_renameresultitem, mmc.iresultdata2_renameresultitem, mmc/IResultData2::RenameResultItem |
mmc.h |
Windows |
Windows Vista |
Windows Server 2008 |
Mmc.lib |
Mmcndmgr.dll |
Windows |
19H1 |
|
|
|
|
|
|
The RenameResultItem method programmatically places the specified result item into rename mode, after which, the user can manually enter the new name. This method is designed specifically for the case where an item is created and immediately must be placed into rename mode. Use of this method under other scenarios, such as being called after an item has been selected, is not supported and may have unexpected results.
The result item being placed into rename mode. When applied to virtual lists, pass the item index instead of the result item.
If successful, the return value is S_OK; otherwise, the return value is an error code. The SUCCEEDED and/or FAILED macros can be used to evaluate the return value. If the Rename verb is not enabled, this method returns E_FAIL.
The item being placed into rename mode must have the Rename verb enabled for this method to succeed.