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
CeCreateProcess
..msdn    Add comment     W32 Constants      Translate this page
This function is used to run a new program. It creates a new process and its primary thread. The new process executes the specified executable file.
Code examples:
PocketPC: custom RAPI class for executing routines on remote Windows CE device
Declaration:
BOOL CeCreateProcess(
  LPCWSTR lpApplicationName, 
  LPCWSTR lpCommandLine, 
  LPSECURITY_ATTRIBUTES lpProcessAttributes, 
  LPSECURITY_ATTRIBUTES lpThreadAttributes, 
  BOOL bInheritHandles, 
  DWORD dwCreationFlags, 
  LPVOID lpEnvironment, 
  LPWSTR lpCurrentDirectory, 
  LPSTARTUPINFO lpStartupInfo, 
  LPPROCESS_INFORMATION lpProcessInformation
);
FoxPro declaration:
DECLARE INTEGER CeCreateProcess IN rapi;
    STRING   lpAppName,;
    STRING   lpCmdLine,;
    INTEGER  lpProcAttr,;
    INTEGER  lpThreadAttr,;
    INTEGER  bInheritHandles,;
    INTEGER  dwCreationFlags,;
    INTEGER  lpEnvironment,;
    INTEGER  lpCurrDir,;
    INTEGER  lpStartupInfo,;
    STRING @ lpProcInfo
Parameters:
lpApplicationName
[in] Long pointer to a null-terminated string that specifies the module to execute.

lpCommandLine
[in] Long pointer to a null-terminated string that specifies the command line to execute.

lpProcessAttributes
[in] Not supported; set to NULL.

lpThreadAttributes
[in] Not supported; set to NULL.

bInheritHandles
[in] Not supported; set to FALSE.

dwCreationFlags
[in] Specifies additional flags that control the priority class and the creation of the process.

lpEnvironment
[in] Not supported; set to NULL.

lpCurrentDirectory
[in] Not supported; set to NULL.

lpStartupInfo
[in] Not supported; set to NULL.

lpProcessInformation
[out] Long pointer to a PROCESS_INFORMATION structure that receives identification information about the new process.
Return value:
Nonzero indicates success.
My comment:
To determine if a function failed because of RAPI errors, call CeRapiGetError. To determine if a function failed because of non-RAPI errors, call CeGetLastError.
Word Index links for the CeCreateProcess :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2004-08-13 09:48:20
Modified: 2004-08-13 09:51:25
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 (23.20.86.177)
12 sec.Function: 'RemoveClipboardFormatListener'
25 sec.Function: 'SCardEstablishContext'
37 sec.Function: 'AVIFileInfo'
Google
Advertise here!