Remote API 2 (RAPI2)

Send Feedback

The Remote API 2 (RAPI2) library enables applications that run on a desktop to perform actions on a remote Microsoft® Windows® CE-based device. The functionality that RAPI2 provides includes the ability to manipulate the file system on the remote device, including the creation and deletion of files and directories. RAPI2 interfaces can be used to create and modify databases, either in the device's object store or in mounted database volumes. RAPI2 applications can also query and modify registry keys as well as launch applications and invoke methods on the remote device.

RAPI2 is a replacement for the previous Remote API (RAPI) library. The most significant change in RAPI2 is that the underlying server that transfers information between the desktop and the remote device is multithreaded. This means that, unlike RAPI, more than one application can transfer data at a time so that applications using RAPI2 will not have to wait for other applications to finish before beginning their own operations. Other enhancements include support for multiple remote devices as well as the ability to query for information about each connected remote device. Future versions of Windows Mobile may take advantage of this enhancement. ActiveSync 4.1 and Windows Mobile 5.0 are limited to one device connection at a time.

Note   Although the RAPI is still supported, it is strongly recommended that you use the newer RAPI2 library.

In This Section

Remote API 2 (RAPI2) Application Development for Windows Mobile–based Device

Provides information about the RAPI2 programming elements that are available for use in Microsoft® Windows® CE-based devices.

  • Remote API 2 (RAPI2) Reference
    Provides information about the RAPI2 programming elements that are available for use in Microsoft® Windows® CE-based devices.

Remote Connections

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.