Function Reference


_WinAPI_RegCopyTree

Recursively copies the subkeys and values of the source subkey to the destination key

#include <WinAPIReg.au3>
_WinAPI_RegCopyTree ( $hSrcKey, $sSrcSubKey, $hDestKey )

Parameters

$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.

Return Value

Success: 1.
Failure: 0 and sets the @error flag to non-zero, @extended flag may contain the system error code.

Remarks

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.

See Also

Search SHCopyKey in MSDN Library.