Hi If Do a CreateProcess with bInheritHandles set to true and I create a event with name/string in the Parent Process In the Child I do a OpenEvent Do I still have to do a DuplicateHandle to have access to the event handle
Hi If Do a CreateProcess with bInheritHandles set to true and I create a event with name/string in the Parent Process In the Child I do a OpenEvent Do I still have to do a DuplicateHandle to have access to the event handle
No you don't need to duplicate handle if you have enabled inheritance int the CreateEvent of parent process setting lpEventAttributes parameter. You need a duplicated handle if the event is created in the child process. For detailed info see[^].
No you don't need to duplicate handle if you have enabled inheritance int the CreateEvent of parent process setting lpEventAttributes parameter. You need a duplicated handle if the event is created in the child process. For detailed info see[^].