mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
CryptoAlgo Inc
daad8a087a
|
4 years ago | |
---|---|---|
.. | ||
alloc.cpp | 4 years ago | |
alloc.h | 4 years ago | |
cfact.cpp | 4 years ago | |
cfact.h | 4 years ago | |
critsect.cpp | 4 years ago | |
critsect.h | 4 years ago | |
debug.cpp | 4 years ago | |
debug.h | 4 years ago | |
dllmain.cpp | 4 years ago | |
dllmain.h | 4 years ago | |
enum.cpp | 4 years ago | |
enum.h | 4 years ago | |
guid.c | 4 years ago | |
guid.h | 4 years ago | |
handler.cpp | 4 years ago | |
handler.h | 4 years ago | |
handler.rc | 4 years ago | |
helper.cpp | 4 years ago | |
helper.h | 4 years ago | |
makefile | 4 years ago | |
precomp.h | 4 years ago | |
readme.txt | 4 years ago | |
reg.cpp | 4 years ago | |
reg.h | 4 years ago | |
resource.h | 4 years ago | |
settings.cpp | 4 years ago | |
settings.h | 4 years ago | |
small.ico | 4 years ago | |
syncdir.def | 4 years ago | |
syncdir.dsp | 4 years ago | |
syncdir.dsw | 4 years ago |
readme.txt
Synchronization Manager Sample Handler
SUMMARY
=======
Sample demonstrates how to write a handler that works with Synchronization Manager
to synchronize offline data.
Description
===========
SyncDir is a fully functional sample handler that demonstrates the common
functionality that must be implemented by all Synchronization Manager handlers.
It exercises the synchronization features by synchronizing the contents of two
directories configured by the user.
It has the necessary code to register and unregister itself with the
Synchronization Manager. It is an COM inproc server and implements the
ISyncMgrSynchronize interface for the purposes of synchronization using the
ISyncMgrSynchronizeCallback to communicate progress and status information.
Additionally, it allows the user to create and manage synchronization items by
specifying the directory pairs to be synchronized.
Building
========
To build the sample you must have mobsync.h from the Platform SDK in
your include path and mobsync.lib in your lib path.
Registering Handler
=====================
Once the handler has been built you must register it.
Steps:
- Go to the Directory the syncdir.dll is located
- type regsvr32 syncdir.dll
To uninstall type regsvr32 /u syncdir.dll
Class Overview
======================
CSyncMgrHandler - main class that implements ISyncMgrSynchronize interface
CEnumSyncMgrItems - implements ISyncMgrEnumItems interface
CSettings - handles item and handler configuration
CClassFactory - implements standard COM Class Factory interface.