[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
public struct STARTUPINFOEX
{
public STARTUPINFO StartupInfo;
public IntPtr lpAttributeList;
}
Structure STARTUPINFOEX
Public TODO
End Structure
None.
See CreateProcess and InitializeProcThreadAttributeList,UpdateProcThreadAttribute
Do not forget to set the size of your object after filling in the attributes, before calling CreateProcess
startupInfoEx.StartupInfo.cb = Marshal.SizeOf(startupInfoEx);