Im having problem with RegRestoreKey() function. I have previously saved some reg key with RegSaveKey(). Now while Im trying to restore those .dat files using RegRestoreKey() function is not being done..
Both SE_BACKUP_NAME and SE_RESTORE_NAME privilege has already set. what could be the possible reasons ??..
RegSaveKey is fine.. No issue with that.. cause I can see the file placed in my hdd.. and about RegRestoreKey. It's not returning ERROR_SUCCESS what it should be if its succeed.. and if i check with GetLastError with FormatMessage its saying "The operation complete successfully"...
Ok.. Its done now.. RegRestoreKey could not able to overwrite the keys.. I need to delete the key and then restore it.. Now there is no problem.. Anyways.. Thanks VictorN for your support.
Bookmarks