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
CeRegCreateKeyEx
..msdn    Add comment     W32 Constants      Translate this page
This function creates the specified key. If the key already exists in the registry, the function opens it.
Code examples:
Pocket PC: custom RAPI class for operating with the System Registry
Declaration:
LONG CeRegCreateKeyEx( 
  HKEY hKey, 
  LPCWSTR lpszSubKey, 
  DWORD Reserved, 
  LPWSTR lpszClass, 
  DWORD dwOptions, 
  REGSAM samDesired, 
  LPSECURITY_ATTRIBUTES lpSecurityAttributes, 
  PHKEY phkResult, 
  LPDWORD lpdwDisposition
);
FoxPro declaration:
DECLARE INTEGER CeRegCreateKeyEx IN rapi;
    INTEGER   hKey,;
    STRING    lpszSubKey,;
    INTEGER   Reserved,;
    STRING    lpszClass,;
    INTEGER   dwOptions,;
    INTEGER   samDesired,;
    INTEGER   lpSecurityAttr,;
    INTEGER @ phkResult,;
    INTEGER @ lpdwDisp

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

lpszSubKey
[in] Pointer to a null-terminated string specifying the name of a subkey that this function opens or creates. The subkey specified must be a subkey of the key identified by the hKey parameter.

lpszClass
[in] Pointer to a null-terminated string that specifies the class (object type) of this key.

dwOptions
[in] Ignored; set to 0 to ensure compatibility with future versions of Windows CE.

samDesired
[in] Ignored; set to 0 to ensure compatibility with future versions of Windows CE.

lpSecurityAttributes
[in] Set to NULL. Windows CE automatically assigns the key a default security descriptor.

phkResult
[out] Pointer to a variable that receives a handle to the opened or created key. When you no longer need the returned handle, call the CeRegCloseKey function to close it.
Return value:
ERROR_SUCCESS (0) indicates success.
My comment:
In Windows CE, the maximum length of a key name is 255 characters, not including the terminating NULL character. You can also only nest 16 levels of sub-keys in Windows CE.
Word Index links for the CeRegCreateKeyEx :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2004-06-28 14:10:43
Modified: 2004-06-28 14:13:45
Visited in last 7 days: 40
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.82.79.109)
13 sec.
Function group: 'Windows Networking'
25 sec.Function: 'CreateFileMapping'
39 sec.Function: 'JetBeginTransaction'
52 sec.Function: 'AddClipboardFormatListener'
1.08 min.Function: 'InternetGetConnectedState'
1.32 min.Function: 'AssignProcessToJobObject'
1.53 min.Function: 'CM_Request_Device_Eject_Ex'
1.78 min.Function: 'GdipCreateTexture'
2.02 min.Function: 'BitBlt'
2.25 min.Function: 'GlobalFree'
Google
Advertise here!