Thread: RunAsAdmin
View Single Post
Old 31st July 2011, 10:12   #6
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
If you don't need to wait for the process to exit, you don't want SEE_MASK_NOCLOSEPROCESS (0x00000040) for the 2nd member (fMask) of the SHELLEXECUTEINFO struct.

Stu
Afrow UK is offline   Reply With Quote