 |
|
|  |  |
 |
CeRegQueryInfoKey ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
This function retrieves information about a specified registry key. |
 |  | | Code examples: |  | |
|
 |  | | 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: |  | |  |  | | • |  | | Created: | 2004-06-24 01:18:47 | | Modified: | 2004-06-24 01:22:24 | Visited in last 7 days: 17 |
|
 |
 |
 |
 |
Copyright © 2001-2013
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.1.55-log), the Open Source standard SQL database,
AceHTML Freeware
Version 4, freeware HTML Editor of choice. Hosted by Korax Online Inc. |
 |
 |
|
 |