Funktionreferenz


_WinAPI_RegCopyTree


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

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

Parameter

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

Rückgabewert

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

Bemerkungen

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.

Siehe auch

Suche nach SHCopyKey in der MSDN Bibliothek.