IShellView2::HandleRename method (shobjidl_core.h)

Used to change an item's identifier.

Syntax

HRESULT HandleRename(
  PCUITEMID_CHILD pidlNew
);

Parameters

pidlNew

Type: PCUITEMID_CHILD

A pointer to an ITEMIDLIST structure. The current identifier is passed in and is replaced by the new one.

Return value

Type: HRESULT

Return S_OK if successful, or a COM-defined error code otherwise.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional, Windows XP [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)
DLL Shell32.dll (version 4.71 or later)