Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

SYNCMGR_ITEM_POLICIES enumeration

Specifies an item's policies to control how they can be enabled or disabled by group policy.

Syntax


typedef enum SYNCMGR_ITEM_POLICIES { 
  SYNCMGR_IPM_NONE                = 0x00000000,
  SYNCMGR_IPM_PREVENT_ENABLE      = 0x00000001,
  SYNCMGR_IPM_PREVENT_DISABLE     = 0x00000002,
  SYNCMGR_IPM_PREVENT_START_SYNC  = 0x00000004,
  SYNCMGR_IPM_PREVENT_STOP_SYNC   = 0x00000008,
  SYNCMGR_IPM_DISABLE_ENABLE      = 0x00000010,
  SYNCMGR_IPM_DISABLE_DISABLE     = 0x00000020,
  SYNCMGR_IPM_DISABLE_START_SYNC  = 0x00000040,
  SYNCMGR_IPM_DISABLE_STOP_SYNC   = 0x00000080,
  SYNCMGR_IPM_DISABLE_BROWSE      = 0x00000100,
  SYNCMGR_IPM_DISABLE_DELETE      = 0x00000200,
  SYNCMGR_IPM_HIDDEN_BY_DEFAULT   = 0x000100004,
  SYNCMGR_IPM_VALID_MASK          = 0x000102ff
} SYNCMGR_ITEM_POLICIES;

Constants

SYNCMGR_IPM_NONE

No policy flags are set.

SYNCMGR_IPM_PREVENT_ENABLE

Enabling of the item is not supported at the time of the call. This value can be used by an item to implement support for group policy that prevents the item from being enabled. If this value is set, the Enable task is not shown in the handler's folder when this item is selected. The item should provide a comment—returned from its implementation of ISyncMgrSyncItemInfo::GetComment—to let the user know why the Enable task is not available. Most items should not set this value.

SYNCMGR_IPM_PREVENT_DISABLE

Disabling of the item is not supported at the time of the call. This value can be used by an item to implement support for group policy that prevents the item from being disabled. If this value is set, the Disable task is not shown in the handler's folder when this item is selected. The item should provide a comment—returned from its implementation of ISyncMgrSyncItemInfo::GetComment—to let the user know why the Disable task is not available. Most items should not set this value.

SYNCMGR_IPM_PREVENT_START_SYNC

Starting a sync through the user interface or through the APIs is not supported. Sync can be started only by an external application that creates a session creator to report progress. If this value is set, then the Start Sync task will not be shown in the handler's folder when the sync item is selected. Note that Start Sync must be supported on a handler in order for it to be supported on a sync item. Most sync items should not set this value.

SYNCMGR_IPM_PREVENT_STOP_SYNC

Stopping a sync through the user interface or through the APIs is not supported. If this value is set, the Stop Sync task is not shown in the handler's folder when the sync item is selected. Note that Stop Sync must be supported on a handler in order for it to be supported on a sync item. Most sync items should not set this value.

SYNCMGR_IPM_DISABLE_ENABLE

The enable task should be disabled when it is shown for this sync item. With this policy set, the Enable option appears in the context menu, if SYNCMGR_IPM_PREVENT_ENABLE is not set, but is disabled.

SYNCMGR_IPM_DISABLE_DISABLE

The disable task should be disabled when it is shown for this sync item. With this policy set, the Disable option appears in the context menu, if SYNCMGR_IPM_PREVENT_DISABLE is not set, but is disabled.

SYNCMGR_IPM_DISABLE_START_SYNC

The Start Sync task should be disabled when it is shown for this sync item. With this policy set, the Start Sync option appears in the context menu, if SYNCMGR_IPM_PREVENT_START_SYNC is not set and if SYNCMGR_HPM_PREVENT_START_SYNC is not set on the handle, but is disabled.

SYNCMGR_IPM_DISABLE_STOP_SYNC

The Stop Sync task should be disabled when it is shown for this sync item. With this policy set, the Stop Sync option appears in the context menu, if SYNCMGR_IPM_PREVENT_STOP_SYNC is not set and if SYNCMGR_HPM_PREVENT_STOP_SYNC is not set on the handler, but is disabled.

SYNCMGR_IPM_DISABLE_BROWSE

The Browse task should be disabled when it is shown for this sync item. The Browse task is shown only if the SYNCMGR_ICM_CAN_BROWSE_CONTENT value is returned from the ISyncMgrSyncItem::GetCapabilities method.

SYNCMGR_IPM_DISABLE_DELETE

The handler normally supports deleting items, but that this item cannot be deleted at the time of the call. With this policy set, the Delete option appears as disabled in the context menu for the sync item.

SYNCMGR_IPM_HIDDEN_BY_DEFAULT

The item should be hidden from the user unless the Show Hidden Files option has been enabled. This policy only applies the first time the item is loaded. After that, the hidden state is maintained by Sync Center and can be changed by the user through the property sheet.

SYNCMGR_IPM_VALID_MASK

A mask used to retrieve valid SYNCMGR_ITEM_POLICIES flags.

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:
© 2015 Microsoft