Recursively copies the subkeys and values of the source subkey to the destination key
#include <WinAPIReg.au3>
_WinAPI_RegCopyTree ( $hSrcKey, $sSrcSubKey, $hDestKey )
$hSrcKey | Handle to the source key or one of the predefined registry keys ($HKEY_*). |
$sSrcSubKey | The subkey whose subkeys and values are to be copied. |
$hDestKey | Handle to the destination key. |
Success: | 1. |
Failure: | 0 and sets the @error flag to non-zero, @extended flag may contain the system error code. |
This function does not duplicate the security attributes of the keys and values that it copies.
Rather, all security attributes in the destination key are the default attributes.
Search SHCopyKey in MSDN Library.