Copy a File to a Device
Windows Mobile 6.5
4/8/2010
Copy a File from a Device
Remote API (RAPI)
This code sample is named Pput. It demonstrates how to programmatically copy a file from the desktop computer to a mobile device using the Remote API (RAPI)interface..
CeCloseHandle (RAPI) function
CeRapiInit (RAPI) function
CeRapiUninit (RAPI) function
CeReadFile (RAPI) function
CeWriteFile (RAPI) function
Remote API (RAPI) interface
To run the code sample
-
Navigate to the solution file (*.sln), and double-click it. By default, the solution files are copied to the following folders:
C:\Program Files\Windows Mobile 6.5.3 DTK\Samples\Common\CPP\Win32\Rapi\Pput
Microsoft Visual Studio launches and loads the solution.
-
Build the solution (Ctrl+Shift+B).
-
Deploy the solution (F5).
Concepts
Code Samples for Windows MobileCopy a File from a Device
Other Resources
ActiveSyncRemote API (RAPI)