Export (0) Print
Expand All
Expand Minimize

SYNCMGR_ITEM_CAPABILITIES enumeration

Specifies the actions that can be performed against an item.

Syntax


typedef enum SYNCMGR_ITEM_CAPABILITIES { 
  SYNCMGR_ICM_NONE                  = 0x00000000,
  SYNCMGR_ICM_PROVIDES_ICON         = 0x00000001,
  SYNCMGR_ICM_EVENT_STORE           = 0x00000002,
  SYNCMGR_ICM_CONFLICT_STORE        = 0x00000004,
  SYNCMGR_ICM_CAN_DELETE            = 0x00000010,
  SYNCMGR_ICM_CAN_BROWSE_CONTENT    = 0x00010000,
  SYNCMGR_ICM_QUERY_BEFORE_ENABLE   = 0x00100000,
  SYNCMGR_ICM_QUERY_BEFORE_DISABLE  = 0x00200000,
  SYNCMGR_ICM_QUERY_BEFORE_DELETE   = 0x00400000,
  SYNCMGR_ICM_VALID_MASK            = 0x00710017
} SYNCMGR_ITEM_CAPABILITIES;

Constants

SYNCMGR_ICM_NONE

No capability flags are set.

SYNCMGR_ICM_PROVIDES_ICON

The item returns a valid object from ISyncMgrSyncItem::GetObject when that method is called with the SYNCMGR_OBJECTID_Icon flag.

SYNCMGR_ICM_EVENT_STORE

The item returns a valid object from ISyncMgrSyncItem::GetObject when that method is called with the SYNCMGR_OBJECTID_EventStore flag.

SYNCMGR_ICM_CONFLICT_STORE

The item returns a valid object from ISyncMgrSyncItem::GetObject when that method is called with the SYNCMGR_OBJECTID_ConflictStore flag.

SYNCMGR_ICM_CAN_DELETE

The user is allowed to delete the item from the handler's folder. This can be used by an item to remove itself from the handler's sync set (for instance, remove a folder from the set of Offline Files). If this value is set, the Delete task is shown in the handler's folder when this item is selected.

SYNCMGR_ICM_CAN_BROWSE_CONTENT

The item returns a valid object from ISyncMgrSyncItem::GetObject when that method is called with the SYNCMGR_OBJECTID_BrowseContent flag. If this value is set, the Browse Content task is added to the item's shortcut menu.

SYNCMGR_ICM_QUERY_BEFORE_ENABLE

The item returns a valid object from ISyncMgrSyncItem::GetObject when that method is called with the SYNCMGR_OBJECTID_QueryBeforeEnable flag.

SYNCMGR_ICM_QUERY_BEFORE_DISABLE

The item returns a valid object from ISyncMgrSyncItem::GetObject when that method is called with the SYNCMGR_OBJECTID_QueryBeforeDisable flag.

SYNCMGR_ICM_QUERY_BEFORE_DELETE

The item returns a valid object from ISyncMgrSyncItem::GetObject when that method is called with the SYNCMGR_OBJECTID_QueryBeforeDelete flag.

SYNCMGR_ICM_VALID_MASK

A mask used to retrieve valid SYNCMGR_ITEM_CAPABILITIES flags.

Remarks

Sync Center queries the item for its capabilities through ISyncMgrSyncItem::GetCapabilities whenever the ISyncMgrControl::UpdateItem method is called.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Syncmgr.h

IDL

Syncmgr.idl

 

 

Community Additions

ADD
Show:
© 2014 Microsoft