IFileOperationRenameItem Method
Declares a single item that is to be given a new display name.
Namespace: DevCase.Win32.InterfacesAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
No code example is currently available or this language may not be supported.
- psiItem IShellItem
-
Pointer to an IShellItem that specifies the source item.
- pszNewName String
-
Pointer to the new display name of the item. This is a null-terminated, Unicode string.
- pfopsItem IFileOperationProgressSink
-
Pointer to an IFileOperationProgressSink object to be used
for status and failure notifications.
If you call Advise(IFileOperationProgressSink, UInt32) for the overall operation,
progress status and error notifications for the rename operation are included there,
so set this parameter to NULL.
HResult
If this method succeeds, it returns
S_OK.
Otherwise, it returns an
HResult error code.