On Thu Sep 29 13:49:50 2022 +0000, Alexandre Julliard wrote:
What happens if the handle was duplicated?
mmm, didn't think of this, I think it depends on the flag REG_PROCESS_PRIVATE, if the flag is set the handle shouldn't be able to be duplicated, so when it's not I think I'll have to check if other process has access to the key somehow before deleting the key when key_close_handle is called.