I need to perform certain operations on a process started with ShellExecuteEx
- like waiting for it, duplicating handles, querying and setting information etc. Now I am wondering if I can do all these things on the hProcess
member which is returned in the SHELLEXECUTEINFO
structure I pass to ShellExecuteEx
. Does anybody know this?
Does the process that called ShellExecuteEx
have rights like PROCESS_DUP_HANDLE
, SYNCHRONIZE
, PROCESS_SET_INFORMATION
, PROCESS_QUERY_INFORMATION
(and so on) by default, when using the returned hProcess
?