Invoking Functions from a Desktop Computer

Windows CE supports a remote application programming interface (RAPI) that gives an application running on a desktop computer the ability to invoke function calls on a Windows CE-based platform. The desktop computer is the RAPI client and the Windows CE-based platform is the RAPI server. The communication uses Windows Sockets (Winsock) and can take place over a serial link, a modem connection, or a network connection.

The function calls behave much like the equivalent Windows CE functions. For the most part, RAPI functions have the same syntax, parameters, and return values as the corresponding Windows CE versions. Any differences are noted in the reference documentation for the RAPI functions.

Note String and character parameters must be in Unicode format. Use the appropriate conversion routines, if necessary.