IOfflineFilesEvents::ItemAddedToCache method (cscobj.h)

Reports that an item has been added to the Offline Files cache.

Syntax

HRESULT ItemAddedToCache(
  [in] LPCWSTR                pszPath,
  [in] OFFLINEFILES_ITEM_TYPE ItemType
);

Parameters

[in] pszPath

The item's UNC path string.

[in] ItemType

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

Return value

The return value is ignored.

Remarks

Note that addition to the cache does not mean that the item is available for offline use. It may still be sparsely cached. When the item is available for offline use, the ItemAvailableOffline event will be sent.

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