SHCopyKeyA (SHLWAPI.@)
DWORD SHCopyKeyA ( HKEY hKeySrc, LPCSTR lpszSrcSubKey, HKEY hKeyDst, DWORD dwReserved )
Copy a key and its values/sub keys to another location.
hKeySrc | [In] | Source key to copy from. |
lpszSrcSubKey | [In] | Sub key under hKeySrc, or NULL to use hKeySrc directly. |
hKeyDst | [In] | Destination key. |
dwReserved | [In] | Reserved, must be 0. |
Success: ERROR_SUCCESS. The key is copied to the destination key.
Failure: A standard Windows® error code.
If hKeyDst is a key under hKeySrc, this function will misbehave (It will loop until out of stack, or the registry is full). This bug is present in Win32 also.
Defined in "shlwapi.h".
Implemented in "dlls/shlwapi/reg.c". source.winehq.org/source/dlls/shlwapi/reg.c
Debug channel "shell".
Copyright © 2007 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Mar 2007.