Retrieves the contents of the STARTUPINFO structure that was specified when the calling process was created
#include <WinAPISys.au3> _WinAPI_GetStartupInfo ( )
Search GetStartupInfo in MSDN Library.