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
CeRegQueryInfoKey
..msdn    Add comment     W32 Constants      Translate this page
This function retrieves information about a specified registry key.
Code examples:
Pocket PC: custom RAPI class for operating with the System Registry
Declaration:
LONG CeRegQueryInfoKey( 
  HKEY hKey, 
  LPWSTR lpClass, 
  LPDWORD lpcbClass, 
  LPDWORD lpReserved, 
  LPDWORDlpcSubKeys, 
  LPDWORD lpcbMaxSubKeyLen, 
  LPDWORD lpcbMaxClassLen, 
  LPDWORD lpcValues, 
  LPDWORD lpcbMaxValueNameLen, 
  LPDWORD lpcbMaxValueLen, 
  LPDWORD lpcbSecurityDescriptor, 
  PFILETIME lpftLastWriteTime 
);
FoxPro declaration:
DECLARE INTEGER CeRegQueryInfoKey IN rapi;
    INTEGER   hKey,;
    STRING  @ lpClass,;
    INTEGER @ lpcbClass,;
    INTEGER   lpReserved,;
    INTEGER @ lpcSubKeys,;
    INTEGER @ lpcbMaxSubKeyLen,;
    INTEGER @ lpcbMaxClassLen,;
    INTEGER @ lpcValues,;
    INTEGER @ lpcbMaxValueNameLen,;
    INTEGER @ lpcbMaxValueLen,;
    INTEGER   lpcbSecurityDescr,;
    INTEGER   lpftLastWriteTime 
Parameters:
hKey
[in] Handle to a currently open key or predefined reserved handle value.

lpClass
[out] Pointer to a buffer that receives the key"s class name. This parameter can be NULL.

lpcbClass
[in, out] Pointer to a variable that specifies the size, in characters, of the buffer pointed to by the lpClass parameter.

lpReserved
[in] Reserved; set to NULL.

lpcSubKeys
[out] Pointer to a variable that receives the number of subkeys contained by the specified key. This parameter can be NULL.

lpcbMaxSubKeyLen
[out] Pointer to a variable that receives the length, in characters, of the key"s subkey with the longest name.

lpcbMaxClassLen
[out] Pointer to a variable that receives the length, in characters, of the longest string specifying a subkey class.

lpcValues
[out] Pointer to a variable that receives the number of values associated with the key. This parameter can be NULL.

lpcbMaxValueNameLen
[out] Pointer to a variable that receives the length, in characters, of the key"s longest value name.

lpcbMaxValueLen
[out] Pointer to a variable that receives the length, in bytes, of the longest data component among the values of the key. This parameter can be NULL.

lpcbSecurityDescriptor
[in] Not used; set to NULL.

lpftLastWriteTime
[in] Ignored; set to NULL.
Return value:
ERROR_SUCCESS indicates success (0).
Word Index links for the CeRegQueryInfoKey :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2004-06-24 01:18:47
Modified: 2004-06-24 01:22:24
Visited in last 7 days: 15
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.224.75.202)
3 sec.Function: 'GdipResetWorldTransform'
7 sec.Function: 'GdipDeleteBrush'
11 sec.
Function group: 'DNS Functions'
15 sec.Function: 'CeSeekDatabase'
22 sec.Function: 'GdipCreateHBITMAPFromBitmap'
26 sec.Function: 'GdipCreateFromHWND'
30 sec.Function: 'GdipGetImageDecodersSize'
34 sec.
Function group: 'GDI+ Image'
39 sec.Function: 'CreateSemaphore'
43 sec.Function: 'DPtoLP'
Google
Advertise here!