Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "STARTUPINFOEX" in [All]

kernel32

.

STARTUPINFO, PROCESS_INFORMATION, SECURITY_ATTRIBUTES, STARTUPINFOEX

.

Replace STARTUPINFO with STARTUPINFOEX to use UpdateProcThreadAttribute and extend CreateProcess. Make sure you include the flag EXTENDED_STARTUPINFO_PRESENT (0x00080000)

.

Save the attribute list to the STARTUPINFOEX struct, use UpdateProcThreadAttribute to fill in the now-reserved attribute entries.

.

        startupInfoEx.lpAttributeList = InitializeProcThreadAttributeList(attributeCount);

.

    and [STARTUPINFOEX]

.

Call InitializeProcThreadAttributeList before adding attributes. Save the result to a STARTUPINFOEX struct.

.

private static void SetNewProcessParent(ref STARTUPINFOEX startupInfoEx, int parentProcessId)

.

        startupInfoEx.lpAttributeList,

.

    private static void SetInheritableHandles(ref STARTUPINFOEX startupInfoEx, ICollection<IntPtr> inheritableHandles)

.

        startupInfoEx.lpAttributeList,

Structures

.

public struct STARTUPINFOEX

.

Structure STARTUPINFOEX

.

        startupInfoEx.StartupInfo.cb = Marshal.SizeOf(startupInfoEx);

.
Documentation
[STARTUPINFOEX] on MSDN
.

public struct STARTUPINFOEX

.

Structure STARTUPINFOEX

.

        startupInfoEx.StartupInfo.cb = Marshal.SizeOf(startupInfoEx);

.
Documentation
[STARTUPINFOEX] on MSDN

 
Access PInvoke.net directly from VS: