IOfflineFilesPinInfo interface (cscobj.h)

Represents the pinned status of an item in the Offline Files cache.

When an item is pinned into the Offline Files cache by using the IOfflineFilesCache::Pin method, it may be pinned for one of the following reasons:

Flag Value Meaning
OFFLINEFILES_PIN_CONTROL_FLAG_FORUSER This flag is set when a file is pinned using the "Always available offline" option in Windows explorer.
OFFLINEFILES_PIN_CONTROL_FLAG_FORUSER_POLICY This flag is set when a file is pinned by the per-user "Administratively assigned offline files" Group Policy.
OFFLINEFILES_PIN_CONTROL_FLAG_FORALL This flag is set when a file is pinned by the per-computer "Administratively assigned offline files" Group Policy.
OFFLINEFILES_PIN_CONTROL_FLAG_FORREDIR This flag is set when a redirected folder is pinned by Folder Redirection.
 

Each of the various IsPinnedForUserXxxxxx methods expresses one of these reasons.

Inheritance

The IOfflineFilesPinInfo interface inherits from the IUnknown interface. IOfflineFilesPinInfo also has these types of members:

Methods

The IOfflineFilesPinInfo interface has these methods.

 
IOfflineFilesPinInfo::IsPinned

Determines whether the item is pinned.
IOfflineFilesPinInfo::IsPinnedForComputer

Determines whether the item was pinned for all users on the computer by Group Policy.
IOfflineFilesPinInfo::IsPinnedForFolderRedirection

Determines whether the item was pinned by Folder Redirection.
IOfflineFilesPinInfo::IsPinnedForUser

Determines whether the item was pinned by a user.
IOfflineFilesPinInfo::IsPinnedForUserByPolicy

Determines whether the item was pinned for users by Group Policy.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header cscobj.h

See also

Offline Files API Interfaces