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:
Pocket PC: custom RAPI class for operating with the System Registry
CeRegSetValueEx
..msdn    Add comment     W32 Constants      Translate this page
This function stores data in the value field of an open registry key. It can also set additional value and type information for the specified key.
Code examples:
Pocket PC: custom RAPI class for operating with the System Registry
Declaration:
LONG CeRegSetValueEx( 
  HKEY hKey, 
  LPCWSTR lpValueName, 
  DWORD Reserved, 
  DWORD dwType, 
  const BYTE* lpData, 
  DWORD cbData
);
FoxPro declaration:
DECLARE INTEGER CeRegSetValueEx IN rapi;
    INTEGER   hKey,;
    STRING    lpValueName,;
    INTEGER   Reserved,;
    INTEGER   dwType,;
    STRING  @ lpData,;
    INTEGER   cbData

Parameters:
hKey
[in] Handle to a currently open key or any of the predefined reserved handle values.

lpValueName
[in] Pointer to a string containing the name of the value to set. If a value with this name is not already present in the key, the function adds it to the key.

Reserved
[in] Reserved; must be 0.

dwType
[in] Specifies the type of information to be stored as the value"s data.

lpData
[in] Pointer to a buffer containing the data to be stored with the specified value name.

cbData
[in] Specifies the size, in bytes, of the information pointed to by the lpData parameter.
Return value:
ERROR_SUCCESS indicates success.
My comment:
The maximum size of data allowed in Windows CE is 4 KB.
Word Index links for the CeRegSetValueEx :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2004-06-28 14:17:20
Modified: 2004-06-28 14:20:36
Visited in last 7 days: 35
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.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.147.40.153)
12 sec.Function: 'NetMessageBufferSend'
Function group: 'Network Management'
25 sec.Function: 'SetThreadPriority'
Function group: 'Process and Thread'
37 sec.Function: 'CeFindFirstDatabaseEx'
Function group: 'Remote Application Programming (RAPI)'
1.03 min.Function: 'mixerGetID'
Function group: 'Windows Multimedia'
1.23 min.Function: 'AssignProcessToJobObject'
Function group: 'Process and Thread'
1.45 min.Function: 'waveOutSetVolume'
Function group: 'Windows Multimedia'
1.67 min.Example: 'How to extract frames from AVI files'
1.87 min.Function: 'CeRapiInitEx'
2.08 min.Function: 'CeGetLastError'
Function group: 'Remote Application Programming (RAPI)'
2.32 min.Example: 'Semi-transparent Form'
Google
Advertise here!