IOfflineFilesPinInfo::IsPinnedForFolderRedirection method (cscobj.h)
Determines whether the item was pinned by Folder Redirection.
Syntax
HRESULT IsPinnedForFolderRedirection(
[out] BOOL *pbPinnedForFolderRedirection,
[out] BOOL *pbInherit
);
Parameters
[out] pbPinnedForFolderRedirection
Receives TRUE if the item was pinned for users by Folder Redirection, or FALSE otherwise.
[out] pbInherit
Receives TRUE if the pinned state is inherited by new child items, or FALSE otherwise.
Return value
Returns S_OK if successful, or an error value otherwise.
Remarks
When an item is pinned in the Offline Files cache, it is protected from automatic eviction and is guaranteed to be available offline.
This method corresponds to the OFFLINEFILES_PIN_CONTROL_FLAG_FORREDIR pin control flag used by the IOfflineFilesCache::Pin method.
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 |