Hi,
I'm trying to copy registry key FROM HKLM\Software\W ow6432Node\XYZ TO HKLM\Software\X YZ using ShCopyKey() APIs. However security permissions are not copied on to new destination. I'm trying to use RegGetKeySecuri ty/RegSetKeySecuri ty to achieve this.
But RegGetKeySecuri ty()..if failing always with Error=14(ERROR_ OUTOFMEMORY). Ensure that correct arguments passed to RegGetKeySecuri ty(). What might be going wrong here.? Any tips please.
I'm trying to copy registry key FROM HKLM\Software\W ow6432Node\XYZ TO HKLM\Software\X YZ using ShCopyKey() APIs. However security permissions are not copied on to new destination. I'm trying to use RegGetKeySecuri ty/RegSetKeySecuri ty to achieve this.
But RegGetKeySecuri ty()..if failing always with Error=14(ERROR_ OUTOFMEMORY). Ensure that correct arguments passed to RegGetKeySecuri ty(). What might be going wrong here.? Any tips please.
Comment