IOfflineFilesEvents::ItemRenamed method

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

pszOldPath [in]

Original UNC path string for the item.

pszNewPath [in]

New UNC path string for the item.

ItemType [in]

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

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

CscObj.h

DLL

CscSvc.dll;
CscObj.dll

See also

IOfflineFilesEvents

 

 

Show: