turnOffActivesync
所属分类:Windows CE
开发工具:Visual C++
文件大小:23KB
下载次数:25
上传日期:2008-08-14 11:32:49
上 传 者:
lucky_1123
说明: Mobile手机上开启和关闭ActiveSync同步的源代码,可以动态的查看同步状态,并开启和关闭它
(Mobile phones turned on and off ActiveSync synchronization source code, you can view the dynamic synchronization status, and open and close it)
文件列表:
Syncmanager_turnOffActivesync\resourceppc.h (1941, 2005-04-01)
Syncmanager_turnOffActivesync\resourcesp.h (1522, 2005-04-01)
Syncmanager_turnOffActivesync\stdafx.cpp (717, 2005-04-01)
Syncmanager_turnOffActivesync\stdafx.h (2197, 2005-04-01)
Syncmanager_turnOffActivesync\SyncManager.cpp (15471, 2007-07-04)
Syncmanager_turnOffActivesync\SyncManager.h (561, 2005-04-01)
Syncmanager_turnOffActivesync\SyncManager.ico (23558, 2005-04-01)
Syncmanager_turnOffActivesync\SyncManager.sln (2748, 2005-04-01)
Syncmanager_turnOffActivesync\SyncManager.suo (21504, 2007-11-15)
Syncmanager_turnOffActivesync\SyncManager.vcproj (11967, 2005-04-01)
Syncmanager_turnOffActivesync\SyncManager.vcproj.IBM-THINKPAD.IBM.user (3455, 2007-11-15)
Syncmanager_turnOffActivesync\SyncManagerppc.rc (4588, 2005-04-01)
Syncmanager_turnOffActivesync\SyncManagerppc.rc2 (1003, 2005-04-01)
Syncmanager_turnOffActivesync\SyncManagersp.rc (2353, 2005-04-01)
Syncmanager_turnOffActivesync\SyncManagersp.rc2 (906, 2005-04-01)
Syncmanager_turnOffActivesync (0, 2007-11-15)
Code Sample Name: SyncManager
Feature Area: Device ActiveSync
Description:
The App runs on a WinCE Device and displays the usage of the ActiveSync APIs,
utilising ActiveSyncStart() and ActiveSyncStop() to launch and terminate sync sessions.
It also displays the use of State and Notification APIs to register for changes
to the two sync related Status Entries:
- one that represents the Sync Status and
- the other, representing the Cradle Status
Usage: Click to Launch the SyncManager
Click MENU -> Start to launch sync session, Stop to terminate the session
The Main Dialog shows Device Cradle and Sync Status.
Relevant APIs/Associated Help Topics: ActiveSyncStart, ActiveSyncStop, IsCradled, IsSynchronizing
Assumptions: None
Requirements:
Visual Studio 2005,
Windows Mobile 5.0 Pocket PC SDK
Windows Mobile 5.0 SmartPhone SDK,
ActiveSync 4.0.
Comments:
You must compile this application with Visual Studio 2005 or newer.
1. Open the solution file in Visual Studio.
2. Point to "Platform", and select the platform you want to run this application on (Pocket PC, Smartphone, emulator, etc.).
3. Navigate to "Build", and click "ReBuild All" to compile the executable file.
** For more information about this code sample, please see the Windows Mobile SDK help system. **
近期下载者:
相关文件:
收藏者: