What are the default access rights for a process started with ShellExecuteEx?

Posted by Heinrich Ulbricht on Stack Overflow See other posts from Stack Overflow or by Heinrich Ulbricht
Published on 2010-04-01T08:55:04Z Indexed on 2010/04/01 9:13 UTC
Read the original article Hit count: 200

Filed under:
|
|

I need to perform certain operation 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. Does anybody know this? Do I have rights like PROCESS_DUP_HANDLE, SYNCHRONIZE, PROCESS_SET_INFORMATION, PROCESS_QUERY_INFORMATION and so on by default?

© Stack Overflow or respective owner

Related posts about Windows

Related posts about winapi