IOfflineFilesShareInfo::GetShareItem method (cscobj.h)

Finds the cache item representing the closest ancestor share to the item. In non-DFS scenarios this can be the \server\share at the top of the namespace. In DFS scenarios this might be a cache directory entry that corresponds to a share in the DFS namespace.

Syntax

HRESULT GetShareItem(
  [out] IOfflineFilesShareItem **ppShareItem
);

Parameters

[out] ppShareItem

Receives the address of the IOfflineFilesShareItem interface on the share item.

Return value

Returns S_OK if successful, or an error value otherwise.

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

IOfflineFilesShareInfo