 |
RegSaveKey ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
The RegSaveKey function saves the specified key and all of its subkeys and values to a new file. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
LONG RegSaveKey(
HKEY hKey, // handle to key
LPCTSTR lpFile, // data file
LPSECURITY_ATTRIBUTES lpSecurityAttributes // SD
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER RegSaveKey IN advapi32;
INTEGER hKey,;
STRING lpFile,;
INTEGER lpSecurityAttributes
|
 |
 |
 |
| Parameters: |
 |
hKey
[in] Specifies a handle to the key where the save operation is to begin, or a predefined reserved handle value.
lpFile
[in] Pointer to a null-terminated string containing the name of the file in which the specified key and subkeys are saved.
lpSecurityAttributes
Windows NT/2000 or later: [in] Pointer to a structure that specifies a security descriptor for the new file. |
 |
 |
| Return value: |
 |
| If the function succeeds, the return value is 0 (ERROR_SUCCESS). |
 |
 |
| Word Index links for the RegSaveKey : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2001-09-04 12:00:00 | | Modified: | 2001-11-26 16:03:35 | Visited in last 7 days: 13 |