Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Duplicates a registry key's HKEY handle.
Syntax
HKEY SHRegDuplicateHKey(
[in] HKEY hkey
);
Parameters
[in] hkey
Type: HKEY
The HKEY handle to be duplicated.
Return value
Type: HKEY
Returns a duplicate of the handle specified in hkey.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 2000 Professional, Windows XP [desktop apps only] |
| Minimum supported server | Windows 2000 Server [desktop apps only] |
| Target Platform | Windows |
| Header | shlwapi.h |
| Library | Shlwapi.lib |
| DLL | Shlwapi.dll (version 5.0 or later) |