The configuration settings for RAPI security policy are set to restricted mode by default. You can configure RAPI security policy by updating the following configuration settings.
This setting limits access from remote applications that use RAPI to implement ActiveSync operations on Windows Embedded Compact 7 devices.
Default value is 2 for Compact 7.
The following list shows the possible values:
0 Blocked. Indicates that the ActiveSync service is shut down. RAPI calls are rejected.
1 Allow. Indicates full access to ActiveSync is provided. RAPI calls are allowed to process without restrictions.
2 Restricted. Indicates that access to ActiveSync is limited. Calls to CeRapiInvoke (RAPI) are blocked, the HKLM\comm\security registry key and its subkeys are read only, and the file defined in the HKLM\Init\Bootvars\"Systemhive" registry setting is read only.
The required role to modify this policy is SECROLE_MANAGER.
以上具体偶没有进行实验与测试,最后是通过 TCP 来完成通讯的,而不是初期设想的 RAPI。