Rapi

This program has various functions to interact with a Pocket PC attached to your computer. Copy files between the Pocket PC and your desktop computer, create and delete directories, update the registry and check memory status among other things

This example only comes in a PB10 version. This is because the Pocket PC is Unicode only so calling RAPI functions from non Unicode versions of PB is very difficult. It also uses the LongLong datatype which was introduced in PB9.


Win API Functions used:

CeCloseHandleCeCreateDirectoryCeCreateFile
CeDeleteFileCeFindCloseCeFindFirstFile
CeFindNextFileCeGetFileAttributesCeGetFileSize
CeGetFileTimeCeGetLastErrorCeGetStoreInformation
CeGetSystemPowerStatusExCeGetTempPathCeGetVersionEx
CeGlobalMemoryStatusCeRapiInitCeRapiInitEx
CeRapiUninitCeReadFileCeRegCloseKey
CeRegCreateKeyExCeRegDeleteKeyCeRegDeleteValue
CeRegOpenKeyExCeRegQueryValueExCeRegSetValueEx
CeRemoveDirectoryCeSetFileAttributesCeWriteFile
FileTimeToLocalFileTimeFileTimeToSystemTimeFormatMessage
WaitForSingleObject


——— Last updated 05/10/2007 ———