 |
SHRegEnumUSKey ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
Enumerates the subkeys of a user-specific key. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
DWORD SHRegEnumUSKey(
HUSKEY hUSKey,
DWORD dwIndex,
LPSTR pszName,
LPDWORD pcchName,
SHREGENUM_FLAGS enumRegFlags
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER SHRegEnumUSKey IN shlwapi;
INTEGER hUSKey,;
INTEGER dwIndex,;
STRING @ pszName,;
INTEGER @ pcchName,;
INTEGER enumRegFlags
|
 |
 |
 |
| Parameters: |
 |
hUSKey
Handle to the currently open user-specific key.
dwIndex
Index of the subkey to retrieve. This parameter should be zero for the first call and incremented for subsequent calls.
pszName
Address of a character buffer that receives the enumerated key name.
pcchName
Address of a DWORD that, on entry, contains the size of the buffer at pszName. On exit, this contains the number of characters that were copied to pszName.
enumRegFlags
One of the SHREGENUM_FLAGS that specifies the base key in which the enumeration should take place. |
 |
 |
| Return value: |
 |
| Returns 0 (ERROR_SUCCESS) if successful, or a nonzero error code defined in Winerror.h otherwise. |
 |
 |
| Word Index links for the SHRegEnumUSKey : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2001-09-02 12:00:00 | | Modified: | 2001-11-26 16:03:31 | Visited in last 7 days: 14 |