IOfflineFilesEvents::ItemRenamed method (cscobj.h)

Reports that the path for an item in the Offline Files cache has been renamed.

Syntax

HRESULT ItemRenamed(
  [in] LPCWSTR                pszOldPath,
  [in] LPCWSTR                pszNewPath,
  [in] OFFLINEFILES_ITEM_TYPE ItemType
);

Parameters

[in] pszOldPath

Original UNC path string for the item.

[in] pszNewPath

New UNC path string for the item.

[in] ItemType

An OFFLINEFILES_ITEM_TYPE enumeration value that indicates the type of the item.

Return value

The return value is ignored.

Remarks

This event is sent whenever a server, share, directory or file is renamed in the cache. Note that this is a rename resulting from a file system rename operation, not from IOfflineFilesCache::RenameItem or IOfflineFilesCache2::RenameItemEx. (The rename in response to RenameItem or RenameItemEx is performed on system startup by the Offline Files driver before the Offline Files service is operational.)

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header cscobj.h
DLL CscSvc.dll; CscObj.dll

See also

IOfflineFilesEvents