IFileOperationRenameItems Method

Declares a set of items that are to be given a new display name. All items are given the same name.

Definition

Namespace: DevCase.Win32.Interfaces
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
HResult RenameItems(
	Object pUnkItems,
	string pszNewName
)

Parameters

pUnkItems  Object
Pointer to the IUnknown of the IShellItemArray, IDataObject, or IEnumShellItems object which represents the group of items to be renamed.

You can also point to an IPersistIDList object to represent a single item, effectively accomplishing the same function as RenameItem(IShellItem, String, IFileOperationProgressSink).

pszNewName  String
Pointer to the new display name of the items. This is a null-terminated, Unicode string.

Return Value

HResult
If this method succeeds, it returns S_OK. Otherwise, it returns an HResult error code.

See Also