Using Win32 functions in Visual FoxPro Image Gallery
Remote Application Programming (RAPI)
..msdn
CeCloseHandle
CeCopyFile
CeCreateDatabase
CeCreateDirectory
CeCreateFile
CeCreateProcess
CeDeleteDatabase
CeDeleteFile
CeDeleteRecord
CeEnumDBVolumes
CeFindAllFiles
CeFindFirstDatabaseEx
CeFindFirstFile
CeFindNextDatabaseEx
CeGetFileSize
CeGetLastError
CeGetSpecialFolderPath
CeGetStoreInformation
CeGetSystemInfo
CeGetSystemPowerStatusEx
CeGetTempPath
CeGetVersionEx
CeGlobalMemoryStatus
CeMoveFile
CeOidGetInfoEx
CeOpenDatabase
CeRapiFreeBuffer
CeRapiGetError
CeRapiInit
CeRapiInitEx
CeRapiInvoke
CeRapiUninit
CeReadFile
CeReadRecordProps
CeRegCloseKey
CeRegCreateKeyEx
CeRegDeleteKey
CeRegDeleteValue
CeRegEnumKeyEx
CeRegEnumValue
CeRegOpenKeyEx
CeRegQueryInfoKey
CeRegQueryValueEx
CeRegSetValueEx
CeRemoveDirectory
CeSeekDatabase
CeSetFilePointer
CeWriteFile
CeWriteRecordProps
Code examples:
PocketPC: custom RAPI class for executing routines on remote Windows CE device
CeRapiInvoke
..msdn    Add comment     W32 Constants      Translate this page
This function can be used as a general-purpose mechanism to remotely execute a routine on the Windows CE device.
Code examples:
PocketPC: custom RAPI class for executing routines on remote Windows CE device
Declaration:
HRESULT CeRapiInvoke( 
  LPCWSTR pDllPath, 
  LPCWSTR pFunctionName, 
  DWORD cbInput, 
  BYTE* pInput, 
  DWORD* pcbOutput, 
  BYTE** ppOutput, 
  IRAPIStream** ppIRAPIStream, 
  DWORD dwReserved
);
FoxPro declaration:
DECLARE INTEGER CeRapiInvoke IN rapi;
    STRING    pDllPath,;
    STRING    pFunctionName,;
    INTEGER   cbInput,;
    STRING  @ pInput,;
    INTEGER @ pcbOutput,;
    STRING  @ ppOutput,;
    INTEGER @ ppIRAPIStream,;
    INTEGER   dwReserved
Parameters:
pDllPath
[in] Pointer to a buffer containing the name of a DLL on the Windows CE device containing pFunctionName.

pFunctionName
[in] Pointer to a buffer containing the name of the function that RAPI should call on the Windows CE device.

cbInput
[in] Number of bytes in the input buffer *pInput.

pInput
[in] Pointer to a buffer containing the input data.

pcbOutput
[out] Pointer to a variable that is set to the number of bytes in the output buffer ppOutput when the function returns.

ppOutput
[out] Pointer to a variable that is set to the location of the output buffer upon return.

ppIRAPIStream
[out] Pointer to a variable that is set to the address of the IRAPIStream interface.

dwReserved
Reserved.
Return value:
If RAPI services on the Windows CE device successfully locate and call the client function, then in Block Mode the return value is that which is returned on the Windows CE device by the called function.

In Stream Mode the return value is S_OK. If the function was not called successfully, or an exception occurred during its execution, an error code is returned.
My comment:
The CeRapiInvoke function operates in either block mode or stream mode.
Word Index links for the CeRapiInvoke :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2004-08-13 09:51:59
Modified: 2004-08-13 09:55:35
Visited in last 7 days: 16
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.81.237.159)
15 sec.
Function group: 'Region'
30 sec.Function: 'CharLower'
43 sec.Function: 'FlashWindow'
56 sec.Function: 'GdipGetDpiY'
1.13 min.
Function group: 'Handle and Object'
1.32 min.Function: 'GdipRemovePropertyItem'
1.53 min.Function: 'GetDlgCtrlID'
1.7 min.Function: 'GdipCreateHICONFromBitmap'
1.9 min.Function: 'AVIStreamReadFormat'
2.1 min.
Function group: 'Virtual Hard Disk (Win7)'
Google
Advertise here!