Επεξεργασία

Κοινή χρήση μέσω


ISyncMgrHandlerInfo interface (syncmgr.h)

Exposes methods that allow a handler to provide property and state information to Sync Center.

Inheritance

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

Methods

The ISyncMgrHandlerInfo interface has these methods.

 
ISyncMgrHandlerInfo::GetComment

Gets a string that contains commentary regarding the handler.
ISyncMgrHandlerInfo::GetLastSyncTime

Gets the date and time when the handler was last synchronized.
ISyncMgrHandlerInfo::GetType

Gets the handler type for Sync Center.
ISyncMgrHandlerInfo::GetTypeLabel

Gets a label for the handler type. This typically provides the model of the device or an equivalent handler-specific identity string.
ISyncMgrHandlerInfo::IsActive

Gets a value that indicates whether the handler can be synchronized.
ISyncMgrHandlerInfo::IsConnected

Gets a value that indicates whether the handler�typically some type of external device�is connected.
ISyncMgrHandlerInfo::IsEnabled

Gets a value that indicates whether the handler is enabled.

Remarks

Handlers should always implement this interface, generally on the same object that implements ISyncMgrHandler. By implementing ISyncMgrHandlerInfo, the set of properties can be changed without requiring the handler to be recompiled. It also provides type-safe access to the properties.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header syncmgr.h