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
CeRegOpenKeyEx
..msdn    Add comment     W32 Constants      Translate this page
This function opens the specified key.
Code examples:
Pocket PC: custom RAPI class for operating with the System Registry
Declaration:
LONG CeRegOpenKeyEx( 
  HKEY hKey, 
  LPCWSTR lpszSubKey, 
  DWORD ulOptions, 
  REGSAM samDesired, 
  PHKEY phkResult
);
FoxPro declaration:
DECLARE INTEGER CeRegOpenKeyEx IN rapi;
    INTEGER   hKey,;
    STRING    lpszSubKey,;
    INTEGER   ulOptions,;
    INTEGER   samDesired,;
    INTEGER @ phkResult
Parameters:
hKey
[in] Handle to a currently open key or any of the predefined reserved handle values

lpszSubKey
[in] Pointer to a null-terminated string containing the name of the subkey to open.

ulOptions
[in] Reserved; set to 0.

samDesired
[in] Not supported; set to 0.

phkResult
[out] Pointer to a variable that receives a handle to the opened key.
Return value:
ERROR_SUCCESS (0) indicates success.
My comment:
When you no longer need the returned handle, call the CeRegCloseKey function to close it.
Word Index links for the CeRegOpenKeyEx :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2004-06-21 20:22:01
Modified: 2004-06-21 20:24:49
Visited in last 7 days: 13
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.162.166.214)
10 sec.Function: 'GetEnvironmentVariable'
Function group: 'Process and Thread'
20 sec.Function: 'GetAncestor'
Function group: 'Window'
30 sec.Function: 'GetForegroundWindow'
41 sec.
Function group: 'Time'
51 sec.Function: 'CreateHardLink'
Function group: 'File Management'
1.05 min.
Function group: 'Power Management'
1.25 min.Project
1.43 min.Function: 'CeWriteFile'
Function group: 'Remote Application Programming (RAPI)'
1.62 min.Example: 'Using InternetSetFilePointer when resuming interrupted download from the Internet'
1.82 min.Function: 'GetCurrentThread'
Function group: 'Process and Thread'
Google
Advertise here!