IOfflineFilesItem::IsMarkedForDeletion method (cscobj.h)

Determines whether an item has been deleted from the Offline Files cache.

Syntax

HRESULT IsMarkedForDeletion(
  [out] BOOL *pbMarkedForDeletion
);

Parameters

[out] pbMarkedForDeletion

Receives TRUE if the item has been deleted, or FALSE otherwise.

Return value

Returns S_OK if successful, or an error value otherwise.

Remarks

Due to internal (in-memory) caching of data structures in the remote file system and the CSC driver, deletion of an item might not remove the item from the cache immediately. An item is first marked for deletion then, after all handles have closed, the item is removed from the cache. This behavior is most apparent for share items.

Clients should normally treat such items as if they do not exist in the cache.

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

IOfflineFilesItem