Skip to content

Latest commit

 

History

History
107 lines (76 loc) · 7.56 KB

ne-syncmgr-syncmgr_item_policies.md

File metadata and controls

107 lines (76 loc) · 7.56 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NE:syncmgr.SYNCMGR_ITEM_POLICIES
SYNCMGR_ITEM_POLICIES (syncmgr.h)
Specifies an item's policies to control how they can be enabled or disabled by group policy.
SYNCMGR_IPM_DISABLE_BROWSE
SYNCMGR_IPM_DISABLE_DELETE
SYNCMGR_IPM_DISABLE_DISABLE
SYNCMGR_IPM_DISABLE_ENABLE
SYNCMGR_IPM_DISABLE_START_SYNC
SYNCMGR_IPM_DISABLE_STOP_SYNC
SYNCMGR_IPM_HIDDEN_BY_DEFAULT
SYNCMGR_IPM_NONE
SYNCMGR_IPM_PREVENT_DISABLE
SYNCMGR_IPM_PREVENT_ENABLE
SYNCMGR_IPM_PREVENT_START_SYNC
SYNCMGR_IPM_PREVENT_STOP_SYNC
SYNCMGR_IPM_VALID_MASK
SYNCMGR_ITEM_POLICIES
SYNCMGR_ITEM_POLICIES enumeration [Windows Shell]
shell.SYNCMGR_ITEM_POLICIES
shell_SYNCMGR_ITEM_POLICIES
syncmgr/SYNCMGR_IPM_DISABLE_BROWSE
syncmgr/SYNCMGR_IPM_DISABLE_DELETE
syncmgr/SYNCMGR_IPM_DISABLE_DISABLE
syncmgr/SYNCMGR_IPM_DISABLE_ENABLE
syncmgr/SYNCMGR_IPM_DISABLE_START_SYNC
syncmgr/SYNCMGR_IPM_DISABLE_STOP_SYNC
syncmgr/SYNCMGR_IPM_HIDDEN_BY_DEFAULT
syncmgr/SYNCMGR_IPM_NONE
syncmgr/SYNCMGR_IPM_PREVENT_DISABLE
syncmgr/SYNCMGR_IPM_PREVENT_ENABLE
syncmgr/SYNCMGR_IPM_PREVENT_START_SYNC
syncmgr/SYNCMGR_IPM_PREVENT_STOP_SYNC
syncmgr/SYNCMGR_IPM_VALID_MASK
syncmgr/SYNCMGR_ITEM_POLICIES
shell\SYNCMGR_ITEM_POLICIES.htm
shell
d894beca-855c-472f-931a-db5c6f3f891e
12/05/2018
SYNCMGR_IPM_DISABLE_BROWSE, SYNCMGR_IPM_DISABLE_DELETE, SYNCMGR_IPM_DISABLE_DISABLE, SYNCMGR_IPM_DISABLE_ENABLE, SYNCMGR_IPM_DISABLE_START_SYNC, SYNCMGR_IPM_DISABLE_STOP_SYNC, SYNCMGR_IPM_HIDDEN_BY_DEFAULT, SYNCMGR_IPM_NONE, SYNCMGR_IPM_PREVENT_DISABLE, SYNCMGR_IPM_PREVENT_ENABLE, SYNCMGR_IPM_PREVENT_START_SYNC, SYNCMGR_IPM_PREVENT_STOP_SYNC, SYNCMGR_IPM_VALID_MASK, SYNCMGR_ITEM_POLICIES, SYNCMGR_ITEM_POLICIES enumeration [Windows Shell], shell.SYNCMGR_ITEM_POLICIES, shell_SYNCMGR_ITEM_POLICIES, syncmgr/SYNCMGR_IPM_DISABLE_BROWSE, syncmgr/SYNCMGR_IPM_DISABLE_DELETE, syncmgr/SYNCMGR_IPM_DISABLE_DISABLE, syncmgr/SYNCMGR_IPM_DISABLE_ENABLE, syncmgr/SYNCMGR_IPM_DISABLE_START_SYNC, syncmgr/SYNCMGR_IPM_DISABLE_STOP_SYNC, syncmgr/SYNCMGR_IPM_HIDDEN_BY_DEFAULT, syncmgr/SYNCMGR_IPM_NONE, syncmgr/SYNCMGR_IPM_PREVENT_DISABLE, syncmgr/SYNCMGR_IPM_PREVENT_ENABLE, syncmgr/SYNCMGR_IPM_PREVENT_START_SYNC, syncmgr/SYNCMGR_IPM_PREVENT_STOP_SYNC, syncmgr/SYNCMGR_IPM_VALID_MASK, syncmgr/SYNCMGR_ITEM_POLICIES
syncmgr.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Syncmgr.idl
Windows
SYNCMGR_ITEM_POLICIES
19H1
SYNCMGR_ITEM_POLICIES
syncmgr/SYNCMGR_ITEM_POLICIES
c++
APIRef
kbSyntax
HeaderDef
Syncmgr.h
SYNCMGR_ITEM_POLICIES

SYNCMGR_ITEM_POLICIES enumeration

-description

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

-enum-fields

-field SYNCMGR_IPM_NONE:0

No policy flags are set.

-field SYNCMGR_IPM_PREVENT_ENABLE:0x1

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.

-field SYNCMGR_IPM_PREVENT_DISABLE:0x2

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.

-field SYNCMGR_IPM_PREVENT_START_SYNC:0x4

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.

-field SYNCMGR_IPM_PREVENT_STOP_SYNC:0x8

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.

-field SYNCMGR_IPM_DISABLE_ENABLE:0x10

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.

-field SYNCMGR_IPM_DISABLE_DISABLE:0x20

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.

-field SYNCMGR_IPM_DISABLE_START_SYNC:0x40

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.

-field SYNCMGR_IPM_DISABLE_STOP_SYNC:0x80

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.

-field SYNCMGR_IPM_DISABLE_BROWSE:0x100

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.

-field SYNCMGR_IPM_DISABLE_DELETE:0x200

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.

-field SYNCMGR_IPM_HIDDEN_BY_DEFAULT:0x10000

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.

-field SYNCMGR_IPM_VALID_MASK:0x102ff

A mask used to retrieve valid SYNCMGR_ITEM_POLICIES flags.