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
Support Forum
Download Visual Studio Add-In

Terms of Use
Privacy Policy

Search Results for "STARTUPINFOEX" in [All]

Structures

.

public struct STARTUPINFOEX

.

Public 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

kernel32

.

    ref lpStartupInfo as STARTUPINFOEX,

.

struct 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,


 
Access PInvoke.net directly from VS: